/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0a0a0a;
    /* Layered subtle gradients for a richer background */
    background-image:
        radial-gradient(600px 600px at 0% 0%, rgba(255, 215, 0, 0.08) 0%, rgba(255, 215, 0, 0) 60%),
        radial-gradient(800px 800px at 100% 100%, rgba(255, 107, 53, 0.06) 0%, rgba(255, 107, 53, 0) 60%),
        linear-gradient(180deg, #0a0a0a 0%, #0a0a0a 30%, #0b0b0b 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid #333333;
    color: #ffffff;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 20px;
    cursor: pointer;
}

.nav-brand {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex: 0 0 auto;
    margin-right: 24px;
}

.brand-logo {
    height: 64px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    flex-wrap: nowrap;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link.active {
    color: #ffd700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nav-link:hover {
    color: #ffd700;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    cursor: pointer;
}

.language-selector select {
    background: #1a1a1a;
    color: #ffffff;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 8px 10px;
}

/* Mobile menu button (fallback, visibilità gestita anche via JS) */
.mobile-menu-btn {
    display: none;
}

/* Mobile drawer */
.mobile-nav {
    position: fixed;
    inset: 0 0 0 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    z-index: 1500;
}

.mobile-nav.open { display: block; }

.mobile-nav-content {
    position: absolute;
    top: 70px;
    right: 12px;
    left: 12px;
    background: #0e0e0e;
    border: 1px solid #222222;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-link {
    color: #ffffff;
    text-decoration: none;
    padding: 12px 10px;
    border-radius: 8px;
    background: #141414;
    border: 1px solid #222222;
}

.mobile-link:hover { background: #191919; }

.mobile-lang select {
    width: 100%;
    background: #1a1a1a;
    color: #ffffff;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 10px 12px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-steam {
    background-color: #ffd700;
    color: #000000;
}

.btn-steam:hover {
    background-color: #ffed4e;
    transform: translateY(-2px);
}

.btn-epic {
    background-color: #333333;
    color: #ffffff;
}

.btn-epic:hover {
    background-color: #444444;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding-top: 100px;
    position: relative;
    isolation: isolate; /* keep section effects behind content */
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 40% at 50% -10%, rgba(255, 215, 0, 0.05) 0%, rgba(255, 215, 0, 0) 60%),
        radial-gradient(40% 30% at 90% 110%, rgba(255, 107, 53, 0.04) 0%, rgba(255, 107, 53, 0) 60%);
    pointer-events: none;
    z-index: 0;
}

/* Fade-out al termine della sezione verso la successiva */
.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(26,26,26,0.0) 0%, rgba(10,10,10,1) 100%);
    pointer-events: none;
    z-index: 0;
}

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

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 20px;
}

.title-main {
    color: #ffd700;
    display: block;
}

.title-lost {
    color: #ffd700;
    display: inline;
    margin-right: 20px;
}

.title-dimension {
    color: #ffffff;
    display: inline;
}

.title-symbols {
    margin-top: 20px;
}

.symbol {
    color: #ffffff;
    font-size: 24px;
    margin: 0 10px;
}

.hero-subtitle {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-description {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.release-info {
    margin-bottom: 50px;
}

.release-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    color: #ffd700;
    font-weight: 600;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 14px;
    color: #cccccc;
    margin-top: 5px;
}

.release-dates {
    color: #cccccc;
    font-size: 16px;
}

.release-dates p {
    margin-bottom: 5px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: #dc2626;
    color: #ffffff;
    font-size: 18px;
    padding: 16px 32px;
}

.btn-primary:hover {
    background-color: #ef4444;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #333333;
    color: #ffffff;
    font-size: 16px;
    padding: 14px 28px;
}

.btn-secondary:hover {
    background-color: #444444;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: #ffd700;
    color: #000000;
    font-size: 16px;
    padding: 14px 28px;
}

.btn-accent:hover {
    background-color: #ffed4e;
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 100px 0;
    background:
        linear-gradient(180deg, #0a0a0a 0%, #0a0a0a 60%, #0b0b0b 100%);
    position: relative;
    isolation: isolate;
}

.features::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(50% 40% at 10% 10%, rgba(255, 215, 0, 0.05) 0%, rgba(255, 215, 0, 0) 60%);
    pointer-events: none;
    z-index: 0;
}

.features::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(11,11,11,0.0) 0%, rgba(17,17,17,1) 100%);
    pointer-events: none;
    z-index: 0;
}

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

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    color: #ffffff;
    margin-bottom: 20px;
}

.section-underline {
    width: 100px;
    height: 4px;
    background-color: #ff6b35;
    margin: 0 auto 30px;
}

.section-subtitle {
    text-align: center;
    color: #cccccc;
    font-size: 18px;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background-color: #1a1a1a;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #ffffff;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.feature-description {
    color: #cccccc;
    font-size: 16px;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background:
        linear-gradient(180deg, #111111 0%, #0f0f0f 100%);
    position: relative;
    isolation: isolate;
}

.screenshots::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 50% at 50% 0%, rgba(255, 215, 0, 0.04) 0%, rgba(255, 215, 0, 0) 60%);
    pointer-events: none;
    z-index: 0;
}

.screenshots::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(15,15,15,0.0) 0%, rgba(10,10,10,1) 100%);
    pointer-events: none;
    z-index: 0;
}

.screenshots > .container { position: relative; z-index: 1; }

.screenshot-gallery {
    margin-top: 60px;
}

.gallery-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.screenshot-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.screenshot-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.screenshot-video {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 12px;
}

.gallery-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background-color: rgba(255, 215, 0, 0.8);
    color: #000000;
}

.gallery-nav-left {
    left: -25px;
}

.gallery-nav-right {
    right: -25px;
}

/* Early Access Section */
.early-access {
    padding: 100px 0;
    background:
        linear-gradient(180deg, #0a0a0a 0%, #0a0a0a 60%, #0b0b0b 100%);
    position: relative;
    isolation: isolate;
}

.early-access::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 60% at 100% 20%, rgba(255, 107, 53, 0.05) 0%, rgba(255, 107, 53, 0) 60%);
    pointer-events: none;
    z-index: 0;
}

.early-access::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(11,11,11,0.0) 0%, rgba(0,0,0,1) 100%);
    pointer-events: none;
    z-index: 0;
}

.early-access > .container { position: relative; z-index: 1; }

.early-access-card {
    background-color: #1a1a1a;
    border: 1px solid #ffd700;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.card-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 20px;
}

.card-description {
    color: #cccccc;
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.early-access-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-weight: 500;
}

.feature-icon-small {
    width: 24px;
    height: 24px;
    background-color: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    flex-shrink: 0;
}

/* Footer */
.footer {
    background-color: #000000;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 10px;
}

.footer-subtitle {
    font-size: 16px;
    color: #ffd700;
    margin-bottom: 20px;
}

.footer-description {
    color: #cccccc;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.footer-actions {
    display: flex;
    gap: 15px;
}

.footer-btn {
    width: 50px;
    height: 50px;
    background-color: #333333;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-btn:hover {
    background-color: #ffd700;
    color: #000000;
    transform: translateY(-2px);
}

.footer-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 20px;
}

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

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

.footer-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    color: #ffd700;
}

.release-dates-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.release-date-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.platform {
    color: #ffd700;
    font-weight: 600;
}

.date {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 40px;
}

.tags-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 20px;
    text-align: center;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.tag {
    background-color: #ffd700;
    color: #000000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header { padding: 14px 0; }
    .header .container { gap: 12px; }
    .brand-logo { height: 48px; }
    .nav { gap: 12px; align-items: flex-end; }
    .mobile-toggle { display: inline-block; }
    .nav-link, .language-selector, .btn-steam, .btn-epic { display: none; }
    .language-selector select { padding: 6px 8px; font-size: 14px; }
    
    .hero-title {
        font-size: 48px;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .countdown-number {
        font-size: 36px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .early-access-features {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .brand-logo { height: 40px; }
    .header { padding: 12px 0; }
    
    .hero-title {
        font-size: 36px;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .countdown-number {
        font-size: 28px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
<<<<<<< HEAD
}
=======
}
>>>>>>> 280a8521d7ccc3f569206f2821126329d8cd96b0
