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

:root {
    --bg-color: #0a0a0a;
    --surface-color: #141414;
    --neon-cyan: #00f5ff;
    --electric-violet: #8a2be2;
    --laser-pink: #ff2fd1;
    --neon-lime: #39ff14;
    --accent-glow: #00ffc6;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --sidebar-collapsed: 80px;
    --sidebar-expanded: 240px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --glow-cyan: 0 0 10px rgba(0, 245, 255, 0.5), 0 0 20px rgba(0, 245, 255, 0.3);
    --glow-pink: 0 0 10px rgba(255, 47, 209, 0.5), 0 0 20px rgba(255, 47, 209, 0.3);
    --glow-violet: 0 0 10px rgba(138, 43, 226, 0.5), 0 0 20px rgba(138, 43, 226, 0.3);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    display: flex;
    min-height: 100vh;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Glassmorphism & Effects */
.glass-panel {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 12px;
}

.text-gradient {
    background: linear-gradient(90deg, var(--neon-cyan), var(--laser-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 47, 209, 0.2);
}

/* Layout System */
#app-container {
    display: flex;
    width: 100%;
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: var(--sidebar-collapsed);
    background: var(--surface-color);
    border-right: 1px solid rgba(0, 245, 255, 0.2);
    z-index: 1000;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.5);
}

.sidebar:hover, .sidebar.active {
    width: var(--sidebar-expanded);
    box-shadow: 5px 0 30px rgba(0, 245, 255, 0.1);
}

.sidebar-logo {
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}

.sidebar-logo svg {
    min-width: 40px;
    width: 40px;
    height: 40px;
    fill: var(--neon-cyan);
    filter: drop-shadow(0 0 5px var(--neon-cyan));
}

.sidebar-logo span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 900;
    margin-left: 15px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-smooth);
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.sidebar:hover .sidebar-logo span, .sidebar.active .sidebar-logo span {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-nav {
    flex-grow: 1;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--text-secondary);
    position: relative;
    white-space: nowrap;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--neon-cyan);
    transform: scaleY(0);
    transition: var(--transition-smooth);
    box-shadow: var(--glow-cyan);
}

.nav-item svg {
    min-width: 24px;
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: var(--transition-smooth);
}

.nav-item span {
    margin-left: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar:hover .nav-item span, .sidebar.active .nav-item span {
    opacity: 1;
    transform: translateX(0);
}

.nav-item:hover, .nav-item.active {
    color: var(--neon-cyan);
    background: rgba(0, 245, 255, 0.05);
}

.nav-item:hover::before, .nav-item.active::before {
    transform: scaleY(1);
}

.nav-item:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px var(--neon-cyan));
}

/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
    z-index: 999;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid rgba(0, 245, 255, 0.2);
}

.mobile-logo {
    font-family: var(--font-heading);
    color: var(--neon-cyan);
    font-weight: 900;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

.menu-toggle svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* Main Content Area */
.main-content {
    flex-grow: 1;
    margin-left: var(--sidebar-collapsed);
    width: calc(100% - var(--sidebar-collapsed));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

/* Disclaimers */
.hero-disclaimer {
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-secondary);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}

.hero-disclaimer strong {
    color: var(--neon-lime);
}

.global-disclaimer {
    background: #000;
    border-top: 1px solid rgba(0, 245, 255, 0.2);
    padding: 30px 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
}

.global-disclaimer p {
    max-width: 800px;
    margin: 0 auto 15px auto;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.badge {
    border: 1px solid var(--text-secondary);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url('images/photo-1555448248-2571daf6344b.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.4) contrast(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.2) 0%, var(--bg-color) 100%);
}

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

.hero h1 {
    font-size: clamp(3rem, 5vw, 6rem);
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 0px var(--neon-cyan), -2px -2px 0px var(--laser-pink);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background: transparent;
    border: 2px solid var(--neon-cyan);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.2), inset 0 0 10px rgba(0, 245, 255, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--neon-cyan);
    z-index: -1;
    transition: var(--transition-smooth);
}

.btn:hover {
    color: #000;
    box-shadow: 0 0 20px var(--neon-cyan), inset 0 0 20px var(--neon-cyan);
}

.btn:hover::before {
    width: 100%;
}

.btn-pink {
    border-color: var(--laser-pink);
    box-shadow: 0 0 10px rgba(255, 47, 209, 0.2), inset 0 0 10px rgba(255, 47, 209, 0.1);
}
.btn-pink::before { background: var(--laser-pink); }
.btn-pink:hover { box-shadow: 0 0 20px var(--laser-pink), inset 0 0 20px var(--laser-pink); }

/* Sections */
section {
    padding: 100px 5%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Game Card */
.game-card {
    background: var(--surface-color);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .game-card {
        flex-direction: row;
        align-items: center;
    }
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-cyan);
    border-color: rgba(0, 245, 255, 0.3);
}

.game-img-wrapper {
    position: relative;
    flex: 1;
    min-height: 300px;
}

.game-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, var(--surface-color));
    opacity: 0;
    transition: var(--transition-smooth);
}
@media (max-width: 767px) {
    .game-img-overlay {
        background: linear-gradient(to bottom, transparent, var(--surface-color));
    }
}

.game-info {
    flex: 1;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.game-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--neon-cyan);
}

.game-info p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.feature-box:hover {
    transform: translateY(-10px);
    background: rgba(138, 43, 226, 0.05);
    border-color: rgba(138, 43, 226, 0.3);
    box-shadow: var(--glow-violet);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(0, 245, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

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

.feature-box h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(45deg, rgba(10, 10, 10, 1) 0%, rgba(20, 20, 20, 1) 100%);
    border-top: 1px solid rgba(255, 47, 209, 0.2);
    border-bottom: 1px solid rgba(255, 47, 209, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,47,209,0.1) 0%, transparent 60%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background: var(--surface-color);
    padding: 60px 5% 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--neon-cyan);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Internal Pages Header */
.page-header {
    padding: 150px 5% 80px;
    background-image: linear-gradient(to bottom, rgba(10, 10, 10, 0.8), var(--bg-color)), url('images/photo-1518314916381-77a37c2a49ae.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    border-bottom: 1px solid rgba(0, 245, 255, 0.2);
}

.page-header h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

/* Typography Content (Legal/About/FAQ) */
.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 5%;
}

.content-container h2 {
    color: var(--neon-cyan);
    margin: 40px 0 20px;
    font-size: 1.8rem;
}

.content-container h3 {
    color: var(--text-primary);
    margin: 30px 0 15px;
    font-size: 1.3rem;
}

.content-container p, .content-container ul {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.content-container ul {
    padding-left: 20px;
    list-style-type: square;
    color: var(--neon-cyan);
}
.content-container ul li span {
    color: var(--text-secondary);
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    padding: 40px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h4 {
    color: var(--neon-cyan);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.2);
}

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

/* FAQ Accordion */
.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: var(--surface-color);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--neon-cyan);
    background: rgba(20, 20, 20, 0.9);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    background: rgba(10, 10, 10, 0.5);
    color: var(--text-secondary);
    line-height: 1.6;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px; /* Arbitrary large number */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-question {
    color: var(--laser-pink);
}

/* Game Page Specifically */
.game-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 5%;
}

.iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--glow-cyan);
    border: 2px solid var(--neon-cyan);
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.game-details {
    margin-top: 40px;
    padding: 40px;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
        width: 280px;
    }
    
    .mobile-header {
        display: flex;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
        padding-top: 70px;
    }
}

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

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 245, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 245, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 245, 255, 0); }
}

.pulse-btn {
    animation: pulse 2s infinite;
}