/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* Hero section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    background: radial-gradient(circle at 30% 40%, rgba(255, 107, 53, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    position: relative;
}

.hero .container {
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-content {
    margin-top: 80px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 500px;
}

.badge {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 1rem;
}

.desktop-only {
    display: flex;
}

.mobile-only {
    display: none !important;
}

.hero h1 {
    font-size: clamp(1.5rem, 5vw, 2.7rem);
    margin-bottom: 25px;
    margin-top: 10px;
    line-height: 1.2;
}

.hero p {
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 520px;
}

.screenshot {
    position: absolute;
    border-radius: 24px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.5s ease;
    overflow: hidden;
    border: 2px solid rgba(255, 107, 53, 0.2);
}

.screenshot-main img,
.main-screenshot {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 15px !important;
    display: block !important;
    background: #181818;
}

.screenshot-main {
    width: min(80%, 250px);
    aspect-ratio: 340 / 736;
    margin: 0 auto;
    margin-top: 60px;
    border-radius: 25px;
    border: none;
    background: none;
    box-shadow: 0 0 4px 2px var(--primary-dark), 0 0 4px 2px var(--primary-light), 0 0 10px 5px rgba(255, 255, 255, 0.2);
}

.download-buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.download-buttons .button.store-badge {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 12px 20px;
    font-size: 0.9rem;
}

/* Feature icons */
.feature-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    padding: 40px;
}

/* Player features enhanced */
.player-features-enhanced {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--light-color) 0%, var(--darker-color) 100%);
}

.player-feature-card {
    background: linear-gradient(145deg, var(--lighter-color), rgba(19, 19, 19, 0.8));
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 152, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.player-icon-enhanced {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-icon-enhanced i {
    font-size: 2.5rem;
    color: white;
}

@media (max-width: 1024px) {
    .desktop-only {
        display: none !important;
    }

    .badge {
        display: none;
    }

    .mobile-only {
        display: flex !important;
        order: 3;
        justify-content: center;
        margin-top: 10px;
    }

    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
        max-width: 800px;
        margin: 0 auto;
    }

    .hero-content {
        padding-right: 0;
        order: 1;
        width: 100%;
        min-height: auto;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-image {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        height: auto !important;
        margin: 50px auto 30px auto !important;
        margin-top: 150px !important;
        order: 2 !important;
        position: static !important;
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 6vw, 1.9rem);
        margin-bottom: 25px;
        margin-top: 0;
        text-align: center;
    }

    .hero p {
        font-size: clamp(1rem, 3vw, 1rem);
        line-height: 1.5;
        max-width: 600px;
        margin: 0 auto;
        margin-top: 0;
        text-align: center;
    }

    .download-buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 15px;
        margin: 40px auto 0 auto;
        flex-wrap: nowrap;
        order: 3;
        width: 100%;
        max-width: 500px;
    }

    .download-buttons .button {
        padding: 16px 28px;
        font-size: 0.8rem;
        min-width: 200px;
        justify-content: center;
    }

    .download-buttons .button .store-icon {
        margin-right: 5px;
    }

    .app-screenshots {
        height: auto;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .screenshot-main {
        position: relative;
        width: 200px;
        height: 432px;
        margin-top: -310px !important;
        left: auto;
        transform: none;
    }

    .screenshot-main img,
    .main-screenshot {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        border-radius: 15px !important;
        display: block !important;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
        order: 3;
        justify-content: center;
        margin-top: 20px;
    }

    .hero-content {
        order: 1;
        padding-right: 0;
        margin-bottom: 0;
        min-height: auto;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        align-items: center;
    }

    .hero-image {
        margin: 0 auto;
        margin-bottom: -30px !important;
    }

    .hero h1 {
        font-size: 1.8rem !important;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem !important;
        margin-bottom: -60px !important;
        max-width: 600px;
        margin: 0 auto;
    }

    .app-screenshots {
        height: auto;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .screenshot-main {
        position: static;
        width: 178px;
        height: 350px;
        aspect-ratio: 340 / 736;
        left: auto;
    }

    img.main-screenshot {
        aspect-ratio: 340 / 736;
        width: 100%;
        height: auto;
    }

    .download-buttons {
        justify-content: center;
        flex-wrap: nowrap;
        margin-top: 60px !important;
    }

    .download-buttons .button.store-badge {
        padding: 10px 20px;
        font-size: 0.95rem;
        min-width: 180px;
    }

    .features-enhanced {
        padding: 60px 0;
    }

    .features-enhanced .section-header {
        margin-bottom: 20px;
    }

    .features-grid-enhanced {
        margin-top: 0;
        gap: 25px;
    }

    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .section-header p {
        font-size: 1.1rem;
        margin-bottom: 0;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-top: 20px auto;
    }

    .hero {
        padding-top: 10px !important;
    }

    .hero h1 {
        font-size: 1.6rem !important;
        margin-bottom: 20px !important;
    }

    .hero p {
        font-size: 0.9rem !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 20px !important;
    }

    .hero-image {
        margin-top: 70px !important;
        margin-bottom: -50px !important;
    }

    .download-buttons {
        flex-direction: row !important;
        gap: 2px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        width: 100% !important;
        position: static !important;
    }

    .download-buttons .button {
        width: 45% !important;
        max-width: 180px !important;
        min-width: unset !important;
        padding: 12px 0 !important;
        font-size: 0.8rem !important;
        justify-content: center !important;
    }

    .mobile-only {
        gap: 10px !important;
    }
}

@media (max-width: 380px) {

    .hero-image {
        padding-top: 0;
        margin-top: 0;
    }

    .download-buttons {
        flex-direction: row;
        gap: 8px;
        margin-top: 0;
    }

    .download-buttons .button {
        width: 100%;
        max-width: 200px;
        padding: 10px 16px;
    }

    .screenshot-main {
        width: 90vw;
        max-width: 160px;
        height: auto;
        aspect-ratio: 340 / 736;
    }
}

@media (max-height: 667px) {

    .hero-content {
        padding-top: 0px auto !important;
    }

    .hero h1 {
        font-size: 1.7rem !important;
        margin-bottom: 70px !important;
    }

    .hero p {
        font-size: 1rem !important;
        margin-bottom: 210px !important;
    }

    .hero-image {
        display: none !important;
    }
}