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

:root {
    --bg-dark: #0f0a0a;
    --bg-panel: #1a1111;
    --text-main: #f8f9fa;
    --text-muted: #adb5bd;
    
    --c-red: #ff3c38;
    --c-orange: #ff9f1c;
    --c-teal: #2ec4b6;
    --c-crimson: #e71d36;
    --c-purple: #9d4edd;
    
    --neon-gradient: linear-gradient(135deg, var(--c-red), var(--c-orange), var(--c-teal), var(--c-crimson), var(--c-purple));
    --glass-bg: rgba(26, 17, 17, 0.85);
    
    --font-head: 'Bungee', cursive;
    --font-head2: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;

    --sidebar-width: 250px;
    --sidebar-collapsed: 80px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

/* --- Layout System --- */
.app-layout {
    display: flex;
    width: 100%;
}

.sidebar {
    width: var(--sidebar-collapsed);
    background: var(--bg-panel);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    transition: var(--transition);
    z-index: 100;
    overflow: hidden;
    border-right: 2px solid var(--c-purple);
    box-shadow: 5px 0 15px rgba(157, 78, 221, 0.2);
}

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

.sidebar-logo {
    padding: 20px;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    font-family: var(--font-head);
    font-size: 1.2rem;
    background: var(--neon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.sidebar-icon-logo {
    display: block;
    text-align: center;
    padding: 20px 0;
    font-size: 2rem;
    color: var(--c-orange);
    transition: var(--transition);
}

.sidebar:hover .sidebar-icon-logo {
    display: none;
}

.nav-menu {
    list-style: none;
    margin-top: 30px;
}

.nav-menu li {
    margin: 10px 0;
}

.nav-menu a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-menu a i {
    min-width: 30px;
    font-size: 1.5rem;
    color: var(--c-teal);
    transition: var(--transition);
}

.sidebar:hover .nav-menu a i {
    animation: fruitBounce 0.5s ease;
}

.nav-menu a span {
    opacity: 0;
    margin-left: 15px;
    font-family: var(--font-head2);
    font-weight: 700;
    transition: opacity 0.3s;
}

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

.nav-menu a:hover {
    background: rgba(255, 60, 56, 0.1);
    border-left: 4px solid var(--c-red);
}

.nav-menu a:hover i {
    color: var(--c-red);
    text-shadow: 0 0 10px var(--c-red);
}

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

/* --- Container & Spacing --- */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: clamp(60px, 8vw, 120px) 0;
    position: relative;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    background: var(--neon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(231, 29, 54, 0.3);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: var(--c-orange);
    text-shadow: 0 0 10px rgba(255, 159, 28, 0.4);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--c-teal);
}

p {
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- Strict Legal Notices --- */
.legal-banner-top {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--c-red);
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 50;
    position: relative;
}

.legal-notice-box {
    background: rgba(231, 29, 54, 0.1);
    border: 1px solid var(--c-red);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    font-size: 0.95rem;
}

.legal-notice-box strong {
    color: var(--c-red);
    display: block;
    margin-bottom: 10px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-head2);
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    background: var(--neon-gradient);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 0 20px rgba(255, 60, 56, 0.4);
    transition: var(--transition);
}

.btn::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: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
    transition: 0.5s ease-in-out;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(231, 29, 54, 0.8);
}

/* --- Hero Section --- */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #2a0808 0%, var(--bg-dark) 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.floating-fruits {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

.fruit-particle {
    position: absolute;
    font-size: 2rem;
    animation: floatParticle 10s infinite linear;
    opacity: 0.2;
}

/* --- Grid System & Cards --- */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--bg-panel);
    border: 1px solid rgba(255, 159, 28, 0.2);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--c-teal);
    box-shadow: 0 10px 30px rgba(46, 196, 182, 0.2);
}

.card i {
    font-size: 3rem;
    color: var(--c-purple);
    margin-bottom: 20px;
}

.game-card {
    padding: 0;
    border: 2px solid var(--c-crimson);
}

.game-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--c-crimson);
}

.game-info {
    padding: 20px;
}

/* --- Game Iframe Container --- */
.game-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border: 4px solid var(--c-teal);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(46, 196, 182, 0.3);
    background: #000;
}

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

/* --- Forms --- */
.contact-form {
    display: grid;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

input, textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-dark);
    border: 1px solid var(--c-purple);
    color: var(--text-main);
    border-radius: 8px;
    font-family: var(--font-body);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--c-teal);
    box-shadow: 0 0 10px rgba(46, 196, 182, 0.3);
}

/* --- Footer --- */
footer {
    background: #080505;
    padding: 60px 0 20px;
    border-top: 2px solid var(--c-red);
    margin-top: auto;
}

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

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

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--c-teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

.footer-compliance {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #333;
    background: #111;
    font-size: 0.85rem;
    color: #888;
}

.footer-18plus {
    display: inline-block;
    width: 40px; height: 40px;
    line-height: 40px;
    border: 2px solid var(--c-red);
    border-radius: 50%;
    font-weight: bold;
    color: var(--c-red);
    margin-top: 15px;
}

/* --- Animations --- */
@keyframes fruitBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes floatParticle {
    0% { transform: translateY(100vh) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

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

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

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: 70px;
        top: auto;
        bottom: 0;
        border-right: none;
        border-top: 2px solid var(--c-purple);
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 0;
    }
    
    .sidebar:hover { width: 100%; }
    .sidebar-logo, .sidebar-icon-logo { display: none; }
    
    .nav-menu {
        display: flex;
        margin: 0;
        width: 100%;
        justify-content: space-around;
    }
    
    .nav-menu a {
        padding: 10px;
        flex-direction: column;
        justify-content: center;
    }
    
    .nav-menu a span { display: none; }
    .nav-menu a i { font-size: 1.5rem; margin: 0; }
    
    .main-content { margin-left: 0; margin-bottom: 70px; }
    .game-iframe { height: 400px; }
}