@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Inter:wght@300;400;600;800&family=Orbitron:wght@400;700;900&display=swap');

:root {
    --bg-dark: #050505;
    --neon-cyan: #00ff41;
    --plasma-purple: #008f11;
    --laser-pink: #39ff14;
    --electric-gold: #73ff73;
    --text-main: #e2e8f0;
    --text-muted: #8ab894;
    
    --radial-glow: radial-gradient(circle at center, rgba(0, 255, 65, 0.15), rgba(0, 143, 17, 0.1), #050505 60%);
    --matrix-gradient: linear-gradient(135deg, var(--neon-cyan), var(--plasma-purple));
    
    --font-heading: 'Orbitron', sans-serif;
    --font-accent: 'Audiowide', cursive;
    --font-body: 'Inter', sans-serif;
    
    --sidebar-width: 60px;
    --sidebar-width-expanded: 220px;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: var(--font-body);
    font-size: 0.9rem;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    background-image: var(--radial-glow);
    background-attachment: fixed;
    background-size: cover;
}

::selection {
    background: var(--laser-pink);
    color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

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

/* Compliance Banner */
.compliance-banner {
    background: var(--plasma-purple);
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1000;
    position: relative;
    border-bottom: 2px solid var(--laser-pink);
    text-transform: uppercase;
}

.compliance-notice {
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid var(--laser-pink);
    padding: 20px;
    margin: 20px 0;
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

/* Sidebar System */
.quantum-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-width);
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border);
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 900;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 0;
    overflow: hidden;
}

.quantum-sidebar:hover {
    width: var(--sidebar-width-expanded);
    box-shadow: 10px 0 30px rgba(0, 255, 65, 0.1);
}

.logo-container {
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
}

.logo-icon {
    min-width: 36px;
    height: 36px;
    background: var(--matrix-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: #fff;
    animation: spinSlow 10s linear infinite;
    box-shadow: 0 0 15px var(--neon-cyan);
}

.logo-text {
    font-family: var(--font-accent);
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
    color: #fff;
    text-shadow: 0 0 10px var(--plasma-purple);
}

.quantum-sidebar:hover .logo-text {
    opacity: 1;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    gap: 1rem;
    white-space: nowrap;
    color: var(--text-muted);
    transition: all 0.3s;
    position: relative;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(0, 255, 65, 0.2), transparent);
    transition: width 0.3s;
    z-index: -1;
}

.nav-item:hover, .nav-item.active {
    color: var(--neon-cyan);
}

.nav-item:hover::before, .nav-item.active::before {
    width: 100%;
}

.nav-icon {
    min-width: 20px;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.nav-item:hover .nav-icon {
    transform: rotate(180deg) scale(1.2);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.nav-text {
    opacity: 0;
    transition: opacity 0.3s;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.quantum-sidebar:hover .nav-text {
    opacity: 1;
}

/* Layout System */
.main-wrapper {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-area {
    flex: 1;
    padding: clamp(2rem, 5vw, 4rem);
    position: relative;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 clamp(2rem, 5vw, 5rem);
    overflow: hidden;
}

.hero-bg-anim {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    border: 2px dashed var(--plasma-purple);
    animation: spinSlow 40s linear infinite;
    z-index: -1;
    opacity: 0.3;
}

.hero-bg-anim::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    border-radius: 50%;
    border: 1px solid var(--neon-cyan);
    animation: spinSlow 20s linear infinite reverse;
}

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

.hero-tagline {
    color: var(--neon-cyan);
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    display: inline-block;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

.hero-title span {
    background: var(--matrix-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Buttons */
.btn-neon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 2rem;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: transparent;
    border: 2px solid var(--neon-cyan);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2), inset 0 0 15px rgba(0, 255, 65, 0.1);
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.btn-neon:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 30px var(--neon-cyan);
    transform: translateY(-2px);
}

.btn-neon:hover::before {
    left: 100%;
}

.btn-spin:hover {
    animation: btnTilt 0.5s ease-in-out;
}

/* Glass Cards */
.matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.glass-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-10px) rotate(1deg);
    border-color: var(--plasma-purple);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 20px rgba(0, 143, 17, 0.3);
}

.glass-card:hover::after {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--matrix-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    transition: transform 0.3s;
}

.glass-card:hover .card-icon {
    transform: rotate(360deg);
}

/* Game Card Specific */
.game-card {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.game-img-wrap {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.game-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.game-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 143, 17, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.game-card:hover .game-img-wrap img {
    transform: scale(1.1);
}

.game-card:hover .game-img-overlay {
    opacity: 1;
}

.game-info {
    padding: 2rem;
    text-align: center;
}

.game-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--electric-gold);
}

/* Section Titles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--matrix-gradient);
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* Steps / How it works */
.step-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    position: relative;
}

.step-card {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-num {
    font-family: var(--font-accent);
    font-size: 3.5rem;
    color: transparent;
    -webkit-text-stroke: 2px var(--laser-pink);
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s;
}

.step-card:hover .step-num {
    opacity: 1;
    color: var(--laser-pink);
    text-shadow: 0 0 20px var(--laser-pink);
}

/* Iframe Container */
.iframe-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
    position: relative;
    background: #000;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Forms */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-body);
    transition: all 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.matrix-footer {
    background: #020202;
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.matrix-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--plasma-purple), var(--neon-cyan), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-col h4 {
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

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

.footer-links a:hover {
    color: var(--electric-gold);
    text-shadow: 0 0 10px rgba(115, 255, 115, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.compliance-footer-text {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
    color: #fff;
}

.badges-18 {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.badge {
    width: 40px;
    height: 40px;
    border: 2px solid var(--laser-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--laser-pink);
}

/* Animations */
@keyframes spinSlow {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

@keyframes btnTilt {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg) scale(1.05); }
    50% { transform: rotate(5deg) scale(1.05); }
    75% { transform: rotate(-2deg) scale(1.05); }
    100% { transform: rotate(0deg) scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .quantum-sidebar {
        width: 100%;
        height: 70px;
        top: auto;
        bottom: 0;
        flex-direction: row;
        padding: 0;
        border-right: none;
        border-top: 1px solid var(--glass-border);
        justify-content: space-around;
        align-items: center;
    }
    
    .quantum-sidebar:hover {
        width: 100%;
        box-shadow: 0 -10px 30px rgba(0, 255, 65, 0.1);
    }
    
    .logo-container {
        display: none;
    }
    
    .nav-menu {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .nav-item {
        padding: 0.5rem;
        flex-direction: column;
        gap: 0.2rem;
    }
    
    .nav-text {
        opacity: 1;
        font-size: 0.6rem;
    }
    
    .main-wrapper {
        margin-left: 0;
        margin-bottom: 70px;
    }
    
    .hero-bg-anim {
        width: 400px;
        height: 400px;
        right: -20%;
    }
}
/* Typography Content specifically for text pages */
.legal-content h2, .legal-content h3 {
    color: var(--neon-cyan);
    margin: 2rem 0 1rem;
}

.legal-content p, .legal-content ul {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.legal-content ul {
    padding-left: 2rem;
}