:root {
    --bg-color: #140a05;
    --surface-color: #2a140c;
    --surface-hover: #3a1c11;
    --flame: #ff6b00;
    --red: #ff2e00;
    --yellow: #ffd000;
    --pink: #ff3cac;
    --gold: #ffb703;
    --text-main: #f0f0f0;
    --text-muted: #bdaea7;
    
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --sidebar-collapsed: 80px;
    --sidebar-expanded: 230px;
    --transition-speed: 0.4s;
    --z-sidebar: 1000;
    --z-overlay: 900;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-weight: 400;
}

a {
    color: var(--flame);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--yellow);
}

/* Background Effects */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at center, rgba(255, 46, 0, 0.05) 0%, rgba(20, 10, 5, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

/* Animations */
@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
    20%, 24%, 55% { opacity: 0.5; }
}

@keyframes neon-pulse {
    0% { box-shadow: 0 0 5px var(--flame), 0 0 10px var(--flame), inset 0 0 5px var(--flame); }
    50% { box-shadow: 0 0 10px var(--red), 0 0 20px var(--red), inset 0 0 10px var(--red); }
    100% { box-shadow: 0 0 5px var(--flame), 0 0 10px var(--flame), inset 0 0 5px var(--flame); }
}

@keyframes heat-shimmer {
    0% { transform: scale(1) translateY(0); opacity: 0.8; }
    50% { transform: scale(1.02) translateY(-2px); opacity: 1; }
    100% { transform: scale(1) translateY(0); opacity: 0.8; }
}

@keyframes text-glow {
    0% { text-shadow: 0 0 5px var(--flame), 0 0 10px var(--red); }
    50% { text-shadow: 0 0 10px var(--yellow), 0 0 20px var(--flame), 0 0 30px var(--red); }
    100% { text-shadow: 0 0 5px var(--flame), 0 0 10px var(--red); }
}

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

/* Layout System */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-collapsed);
    background-color: rgba(20, 10, 5, 0.95);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 107, 0, 0.2);
    transition: width var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    z-index: var(--z-sidebar);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    box-shadow: 5px 0 15px rgba(0,0,0,0.5);
}

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

.brand {
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    min-width: var(--sidebar-expanded);
    border-bottom: 1px solid rgba(255, 107, 0, 0.1);
}

.brand-icon {
    font-size: 1.8rem;
    color: var(--flame);
    animation: text-glow 3s infinite;
    min-width: 40px;
    text-align: center;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-left: 10px;
    opacity: 0;
    transition: opacity var(--transition-speed);
    text-transform: uppercase;
}

.sidebar:hover .brand-text {
    opacity: 1;
}

.nav-menu {
    flex: 1;
    list-style: none;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--text-muted);
    min-width: var(--sidebar-expanded);
    transition: all 0.3s ease;
}

.nav-icon {
    font-size: 1.2rem;
    min-width: 40px;
    text-align: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-text {
    margin-left: 10px;
    opacity: 0;
    transition: opacity var(--transition-speed);
    font-weight: 500;
}

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

.nav-link:hover {
    color: var(--text-main);
    background: linear-gradient(90deg, rgba(255, 46, 0, 0.1) 0%, transparent 100%);
    border-left: 3px solid var(--flame);
}

.nav-link:hover .nav-icon {
    color: var(--yellow);
    transform: scale(1.1);
    animation: flicker 1.5s infinite;
}

.nav-link.active {
    color: var(--yellow);
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.2) 0%, transparent 100%);
    border-left: 3px solid var(--yellow);
    text-shadow: 0 0 10px rgba(255, 208, 0, 0.5);
}

.nav-link.active .nav-icon {
    color: var(--yellow);
    text-shadow: 0 0 10px rgba(255, 208, 0, 0.8);
}

.sidebar-footer {
    padding: 20px;
    min-width: var(--sidebar-expanded);
    border-top: 1px solid rgba(255, 107, 0, 0.1);
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    padding-left: 30px;
}

.social-icon {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--pink);
    text-shadow: 0 0 10px var(--pink);
    transform: translateY(-3px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
    background: var(--surface-color);
    border: 1px solid var(--flame);
    color: var(--flame);
    width: 45px;
    height: 45px;
    border-radius: 5px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-collapsed);
    transition: margin-left var(--transition-speed);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Fluid Sections */
.section {
    padding: clamp(40px, 8vw, 100px) clamp(20px, 5vw, 60px);
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Typography Classes */
.heading-xl {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: text-glow 4s infinite alternate;
}

.heading-lg {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
    margin-bottom: 30px;
    color: var(--text-main);
    text-align: center;
}

.heading-lg span {
    color: var(--flame);
}

.text-lead {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 800px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(45deg, var(--red), var(--flame));
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 46, 0, 0.4);
}

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

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(255, 107, 0, 0.8);
    transform: translateY(-2px);
    color: #fff;
}

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--yellow);
    color: var(--yellow);
}

.btn-outline:hover {
    background: rgba(255, 208, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 208, 0, 0.4);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.6;
}

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

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 1000px;
    padding: 0 20px;
}

.disclaimer-hero {
    background: rgba(20, 10, 5, 0.8);
    border: 1px solid var(--red);
    padding: 15px 20px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(255, 46, 0, 0.2);
    animation: neon-pulse 3s infinite;
}

.disclaimer-hero p {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.disclaimer-hero i {
    color: var(--red);
    margin-right: 8px;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--surface-color);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--red), var(--yellow));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 20px rgba(255, 107, 0, 0.2);
    background: var(--surface-hover);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--flame);
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
    color: var(--yellow);
    text-shadow: 0 0 15px var(--flame);
}

.feature-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
}

/* Game Card */
.game-card {
    background: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
}

.game-card:hover {
    border-color: var(--flame);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.4);
    transform: translateY(-5px);
}

.game-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.game-card-content {
    padding: 25px;
    text-align: center;
    background: linear-gradient(to top, var(--surface-color) 80%, transparent);
    position: relative;
    z-index: 2;
    margin-top: -30px;
}

.game-card-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

/* Game Iframe Container */
.game-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    border-radius: 12px;
    padding: 10px;
    background: linear-gradient(45deg, var(--red), var(--flame), var(--yellow));
    animation: neon-pulse 4s infinite alternate;
}

.game-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

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

.game-details {
    margin-top: 40px;
    background: var(--surface-color);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 0, 0.2);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: rgba(42, 20, 12, 0.6);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--pink);
    position: relative;
}

.testimonial::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 6rem;
    color: rgba(255, 60, 172, 0.1);
    position: absolute;
    top: -10px; left: 10px;
    line-height: 1;
}

.stars {
    color: var(--gold);
    margin-bottom: 15px;
}

.test-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.test-author {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--flame);
}

/* Forms */
.contact-form {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: rgba(20, 10, 5, 0.8);
    border: 1px solid rgba(255, 107, 0, 0.3);
    color: var(--text-main);
    border-radius: 4px;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

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

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

/* Page Headers */
.page-header {
    padding: 150px 20px 80px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(20,10,5,0.8), var(--bg-color)), url('images/photo-1579562089204-585350c33d83.png') center/cover;
    border-bottom: 1px solid rgba(255, 107, 0, 0.2);
}

/* Content Pages (About, Legal, PR) */
.content-box {
    background: var(--surface-color);
    padding: clamp(30px, 5vw, 60px);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.content-box h2 {
    font-size: 2.5rem;
    margin: 40px 0 20px;
    color: var(--flame);
}

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

.content-box h3 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: var(--yellow);
}

.content-box p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.content-box ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-muted);
}

.content-box li {
    margin-bottom: 10px;
}

/* FAQ */
.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 4px;
    background: var(--surface-color);
}

.faq-q {
    padding: 20px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-q i {
    color: var(--flame);
    transition: transform 0.3s ease;
}

.faq-a {
    padding: 0 20px 20px;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-q i {
    transform: rotate(180deg);
}

.faq-item.active .faq-a {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.footer {
    background: #0a0502;
    padding: 60px 20px 20px;
    border-top: 2px solid var(--red);
    position: relative;
    margin-left: var(--sidebar-collapsed);
    transition: margin-left var(--transition-speed);
}

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

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

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

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

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

.footer-links a:hover {
    color: var(--flame);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--flame);
}

.global-disclaimer {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 46, 0, 0.05);
    border: 1px dashed rgba(255, 46, 0, 0.3);
    border-radius: 4px;
    text-align: center;
    margin-bottom: 30px;
}

.global-disclaimer p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.global-disclaimer strong {
    color: var(--text-main);
}

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

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
}

.badges {
    display: flex;
    gap: 15px;
}

.badge {
    border: 1px solid #666;
    color: #666;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Utilities */
.text-center { text-align: center; }
.mt-5 { margin-top: 50px; }
.mb-5 { margin-bottom: 50px; }
.glow-text { animation: text-glow 2s infinite alternate; }

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

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

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        width: 250px;
    }
    
    .sidebar.mobile-active {
        transform: translateX(0);
    }
    
    .brand-text, .nav-text {
        opacity: 1;
    }
    
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .main-content, .footer {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .heading-xl { font-size: 2.5rem; }
    .heading-lg { font-size: 2rem; }
    .section { padding: 60px 15px; }
    .hero { padding-top: 80px; }
    .disclaimer-hero { padding: 10px; }
    .disclaimer-hero p { font-size: 0.8rem; }
}