/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fafafa;
    min-height: 100vh;
}

/* Header wrapper */
.header-wrap {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-logo {
    width: 140px;
    height: auto;
    transition: opacity 0.2s ease;
}

.header-logo:hover {
    opacity: 0.7;
}

/* Content wrapper */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Main section */
.main-section {
    text-align: center;
}

/* Main image */
.main-img {
    max-width: 100%;
    width: 700px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
    display: block;
    margin: 0 auto 40px auto;
}

.main-img:hover {
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
}

/* Download area using float-left */
.download-area {
    text-align: center;
    overflow: hidden; /* Clear float */
    display: inline-block;
}

.download-btn {
    float: left;
    display: block;
    text-decoration: none;
    margin-right: 30px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.download-btn:last-child {
    margin-right: 0;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-img {
    width: 160px;
    height: auto;
    display: block;
}

.main-img:hover {
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
}

/* Tablet responsive */
@media (max-width: 768px) {
    .header-wrap {
        padding: 15px 0;
    }
    
    .header-logo {
        width: 120px;
    }
    
    .content-wrapper {
        padding: 30px 15px;
    }
    
    .download-area {
        margin-bottom: 30px;
    }
    
    .download-btn {
        margin-right: 20px;
        padding: 12px;
    }
    
    .btn-img {
        width: 140px;
    }
    
    .main-img {
        width: 100%;
    }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .header-wrap {
        padding: 12px 0;
    }
    
    .header-logo {
        width: 100px;
    }
    
    .content-wrapper {
        padding: 20px 10px 80px;
    }
    
    .download-area {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #eee;
        padding: 15px;
        margin-bottom: 0;
        text-align: center;
        display: flex;
        justify-content: center;
        z-index: 100;
    }
    
    .download-btn {
        float: none;
        margin-right: 15px;
        padding: 8px;
        background: transparent;
        box-shadow: none;
        display: inline-block;
    }
    
    .download-btn:last-child {
        margin-right: 0;
    }
    
    .download-btn:hover {
        transform: none;
        box-shadow: none;
    }
    
    .btn-img {
        width: 120px;
    }
    
    .main-img {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 10px;
    }
}

/* Small mobile responsive */
@media (max-width: 320px) {
    .header-logo {
        width: 80px;
    }
    
    .download-area {
        padding: 10px;
    }
    
    .download-btn {
        margin-right: 10px;
        padding: 5px;
    }
    
    .btn-img {
        width: 100px;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .download-btn:hover,
    .header-logo:hover,
    .main-img:hover {
        transform: none;
        opacity: 1;
    }
    
    .download-btn:active {
        transform: scale(0.95);
    }
}