* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff006e;
    --accent-color: #8338ec;
    --dark-bg: #0a0e27;
    --darker-bg: #050714;
    --card-bg: #1a1f3a;
    --text-primary: #ffffff;
    --text-secondary: #b8b8d4;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--darker-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-home-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(131, 56, 236, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 0, 110, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.glitch {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-family: 'Roboto', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.pulse {
    animation: pulse-button 2s infinite;
}

@keyframes pulse-button {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Countdown */
.countdown-container {
    margin-top: 3rem;
}

.coming-soon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--card-bg);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    min-width: 100px;
    text-align: center;
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-updates-cta {
    margin-top: 1.5rem;
    font-size: 1.15rem;
}

.hero-updates-cta-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 212, 255, 0.4);
    transition: color 0.2s, border-color 0.2s;
}

.hero-updates-cta-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Updates (live vs next) */
.updates {
    padding: 100px 0;
    background: var(--darker-bg);
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.update-panel {
    background: var(--card-bg);
    padding: 2rem 2rem 2.25rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-align: left;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.update-panel:hover {
    border-color: rgba(0, 212, 255, 0.45);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.update-panel--next {
    border-color: rgba(131, 56, 236, 0.25);
}

.update-panel--next:hover {
    border-color: rgba(131, 56, 236, 0.5);
}

.update-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--dark-bg);
    background: linear-gradient(135deg, var(--primary-color), #00a8cc);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.update-badge--next {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

.update-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.35;
}

.version-tag {
    display: inline-block;
    font-size: 0.85em;
    font-weight: 700;
    color: var(--primary-color);
    vertical-align: middle;
}

.version-tag--muted {
    color: var(--text-secondary);
    font-weight: 600;
}

.update-meta {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.update-list {
    margin: 0 0 1.5rem;
    padding-left: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.update-list li {
    margin-bottom: 0.65rem;
}

.update-list li strong {
    color: var(--text-primary);
}

.inline-code {
    font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.88em;
    background: rgba(0, 212, 255, 0.12);
    padding: 0.12em 0.4em;
    border-radius: 6px;
    color: var(--primary-color);
}

.update-cta {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.update-footnote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--dark-bg);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Hide Screens & video: set EXUDIZ_CONFIG.showMediaSection = true in index.html <head> */
html.no-media-section #media {
    display: none !important;
}

html.no-media-section .site-link-media {
    display: none !important;
}

/* Media (screenshots + video) */
.media-showcase {
    padding: 100px 0;
    background: var(--darker-bg);
    border-top: 1px solid rgba(0, 212, 255, 0.12);
}

.section-subtitle--tight {
    margin-bottom: 1.75rem;
}

.media-layout {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.media-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.media-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.media-chip:hover {
    transform: translateY(-2px);
}

.media-chip--yt {
    background: linear-gradient(135deg, #ff0000, #b30000);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.22);
}

.media-chip--ig {
    background: linear-gradient(135deg, #f09433, #dc2743, #bc1888);
    color: #fff;
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.22);
}

.media-spotlight {
    width: 100%;
}

.media-frame {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.28);
    background: var(--card-bg);
}

.media-frame--video {
    aspect-ratio: 16 / 9;
}

.media-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.media-frame-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.5rem;
    text-align: center;
}

.media-frame-placeholder-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.media-frame-placeholder-text {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 26rem;
}

.media-spotlight-caption {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    margin: 0.65rem 0 0;
    line-height: 1.45;
}

.media-section {
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.12);
}

.media-section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    text-align: center;
    margin: 0 0 1rem;
    letter-spacing: 0.02em;
}

.media-section-lead {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: -0.25rem auto 1.25rem;
    max-width: 36rem;
}

.media-row {
    display: grid;
    gap: 1.25rem;
}

.media-row--2 {
    grid-template-columns: repeat(2, 1fr);
}

.media-row--4 {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
    .media-row--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 600px) {
    .media-row--2,
    .media-row--4 {
        grid-template-columns: 1fr;
    }
}

.media-card {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    background: var(--card-bg);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.media-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 28px rgba(0, 212, 255, 0.1);
}

.media-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.75rem 1rem;
    text-decoration: none;
    color: inherit;
    min-height: 128px;
}

.media-card-icon {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    line-height: 1;
}

.media-card-icon--ig {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #f09433, #dc2743, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.media-card-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    font-size: 0.98rem;
}

.media-card-meta {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.media-shot {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    background: var(--card-bg);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.media-shot:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.media-shot-link {
    display: block;
    line-height: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.media-shot-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.media-shot:hover .media-shot-link img {
    transform: scale(1.03);
}

.media-shot figcaption {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 0.65rem 0.85rem 0.85rem;
    line-height: 1.45;
    text-align: center;
}

/* Downloads Section */
.downloads {
    padding: 100px 0;
    background: var(--darker-bg);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.download-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-align: center;
    transition: all 0.3s;
}

.download-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.download-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.download-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.download-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.download-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    font-size: 0.9rem;
}

.platform {
    color: var(--primary-color);
}

.size {
    color: var(--text-secondary);
}

.btn-download {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 1rem;
    font-size: 1.1rem;
}

.btn-download:hover:not(.disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--dark-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-studio {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: -0.5rem auto 2.25rem;
    max-width: 640px;
}

.about-studio strong {
    color: var(--text-primary);
}

.about-game-details {
    margin: 2.5rem auto 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 212, 255, 0.15);
    max-width: 720px;
    text-align: left;
}

.about-subheading {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 2rem 0 0.85rem;
    letter-spacing: 0.02em;
}

.about-game-details .about-subheading:first-child {
    margin-top: 0;
}

.about-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-text--left {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text.highlight {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.about-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border-bottom: 1px solid transparent;
}

.about-link:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 50px 0 20px;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Base list styling */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

/* Links */
.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

/* NEW: Quick Links grid layout */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 30px;
}

/* Optional: tighten spacing inside columns */
.footer-links-grid ul li {
    margin-bottom: 0.4rem;
}

/* Responsive: stack on small screens */
@media (max-width: 600px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}

/* Optional: expand to 3 columns on wider screens */
@media (min-width: 900px) {
    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    padding: 0.5rem 1rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s;
}

.social-link:hover {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
}

.social-link--discord:hover {
    border-color: #5865f2;
    background: rgba(88, 101, 242, 0.12);
}

.social-link--x:hover {
    border-color: #e7e9ea;
    background: rgba(255, 255, 255, 0.06);
}

.social-link--youtube:hover {
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.08);
}

.social-link--instagram:hover {
    border-color: #e6683c;
    background: rgba(230, 104, 60, 0.12);
}

.footer-legal-sep {
    margin: 0 0.65rem;
    color: var(--text-secondary);
    opacity: 0.45;
    user-select: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--text-secondary);
}

.footer-bottom .domain {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary-color);
    opacity: 0.8;
}

/* Legal / policy pages — same container + card rhythm as homepage */
.legal-page {
    background: var(--dark-bg);
    padding: 100px 0 80px;
    min-height: 60vh;
    overflow-x: hidden;
    width: 100%;
}

.legal-page > .container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
}

.legal-page .legal-document {
    /* Never wider than the viewport minus container padding */
    width: 100%;
    max-width: min(42rem, 100%);
    margin-left: auto;
    margin-right: auto;
    padding: 2.5rem clamp(1rem, 4vw, 2rem) 3rem;
    color: var(--text-secondary);
    line-height: 1.75;
    background: var(--card-bg);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 20px;
    box-sizing: border-box;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    overflow-x: hidden;
}

.legal-document h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    max-width: 100%;
    overflow-wrap: anywhere;
    line-height: 1.25;
}

.legal-document .legal-updated {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.legal-document h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 2rem 0 0.6rem;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.legal-document p {
    margin-bottom: 0.9rem;
    max-width: 100%;
    overflow-wrap: break-word;
}

.legal-document ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
    max-width: 100%;
    overflow-wrap: break-word;
}

.legal-document li {
    margin-bottom: 0.45rem;
    padding-right: 0.25rem;
}

.legal-document a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.legal-document a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.legal-notice {
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    font-size: 0.98rem;
    line-height: 1.65;
    max-width: 100%;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.legal-foot {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 212, 255, 0.12);
    font-size: 0.95rem;
    text-align: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--card-bg);
    margin: 10% auto;
    padding: 3rem;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.3s;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--primary-color);
}

.modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-content input {
    padding: 1rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    background: var(--darker-bg);
    color: var(--text-primary);
    font-size: 1rem;
}

.modal-content input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.modal-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Temp hide */
/* Hide extra media sections when not ready */
.media-section {
    display: none;
}

/* Show the featured video only */
.media-frame {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }

    .navbar .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 0.85rem;
        max-width: 100%;
        font-size: 0.88rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .countdown-item {
        padding: 1rem 1.5rem;
        min-width: 80px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .legal-page {
        padding: 88px 0 60px;
    }

    .legal-page .legal-document {
        padding: 1.35rem 1rem 2rem;
        border-radius: 16px;
        max-width: 100%;
    }
    
    .features-grid,
    .downloads-grid,
    .updates-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}
