:root {
    --primary-dark: #000000;
    --secondary-dark: #0a0a0a;
    --accent-red: #bd212f;
    --accent-gold: #bda65f;
    --text-light: #f0f0f0;
    --text-gray: #b0b0c0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000000;
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(189, 166, 95, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(189, 166, 95, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(189, 166, 95, 0.04) 0%, transparent 80%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            rgba(189, 166, 95, 0.01) 40px,
            rgba(189, 166, 95, 0.01) 80px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 40px,
            rgba(189, 166, 95, 0.008) 40px,
            rgba(189, 166, 95, 0.008) 80px
        ),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 200px 200px, 200px 200px, 100% 100%;
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(189, 166, 95, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(189, 166, 95, 0.04) 0%, transparent 50%);
    filter: blur(100px);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .download-hero .container {
        text-align: center;
    }
}

/* Header & Navigation */
header {
    background-color: rgba(0, 0, 0, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(189, 166, 95, 0.2);
    backdrop-filter: blur(10px);
    margin: 0;
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
    min-height: 80px;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    color: var(--text-light);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-toggle .fa-bars {
    opacity: 1;
}

.mobile-menu-toggle .fa-times {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.mobile-menu-toggle.active .fa-bars {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg);
}

.mobile-menu-toggle.active .fa-times {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Ensure nav-wrapper is visible on desktop */
@media (min-width: 769px) {
    .nav-wrapper {
        position: static;
        transform: none;
        height: auto;
        width: auto;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        border: none;
        padding: 0;
        overflow: visible;
    }
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    flex-wrap: nowrap;
    white-space: nowrap;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
    white-space: nowrap;
    display: inline-block;
}

/* Reduce font size slightly for languages with longer text */
@media (min-width: 769px) and (max-width: 1200px) {
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .nav-links li {
        margin-left: 20px;
    }
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.language-switcher {
    position: relative;
    margin-left: 30px;
}

.language-switcher {
    display: flex;
    align-items: center;
}

.language-switcher select {
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-light);
    border: 1px solid rgba(189, 166, 95, 0.5);
    padding: 8px 35px 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23bda65f' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 35px;
}

.language-switcher select:focus {
    outline: none;
    border-color: var(--accent-gold);
    background-color: rgba(0, 0, 0, 0.9);
}

.language-switcher select option {
    background: rgba(0, 0, 0, 0.95);
    color: var(--text-light);
    padding: 8px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('../images/code-vein-2-bound-by-blood.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    padding: 40px 0;
    text-align: left;
}

.hero-logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-bottom: 5px;
    display: block;
    margin-left: -20px;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
    line-height: 1.1;
    font-family: 'Times New Roman', 'Georgia', serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    filter: contrast(1.1);
}

.hero-subtitle {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-tagline {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    display: block;
    margin-left: -20px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.hero-release-date {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 50px;
    margin-top: 10px;
    margin-left: 0px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-shadow: 0 5px 8px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
}


.release-info {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    text-align: left;
    line-height: 1.8;
}

.release-info strong {
    color: var(--accent-gold);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
    justify-content: flex-start;
    align-items: stretch;
}

/* Make watch trailer button go to new line for all languages - width based on content */
.hero-buttons .btn-secondary {
    flex-basis: auto;
    width: fit-content;
    min-width: auto;
    max-width: none !important;
    align-self: flex-start;
    flex-shrink: 0;
    margin-left: 0 !important;
    text-align: left !important;
    justify-content: flex-start !important;
    padding: 15px 25px;
}

.btn {
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1.1rem;
    min-width: 200px;
    text-align: center;
    white-space: normal;
    flex-shrink: 0;
    width: auto;
    max-width: 100%;
    word-wrap: break-word;
    line-height: 1.4;
}

/* Allow buttons to expand for longer text on desktop */
@media (min-width: 769px) {
    .btn-primary {
        min-width: auto;
        padding-left: 30px;
        padding-right: 30px;
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.4;
        text-align: center;
    }
    
    /* Ensure buttons can accommodate longer text */
    .btn-primary,
    .btn-download-large {
        min-width: fit-content;
        max-width: none;
    }
    
    /* Watch Trailer button - width based on content */
    .hero-buttons .btn-secondary {
        width: fit-content;
        min-width: auto;
        max-width: none;
        text-align: left;
        justify-content: flex-start;
        padding: 15px 25px;
    }
    
    /* French: Watch trailer button with larger font */
    html[lang="fr"] .hero-buttons .btn-secondary {
        padding: 15px 30px;
        font-size: 1.15rem;
    }
    
    /* For download buttons specifically */
    .download-button-wrapper .btn-primary {
        padding: 15px 40px;
        min-width: 250px;
        white-space: normal;
        line-height: 1.5;
    }
}

.btn-primary {
    background-color: var(--accent-red);
    color: white;
    border: 2px solid var(--accent-red);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(189, 33, 47, 0.3);
}

.btn-primary:hover {
    background-color: #9a1a25;
    border-color: #9a1a25;
    color: white;
}

.btn-primary:active {
    background-color: #7a141c;
    border-color: #7a141c;
    transform: translateY(-1px) scale(0.98);
}

.btn-primary i,
.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    justify-content: flex-start;
    text-align: left;
    width: fit-content !important;
    min-width: auto !important;
}

.btn-secondary:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

.btn-secondary:active {
    background-color: #9a8a4f;
    border-color: #9a8a4f;
    color: var(--primary-dark);
    transform: scale(0.98);
}

.btn i {
    margin-right: 10px;
    font-size: 1.2rem;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: 0;
    left: 0;
}

/* About Section */
.section {
    padding: 100px 0;
}

.about-section {
    background-color: rgba(0, 0, 0, 0.8);
    background-image: url('../images/code-vein-2-story-bg.webp');
    background-size: 105%;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 0;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--accent-gold);
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: var(--accent-red);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-gray);
}

.highlight-gold {
    color: var(--accent-gold);
    font-weight: 600;
}

.platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.platform-tag {
    background-color: var(--secondary-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(189, 166, 95, 0.3);
}

.about-image {
    flex: 1.5;
    position: relative;
    overflow: visible;
    padding: 0;
    background: transparent;
    transition: transform 0.5s ease;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--accent-gold);
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s;
    border-radius: 0;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image:hover::before {
    opacity: 0.6;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 0;
    box-shadow: 0 25px 70px rgba(189, 166, 95, 0.2), 0 20px 60px rgba(0, 0, 0, 0.9);
    border-radius: 0;
    object-fit: cover;
    filter: brightness(1.05) contrast(1.05);
    border: 2px solid rgba(189, 166, 95, 0.1);
    transition: transform 0.5s ease;
}

/* Features Section */
#features {
    background-color: rgba(0, 0, 0, 0.8);
    background-image: url('../images/code-vein-2-story-bg2.webp');
    background-size: 105%;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

#features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 0;
}

#features .container {
    position: relative;
    z-index: 1;
}

.features-content {
    max-width: 1400px;
    margin: 50px auto 0;
}

.feature-block {
    margin-bottom: 100px;
}

.feature-block:last-child {
    margin-bottom: 0;
}

/* Все блоки одинаковые - изображение слева, текст справа */
.feature-block {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Четные блоки - текст слева, изображение справа */
.feature-block:nth-child(even) {
    grid-template-columns: 1fr 1.8fr;
}

.feature-block:nth-child(even) .feature-image {
    order: 2;
}

.feature-block:nth-child(even) .feature-text-block {
    order: 1;
}

.feature-image {
    position: relative;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}


.feature-block:hover .feature-image img {
    transform: scale(1.02);
}

.feature-text-block {
    position: relative;
    z-index: 1;
}

.feature-heading {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-light);
    font-weight: 600;
    padding: 15px 20px;
    position: relative;
    display: inline-block;
    width: 100%;
    z-index: 2;
}

.feature-heading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--accent-gold);
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
}


.feature-text-block p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-gray);
    line-height: 1.9;
}

.feature-text-block p:last-child {
    margin-bottom: 0;
}

.feature-text-block p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-gray);
    line-height: 1.9;
}

.feature-text-block p:last-child {
    margin-bottom: 0;
}

/* Release & Download Section */
.download-section {
    background-color: rgba(0, 0, 0, 0.8);
    background-image: url('../images/code-vein-2-key-features-background.webp');
    background-size: 105%;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    text-align: center;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    pointer-events: none;
    z-index: 0;
}

.download-section .container {
    position: relative;
    z-index: 1;
}

.download-section .hero-buttons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.download-section .btn {
    width: auto;
    min-width: 280px;
    max-width: none;
    flex: 0 1 auto;
    white-space: normal;
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .download-section .btn {
        width: 100%;
        min-width: auto;
        max-width: 100%;
        flex: 1 1 auto;
        font-size: 1rem;
        padding: 12px 20px;
    }
}

/* Download Hero Section (Minecraft-style) */
.download-hero {
    background-color: rgba(0, 0, 0, 0.9);
    background-image: url('../images/code-vein-2-key-features-background.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 150px 0;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.download-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 768px) {
    .download-hero::before {
        background: rgba(0, 0, 0, 0.8);
    }
}

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

.download-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    justify-items: center;
}

.download-hero-text {
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.download-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.download-hero-title .title-main {
    display: block;
    white-space: nowrap;
    text-align: center;
}

.download-hero-title .title-platform {
    display: block;
    margin-top: 15px;
    font-size: 0.9em;
    color: var(--accent-gold);
    text-align: center;
}

.download-hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.download-button-wrapper {
    margin-bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-button-wrapper .btn-primary {
    padding: 15px 45px;
    font-size: 1rem;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
    text-align: center;
    min-width: 300px;
    max-width: 650px;
    min-height: auto;
    height: auto;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-width: 1px;
    font-weight: 600;
}

.download-button-wrapper .btn-primary i {
    flex-shrink: 0;
    font-size: 1.1rem;
}

.download-button-wrapper .btn-primary span {
    display: inline-block;
    text-align: center;
    word-break: break-word;
}

/* For languages with longer text, reduce font size slightly */
@media (min-width: 769px) {
    .download-button-wrapper .btn-primary {
        font-size: clamp(0.9rem, 1.5vw, 1.1rem);
        padding: 15px 50px;
    }
}

/* Increase button size for languages with longer text: Deutsch, Română, हिन्दी */
html[lang="de"] .download-button-wrapper .btn-primary,
html[lang="ro"] .download-button-wrapper .btn-primary,
html[lang="hi"] .download-button-wrapper .btn-primary {
    min-width: 350px;
    max-width: 750px;
    padding: 15px 55px;
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
}

/* Increase download buttons in Download Code Vein II section on home page for languages: Deutsch, Română, हिन्दी */
html[lang="de"] .download-section .hero-buttons .btn-primary,
html[lang="ro"] .download-section .hero-buttons .btn-primary,
html[lang="hi"] .download-section .hero-buttons .btn-primary {
    min-width: 450px;
    max-width: 900px;
    padding: 15px 70px;
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
}

.btn-download-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--accent-red);
    color: white;
    padding: 20px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 300px;
    max-width: 100%;
    box-shadow: 0 10px 30px rgba(189, 33, 47, 0.3);
    position: relative;
    overflow: visible;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Increase button width for French language (longer text) */
html[lang="fr"] .btn-download-large,
html[lang="fr"] .download-section .btn {
    min-width: 360px;
    padding: 20px 45px;
}

/* French: Watch trailer button on one line, width based on content */
html[lang="fr"] .hero-buttons .btn-secondary {
    white-space: nowrap;
    width: fit-content;
    min-width: auto;
    max-width: none !important;
    padding: 15px 30px;
    font-size: 1.15rem;
}

/* Finnish: Watch trailer button below download buttons, aligned to left, width based on content */
html[lang="fi"] .hero-buttons .btn-secondary {
    flex-basis: auto;
    order: 3;
    margin-top: 0;
    margin-left: 0;
    width: fit-content;
    min-width: auto;
    max-width: none;
    align-self: flex-start;
    text-align: left;
    justify-content: flex-start;
    padding: 15px 25px;
}

/* Greek: Reduce button thickness, watch trailer on one line and below */
html[lang="el"] .btn-primary,
html[lang="el"] .btn-secondary {
    font-weight: 600;
    border-width: 1px;
}

html[lang="el"] .hero-buttons .btn-secondary {
    white-space: nowrap;
    flex-basis: auto;
    order: 3;
    margin-top: 0;
    margin-left: 0;
    width: fit-content;
    min-width: auto;
    max-width: none;
    align-self: flex-start;
    text-align: left;
    justify-content: flex-start;
    padding: 15px 25px;
}

/* Hungarian: Watch trailer button on one line, aligned to left, width based on content */
html[lang="hu"] .hero-buttons .btn-secondary {
    white-space: nowrap;
    width: fit-content;
    min-width: auto;
    max-width: none;
    margin-left: 0;
    text-align: left;
    justify-content: flex-start;
    padding: 15px 25px;
}

/* Arabic: Watch trailer button below download buttons, aligned to left, width based on content */
html[lang="ar"] .hero-buttons .btn-secondary {
    flex-basis: auto;
    order: 3;
    margin-top: 0;
    margin-left: 0;
    width: fit-content;
    min-width: auto;
    max-width: none;
    align-self: flex-start;
    text-align: left;
    justify-content: flex-start;
    padding: 15px 25px;
}

.btn-download-large:hover {
    background-color: #9a1a25;
    border-color: #9a1a25;
}

.btn-download-large i,
.btn-download-large span {
    position: relative;
    z-index: 1;
}

.btn-download-large:active {
    background-color: #7a141c;
    transform: translateY(-1px);
}

.btn-download-large i {
    font-size: 1.3rem;
}

.download-alternative {
    font-size: 1rem;
    color: var(--text-gray);
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-alternative a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s;
}

.download-alternative a:hover {
    color: var(--accent-red);
    text-decoration: underline;
}

.download-hero-image {
    position: relative;
    border-radius: 0;
    overflow: visible;
    margin: 0 auto;
    max-width: 100%;
    padding: 0;
    background: transparent;
    transition: transform 0.5s ease;
}

.download-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 0;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 70px rgba(189, 166, 95, 0.2), 0 20px 60px rgba(0, 0, 0, 0.9);
    border-radius: 0;
    object-fit: cover;
    filter: brightness(1.05) contrast(1.05);
    border: none;
    outline: 1px solid var(--accent-gold);
    outline-offset: 0;
}

.download-hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* Download Features Section */
.download-features-section {
    background-color: var(--secondary-dark);
}

.download-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.download-feature-item {
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(189, 166, 95, 0.2);
    transition: all 0.3s;
}

.download-feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(189, 166, 95, 0.5);
    box-shadow: 0 10px 30px rgba(189, 33, 47, 0.2);
}

.download-feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-red), rgba(189, 33, 47, 0.7));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 5px 20px rgba(189, 33, 47, 0.4);
}

.download-feature-item h3 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.download-feature-item p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive for Download Pages */
@media (max-width: 992px) {
    .download-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .download-hero-title {
        font-size: 2.5rem;
    }
    
    .download-hero-title .title-main {
        font-size: 1em;
    }
    
    .download-hero-title .title-platform {
        font-size: 0.85em;
    }
    
    .btn-download-large {
        min-width: 100%;
        font-size: 1.2rem;
        padding: 20px 40px;
    }
    
    .download-hero-image img {
        transform: perspective(1000px) rotateY(0deg);
    }
    
    .download-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .download-hero {
        padding: 100px 0 50px;
        min-height: 100vh !important;
        height: auto !important;
        background-attachment: scroll;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center !important;
        position: relative;
        z-index: 1;
        margin-bottom: 0;
        overflow: visible;
    }
    
    .download-hero .container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center !important;
        min-height: calc(100vh - 100px);
    }
    
    .download-hero * {
        text-align: center !important;
    }
    
    .download-hero-text,
    .download-hero-title,
    .download-hero-subtitle,
    .download-button-wrapper .btn-primary {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        white-space: normal;
        line-height: 1.5;
        padding: 15px 25px;
        font-size: 1rem;
        display: inline-flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .download-button-wrapper .btn-primary i {
        flex-shrink: 0;
    }
    
    .download-button-wrapper,
    .download-alternative {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .download-hero-content {
        grid-template-columns: 1fr !important;
        gap: 30px;
        text-align: center !important;
        max-width: 100%;
        margin: 0 auto !important;
        padding: 20px 0;
        width: 100%;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .download-hero-text {
        order: 1;
        padding: 0;
        align-items: center !important;
        width: 100%;
        max-width: 100%;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center;
        text-align: center !important;
    }
    
    .download-hero-text > * {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .download-hero-image {
        order: 2;
        margin: 30px auto 0;
        max-width: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 1;
        overflow: visible;
    }
    
    .download-hero-image::before {
        border-radius: 0;
    }
    
    .download-hero-image img {
        transform: none;
        border-radius: 0;
        max-height: 300px;
        object-fit: cover;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }
    
    .download-hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
        text-align: center !important;
        width: 100%;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .download-hero-title .title-main {
        font-size: 1em;
        line-height: 1.2;
        white-space: normal;
        text-align: center !important;
        width: 100%;
    }
    
    .download-hero-title .title-platform {
        font-size: 0.75em;
        margin-top: 8px;
        text-align: center !important;
        width: 100%;
    }
    
    .download-hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
        line-height: 1.6;
        text-align: center !important;
        max-width: 100%;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100%;
    }
    
    .download-button-wrapper {
        margin-bottom: 20px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .btn-download-large {
        font-size: 1rem;
        padding: 16px 28px;
        gap: 10px;
        min-width: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 8px;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .btn-download-large i {
        font-size: 1rem;
    }
    
    .btn-download-large span {
        font-size: 0.95em;
        letter-spacing: 0.03em;
    }
    
    .download-alternative {
        font-size: 0.85rem;
        line-height: 1.6;
        text-align: center !important;
        margin-top: 15px;
        width: 100%;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .download-alternative a {
        display: inline-block !important;
        margin-top: 5px;
        padding: 8px 15px;
        background-color: rgba(189, 166, 95, 0.1);
        border: 1px solid rgba(189, 166, 95, 0.3);
        border-radius: 6px;
        transition: all 0.3s;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .download-alternative a:hover {
        background-color: rgba(189, 166, 95, 0.2);
        border-color: rgba(189, 166, 95, 0.5);
    }
    
    .download-features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .download-hero {
        padding: 60px 0 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .download-hero .container {
        padding: 0 15px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .download-hero-content {
        gap: 0;
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .download-hero-text {
        padding: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .download-hero-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .download-hero-title .title-main {
        font-size: 0.95em;
        text-align: center;
    }
    
    .download-hero-title .title-platform {
        font-size: 0.7em;
        margin-top: 6px;
        text-align: center;
    }
    
    .download-hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 20px;
        text-align: center;
        width: 100%;
    }
    
    .btn-download-large {
        font-size: 0.95rem;
        padding: 14px 24px;
        gap: 8px;
        width: 100%;
        margin: 0 auto;
    }
    
    .btn-download-large i {
        font-size: 0.95rem;
    }
    
    .btn-download-large span {
        font-size: 0.9em;
    }
    
    .download-alternative {
        font-size: 0.8rem;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .download-alternative a {
        padding: 6px 12px;
        font-size: 0.85rem;
        text-align: center;
    }
    
    .download-hero-image {
        margin-top: 25px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .download-hero-image img {
        max-height: 250px;
        width: 100%;
        margin: 0 auto;
        display: block;
    }
    
    .download-feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .download-feature-item {
        padding: 20px 15px;
    }
    
    .download-feature-item h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .download-feature-item p {
        font-size: 0.9rem;
    }
}

.system-reqs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.req-box {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 35px;
    border-radius: 8px;
    border: 1px solid rgba(189, 166, 95, 0.3);
    display: flex;
    flex-direction: column;
    min-height: 400px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.req-box h3 {
    color: var(--accent-gold);
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(189, 166, 95, 0.3);
    min-height: auto;
    display: block;
}

.req-box ul {
    list-style: none;
    flex: 1;
    padding: 0;
    margin: 0;
}

.req-box li {
    margin-bottom: 15px;
    color: var(--text-gray);
    display: block;
    line-height: 1.8;
    padding-left: 0;
}

.req-box li strong {
    color: var(--text-light);
    font-weight: 600;
    display: inline;
    margin-right: 4px;
}

/* Better text wrapping for French and other languages */
html[lang="fr"] .req-box li strong {
    min-width: 140px;
}

.req-box li {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Gallery Section */
.gallery {
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}

.gallery-container {
    position: relative;
    max-width: 1400px;
    margin: 50px auto 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.gallery-slides-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
    cursor: pointer;
    transform: translateX(0);
    z-index: 1;
}

.gallery-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
    position: relative;
}

.gallery-slide img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.gallery-slide:hover img {
    transform: scale(1.02);
}

.gallery-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
    width: 100%;
    position: absolute;
    bottom: -50px;
    left: 0;
}

.gallery-arrow {
    width: auto;
    height: auto;
    background-color: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.3s;
    padding: 10px;
}

.gallery-arrow img {
    width: 50px;
    height: auto;
    display: block;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
}

.gallery-arrow:hover {
    transform: scale(1.15);
}

.gallery-arrow:hover img {
    opacity: 1;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-dot:hover {
    transform: scale(1.3);
}

.gallery-dot.active {
    background-color: var(--accent-red);
    width: 16px;
    height: 16px;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 1;
}

.gallery-modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.modal-image-wrapper {
    position: relative;
    display: inline-block;
    flex: 1;
    max-width: calc(100% - 120px);
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.4s ease;
    display: block;
    width: 100%;
    height: auto;
}

.modal-image-wrapper {
    position: relative;
    display: inline-block;
}

.gallery-modal-nav {
    position: relative;
    background-color: transparent;
    border: none;
    width: auto;
    height: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    padding: 10px;
    z-index: 2010;
    flex-shrink: 0;
}

.gallery-modal-nav img {
    width: 50px;
    height: auto;
    display: block;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
}

.gallery-modal-nav:hover {
    transform: scale(1.1);
}

.gallery-modal-nav:hover img {
    opacity: 1;
    transform: scale(1.2);
}

.gallery-modal-prev {
    left: -20px;
}

.gallery-modal-next {
    right: -20px;
}

/* Characters Section */
.characters-section {
    background-color: rgba(0, 0, 0, 0.95);
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(189, 33, 47, 0.15) 0%, transparent 70%);
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.character-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: rgba(10, 10, 10, 0.8);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(189, 166, 95, 0.2);
}

.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(189, 33, 47, 0.4);
    border-color: rgba(189, 166, 95, 0.5);
}

.character-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.character-card:hover img {
    transform: scale(1.05);
}

.character-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7), transparent);
    color: var(--accent-gold);
    padding: 20px 15px 15px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.character-card:hover .character-name {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
}

.scroll-to-top:hover img {
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: #000000;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(189, 33, 47, 0.1) 0%, transparent 50%);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(189, 166, 95, 0.2);
    position: relative;
    z-index: 1;
    margin-top: auto;
}

/* Hide footer on download pages */
body:has(.download-hero) footer {
    display: none !important;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    align-items: start;
}

.footer-links h3 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    color: var(--text-gray);
    font-size: 1.5rem;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-links a svg {
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: middle;
}

.social-links a:hover {
    color: var(--accent-red);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .about-content {
        flex-direction: column-reverse;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .feature-block {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px;
    }
    
    .feature-block .feature-text-block {
        max-width: 100% !important;
        text-align: left !important;
    }
    
    .feature-block .feature-heading::after {
        left: 0 !important;
        transform: none !important;
    }
    
    .system-reqs {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .gallery-container {
        max-width: 100%;
    }
    
    .gallery-modal-prev {
        left: -30px;
    }
    
    .gallery-modal-next {
        right: -30px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0;
        margin: 0;
    }
    
    .nav-container {
        padding: 10px 20px;
        min-height: 60px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-wrapper {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: calc(100vh - 60px);
        background-color: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-top: 1px solid rgba(189, 166, 95, 0.2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-wrapper.active {
        transform: translateX(0);
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0 20px;
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(189, 166, 95, 0.1);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
    }
    
    .nav-links a:hover {
        color: var(--accent-gold);
        padding-left: 10px;
        transition: all 0.3s;
    }
    
    .language-switcher {
        margin: 20px 20px 0;
        width: calc(100% - 40px);
    }
    
    .language-switcher select {
        width: 100%;
    }
    
    .hero {
        padding-top: 80px;
        background-attachment: scroll;
    }
    
    .download-hero {
        padding-top: 80px;
        margin-top: 0;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        min-width: 100%;
        width: 100%;
    }
    
    /* Watch trailer button on mobile - full width with centered text */
    .hero-buttons .btn-secondary {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        flex-basis: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 15px 25px;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .about-section,
    #features {
        background-attachment: scroll;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    footer {
        position: relative;
        z-index: 2;
        margin-top: 0;
        padding: 40px 0 20px;
    }
    
    /* Hide footer on download pages on mobile */
    body:has(.download-hero) footer {
        display: none !important;
    }
    
    /* Alternative selector for browsers that don't support :has() */
    .download-hero ~ footer,
    .download-hero + footer {
        display: none !important;
    }
    
    .characters-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .gallery-modal-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .gallery-modal-prev {
        left: 10px;
    }
    
    .gallery-modal-next {
        right: 10px;
    }
    
    .system-reqs {
        grid-template-columns: 1fr;
    }
    
    .req-box {
        min-height: auto;
    }
    
    .gallery-container {
        max-width: 100%;
        gap: 10px;
    }
    
    .gallery-arrow img {
        width: 40px;
    }
    
    .modal-image-wrapper {
        max-width: calc(100% - 80px);
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .download-section .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .download-section .btn {
        width: 100%;
        min-width: auto;
        max-width: 100%;
        flex: 1 1 auto;
        font-size: 0.95rem;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-logo {
        max-width: 100%;
        margin-left: 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .characters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gallery-modal-prev {
        left: 5px;
    }
    
    .gallery-modal-next {
        right: 5px;
    }
    
    .modal-image-wrapper {
        max-width: calc(100% - 60px);
    }
    
    .gallery-modal-nav img {
        width: 30px;
    }
    
    .system-reqs {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .req-box {
        padding: 25px;
    }
    
    .feature-heading {
        font-size: 1.5rem;
        padding: 12px 15px;
    }
    
    .about-image::before,
    .feature-heading::before {
        border-width: 1.5px;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-links li {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .faq-item {
        padding: 20px !important;
    }
    
    .faq-item h3 {
        font-size: 1.1rem !important;
    }
}
