:root {
    --bg-primary: #07070a;
    --bg-secondary: #11131a;
    --card-bg: rgba(255, 255, 255, 0.04);
    --neon-blue: #4cc9f0;
    --electric-violet: #9d4edd;
    --lightning-gold: #facc15;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    
    --space-desktop: 100px;
    --space-tablet: 70px;
    --space-mobile: 50px;
    --container-max: 1400px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--neon-blue), var(--electric-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gold {
    color: var(--lightning-gold);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-blue), var(--electric-violet));
    color: #fff;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(76, 201, 240, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 7, 10, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), var(--electric-violet), transparent);
    opacity: 0.5;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 24px;
    height: 24px;
    fill: var(--neon-blue);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--neon-blue);
    transition: width 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 8px var(--neon-blue);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-toggle {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: var(--space-desktop);
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: 
        radial-gradient(circle at 80% 30%, rgba(76, 201, 240, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(157, 78, 221, 0.05) 0%, transparent 40%);
    z-index: 0;
}

.hero-zeus-image {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 60%;
    background-image: url('images/zeus-mythology-background-optimized.jpg');
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.1;
    mask-image: linear-gradient(to right, transparent, black 50%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.disclaimer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.disclaimer-badge span {
    color: var(--neon-blue);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Game Section */
.section-game {
    padding: var(--space-desktop) 0;
    background-color: var(--bg-secondary);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.game-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(76,201,240,0.5), rgba(157,78,221,0.5));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(76, 201, 240, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-container:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(157, 78, 221, 0.25);
}

.game-frame-wrapper {
    background: var(--bg-primary);
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    width: 100%;
}

.game-frame-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Features / Trust Section */
.section-features {
    padding: var(--space-desktop) 0;
    background-color: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(76, 201, 240, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(76, 201, 240, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--neon-blue);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Page Headers (Internal Pages) */
.page-header {
    padding: 180px 0 80px;
    background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-content {
    padding: var(--space-desktop) 0;
    max-width: 800px;
    margin: 0 auto;
}

.content-block {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
}

.content-block h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
}

.content-block h2:first-child {
    margin-top: 0;
}

.content-block ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content-block li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
}

.content-block li::before {
    content: '•';
    color: var(--neon-blue);
    position: absolute;
    left: -1.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 3px rgba(76, 201, 240, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    max-width: 400px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-blue);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-text {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero-zeus-image { width: 80%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    :root {
        --space-desktop: var(--space-tablet);
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(17, 19, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        z-index: 99;
    }
    
    .mobile-menu-btn { display: block; }
    
    .nav-toggle:checked ~ .nav-links {
        transform: translateY(0);
    }
    
    .hero { padding-top: 120px; text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero-actions { justify-content: center; flex-direction: column; }
    
    .hero-zeus-image {
        width: 100%;
        mask-image: linear-gradient(to top, transparent, black 80%);
        -webkit-mask-image: linear-gradient(to top, transparent, black 80%);
    }
    
    .game-container { border-radius: 16px; }
    .game-frame-wrapper { border-radius: 14px; aspect-ratio: 4 / 3; }
    
    .content-block { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
    :root {
        --space-desktop: var(--space-mobile);
    }
    .game-frame-wrapper { aspect-ratio: 1 / 1; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}