@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Inter:wght@300;400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --bg-dark: #0f0a05;
    --bg-surface: #1a1208;
    --lava-orange: #ff6a00;
    --dragon-gold: #ffcc00;
    --magic-purple: #7a00ff;
    --emerald-glow: #00ff9f;
    --fire-red: #ff2a2a;
    --glow-accent: #ffd580;
    --text-main: #e8e6e3;
    --text-muted: #a69f98;
    
    --font-heading: 'Cinzel', 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);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Custom cursor */
}

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

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

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

a:hover {
    color: var(--lava-orange);
    text-shadow: 0 0 10px var(--lava-orange);
}

/* Custom Cursor */
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--lava-orange) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    transition: transform 0.1s ease-out;
    box-shadow: 0 0 15px var(--fire-red);
}

.cursor-trail {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--dragon-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.5;
    animation: fadeOutTrail 0.5s forwards;
}

@keyframes fadeOutTrail {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(0); opacity: 0; }
}

/* Layout System */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-collapsed);
    background: var(--bg-surface);
    border-right: 1px solid rgba(255, 106, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    z-index: 1000;
    overflow-x: hidden;
    box-shadow: 5px 0 20px rgba(0,0,0,0.8);
}

.sidebar:hover {
    width: var(--sidebar-expanded);
}

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

.brand i {
    font-size: 30px;
    color: var(--dragon-gold);
    min-width: 40px;
    text-align: center;
    text-shadow: 0 0 10px var(--lava-orange);
}

.brand span {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 900;
    color: var(--dragon-gold);
    margin-left: 15px;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.sidebar:hover .brand span {
    opacity: 1;
}

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

.nav-links li {
    position: relative;
}

.nav-links a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--text-muted);
    position: relative;
    overflow: hidden;
}

.nav-links i {
    font-size: 20px;
    min-width: 40px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.nav-links span {
    margin-left: 15px;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    font-weight: 600;
    letter-spacing: 1px;
}

.sidebar:hover .nav-links span {
    opacity: 1;
}

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

.nav-links a:hover::before, .nav-links a.active::before {
    left: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--dragon-gold);
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.5);
}

.nav-links a:hover i, .nav-links a.active i {
    transform: scale(1.2);
    color: var(--lava-orange);
    text-shadow: 0 0 15px var(--lava-orange);
}

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

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: var(--bg-surface);
    border: 1px solid var(--lava-orange);
    color: var(--dragon-gold);
    padding: 10px;
    border-radius: 5px;
}

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

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 100%);
    z-index: -1;
}

.hero-disclaimer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 42, 42, 0.1);
    border-bottom: 1px solid var(--fire-red);
    padding: 10px 20px;
    font-size: 0.85rem;
    color: #fff;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.hero-disclaimer span {
    color: var(--fire-red);
    font-weight: bold;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    color: var(--dragon-gold);
    text-shadow: 0 0 20px rgba(255, 106, 0, 0.8), 0 0 40px rgba(255, 42, 42, 0.5);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 40px;
    text-shadow: 1px 1px 5px #000;
}

/* Floating Eggs Animation */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-egg {
    position: absolute;
    width: 60px;
    height: 80px;
    background: radial-gradient(ellipse at center, var(--glow-accent) 0%, var(--lava-orange) 50%, transparent 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    filter: blur(5px);
    opacity: 0.6;
    animation: float 6s infinite ease-in-out alternate;
}

.floating-egg:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; background: radial-gradient(ellipse at center, #fff, var(--emerald-glow), transparent); }
.floating-egg:nth-child(2) { top: 60%; right: 15%; animation-delay: 2s; background: radial-gradient(ellipse at center, #fff, var(--magic-purple), transparent); }
.floating-egg:nth-child(3) { bottom: 10%; left: 30%; animation-delay: 1s; }

@keyframes float {
    0% { transform: translateY(0) scale(1) rotate(0deg); }
    100% { transform: translateY(-30px) scale(1.1) rotate(5deg); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--fire-red), var(--lava-orange));
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    border: 2px solid var(--dragon-gold);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.5);
    transition: var(--transition-smooth);
}

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

.btn-primary:hover {
    color: #fff;
    box-shadow: 0 0 30px var(--dragon-gold);
    transform: translateY(-3px);
    border-color: #fff;
}

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

/* Sections */
.section {
    padding: 80px 20px;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dragon-gold);
    margin-bottom: 50px;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--lava-orange), transparent);
    margin: 15px auto 0;
}

/* Cards Grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(26, 18, 8, 0.8);
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--dragon-gold);
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    color: var(--lava-orange);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--fire-red);
}

.feature-card h3 {
    color: var(--dragon-gold);
    margin-bottom: 15px;
}

/* Game Card */
.game-card {
    background: var(--bg-surface);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(122, 0, 255, 0.3);
    transition: var(--transition-smooth);
    position: relative;
}

.game-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 10, 5, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.game-info {
    padding: 20px;
    text-align: center;
}

.game-info h3 {
    color: var(--emerald-glow);
    margin-bottom: 10px;
}

.game-card:hover {
    box-shadow: 0 0 30px rgba(122, 0, 255, 0.4);
    border-color: var(--magic-purple);
}

/* Iframe Container */
.iframe-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border: 2px solid var(--dragon-gold);
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(255, 106, 0, 0.5);
    overflow: hidden;
    background: #000;
}

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

/* Content Pages (About, FAQ, etc) */
.page-header {
    padding: 120px 20px 60px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(26, 18, 8, 0.9), var(--bg-dark));
    border-bottom: 1px solid rgba(255, 204, 0, 0.1);
}

.page-header h1 {
    font-size: 3rem;
    color: var(--dragon-gold);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-wrapper h2 {
    color: var(--lava-orange);
    margin: 30px 0 15px;
}

.content-wrapper p, .content-wrapper ul {
    margin-bottom: 20px;
}

.content-wrapper ul {
    padding-left: 20px;
}

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

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

.contact-info {
    background: var(--bg-surface);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 204, 0, 0.2);
}

.contact-info h3 {
    color: var(--dragon-gold);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--lava-orange);
}

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

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

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

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

/* Accordion (FAQ) */
.accordion {
    margin-top: 20px;
}

.accordion-item {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 106, 0, 0.2);
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    padding: 20px;
    background: rgba(0,0,0,0.2);
    cursor: none;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dragon-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    padding: 20px;
    display: none;
    border-top: 1px solid rgba(255, 106, 0, 0.1);
}

/* Footer */
.footer {
    background: #050302;
    padding: 60px 20px 20px;
    border-top: 2px solid var(--lava-orange);
    margin-top: auto;
}

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

.footer-col h4 {
    color: var(--dragon-gold);
    margin-bottom: 20px;
}

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

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

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

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

.global-disclaimer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 42, 42, 0.05);
    border: 1px solid rgba(255, 42, 42, 0.2);
    border-radius: 5px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.global-disclaimer strong {
    color: var(--fire-red);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.compliance-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    font-size: 24px;
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 250px;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .brand span, .nav-links span {
        opacity: 1;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-disclaimer {
        font-size: 0.75rem;
        padding: 5px;
    }
}