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

:root {
    --bg-color: #041c1c;
    --surface-color: #0b2b2b;
    --aqua-glow: #00ffe1;
    --coral-orange: #ff7a3d;
    --pearl-white: #eaffff;
    --sea-green: #1de9b6;
    --treasure-gold: #ffd166;
    
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --sidebar-collapsed: 80px;
    --sidebar-expanded: 240px;
    --glass-bg: rgba(11, 43, 43, 0.6);
    --glass-border: rgba(0, 255, 225, 0.2);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--pearl-white);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    position: relative;
    cursor: default;
}

/* Background Effects */
.ocean-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background: radial-gradient(circle at 50% -20%, #0a4040, var(--bg-color) 70%);
}

.light-rays {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-conic-gradient(from 0deg at 50% -10%, rgba(0, 255, 225, 0.05) 0deg, transparent 10deg, rgba(29, 233, 182, 0.03) 20deg, transparent 30deg);
    animation: rotateRays 60s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes rotateRays {
    0% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
    100% { transform: rotate(-5deg); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 255, 225, 0.3);
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: rgba(234, 255, 255, 0.8);
}

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

a:hover {
    color: var(--treasure-gold);
    text-shadow: 0 0 8px var(--treasure-gold);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.glass-card:hover::before {
    left: 150%;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 255, 225, 0.2);
    border-color: var(--aqua-glow);
}

/* Layout System - Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-collapsed);
    background: var(--surface-color);
    border-right: 1px solid var(--glass-border);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 5px 0 20px rgba(0,0,0,0.5);
}

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

.brand-logo {
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    white-space: nowrap;
    border-bottom: 1px solid var(--glass-border);
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--aqua-glow);
    text-shadow: 0 0 10px var(--aqua-glow);
}

.brand-logo span {
    opacity: 0;
    transition: opacity 0.3s;
    margin-left: 15px;
}

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

.brand-icon {
    min-width: 40px;
    text-align: center;
    font-size: 1.8rem;
}

.nav-links {
    list-style: none;
    margin-top: 20px;
    flex: 1;
}

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

.nav-links a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--pearl-white);
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--aqua-glow);
    border-left: 3px solid var(--aqua-glow);
}

.nav-links i {
    min-width: 40px;
    font-size: 1.5rem;
    text-align: center;
    transition: transform 0.3s;
}

.nav-links a:hover i {
    transform: translateY(-3px);
    text-shadow: 0 0 10px var(--aqua-glow);
}

.nav-links span {
    opacity: 0;
    margin-left: 15px;
    transition: opacity 0.3s;
    font-weight: 600;
}

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

/* Main Content Area */
main {
    margin-left: var(--sidebar-collapsed);
    width: calc(100% - var(--sidebar-collapsed));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--aqua-glow), var(--sea-green));
    color: var(--bg-color);
    font-family: var(--font-head);
    font-weight: 900;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(0, 255, 225, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 255, 225, 0.7);
    color: var(--bg-color);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--treasure-gold);
    font-family: var(--font-head);
    font-weight: 700;
    border: 2px solid var(--treasure-gold);
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 209, 102, 0.1);
    box-shadow: 0 0 15px rgba(255, 209, 102, 0.4);
    text-shadow: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    background: url('images/photo-1682687982501-1e58f8145380.png') center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(4, 28, 28, 0.7), rgba(4, 28, 28, 0.95));
}

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

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--aqua-glow), var(--sea-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 255, 225, 0.2);
}

.hero p.subtext {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--pearl-white);
}

/* Disclaimers */
.hero-disclaimer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 122, 61, 0.15);
    border-bottom: 1px solid var(--coral-orange);
    padding: 10px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--coral-orange);
    z-index: 10;
    letter-spacing: 1px;
}

.global-disclaimer {
    background: var(--surface-color);
    border-top: 1px solid var(--glass-border);
    padding: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(234, 255, 255, 0.6);
}

/* Sections */
.section-padding {
    padding: 5rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--aqua-glow);
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    align-items: center;
}

/* Game Card */
.game-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 2px solid var(--glass-border);
    transition: 0.4s ease;
}

.game-card:hover {
    border-color: var(--aqua-glow);
    box-shadow: 0 0 30px rgba(0, 255, 225, 0.3);
    transform: translateY(-10px);
}

.game-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

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

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

.game-info {
    padding: 1.5rem;
    background: var(--surface-color);
    text-align: center;
}

.game-info h3 {
    color: var(--treasure-gold);
    margin-bottom: 0.5rem;
}

/* Game Iframe Container */
.iframe-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 56.25%; 
    height: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--aqua-glow);
    box-shadow: 0 0 40px rgba(0, 255, 225, 0.4);
    background: #000;
}

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

/* Interactive Elements (JS Driven) */
.bubble {
    position: fixed;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(0,255,225,0.2));
    border-radius: 50%;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.5);
    pointer-events: none;
    z-index: -1;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0.5); opacity: 0; }
    20% { opacity: 0.8; }
    100% { transform: translateY(-20vh) scale(1.2); opacity: 0; }
}

.cursor-fish {
    position: fixed;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 9999;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2300ffe1"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-13h2v6h-2zm0 8h2v2h-2z"/></svg>') no-repeat center center;
    background-size: contain;
    transform: translate(-50%, -50%);
    transition: left 0.1s, top 0.1s;
    filter: drop-shadow(0 0 8px var(--aqua-glow));
    display: none; /* enabled via JS on desktop */
}

/* Forms */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-family: var(--font-head);
    color: var(--sea-green);
    font-size: 0.9rem;
}

.input-group input, .input-group textarea {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(4, 28, 28, 0.5);
    color: var(--pearl-white);
    font-family: var(--font-body);
    outline: none;
    transition: 0.3s;
}

.input-group input:focus, .input-group textarea:focus {
    border-color: var(--aqua-glow);
    box-shadow: 0 0 10px rgba(0, 255, 225, 0.2);
}

/* Footer */
footer {
    background: var(--surface-color);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 2rem 0;
    margin-top: auto;
}

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

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

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

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

.footer-col a {
    color: var(--pearl-white);
}

.footer-col a:hover {
    color: var(--aqua-glow);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: rgba(234, 255, 255, 0.5);
}

/* FAQ */
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: rgba(11, 43, 43, 0.8);
    cursor: pointer;
    font-family: var(--font-head);
    color: var(--aqua-glow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--bg-color);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

/* Page Headers */
.page-header {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(to bottom, rgba(4, 28, 28, 0.9), var(--bg-color)), url('images/photo-1546026423-cc46426ba658.png') center/cover;
    border-bottom: 1px solid var(--glass-border);
}

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

@media (max-width: 768px) {
    :root {
        --sidebar-collapsed: 0px;
    }
    
    .sidebar {
        width: 100%;
        height: 70px;
        top: auto;
        bottom: 0;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        border-right: none;
        border-top: 1px solid var(--glass-border);
        z-index: 1000;
        padding: 0 10px;
    }

    .sidebar:hover {
        width: 100%;
    }

    .brand-logo {
        display: none;
    }

    .nav-links {
        display: flex;
        width: 100%;
        justify-content: space-between;
        margin: 0;
        padding: 0;
    }

    .nav-links li {
        margin: 0;
        flex: 1;
        text-align: center;
    }

    .nav-links a {
        flex-direction: column;
        padding: 5px;
        justify-content: center;
    }

    .nav-links i {
        font-size: 1.2rem;
        margin-bottom: 3px;
    }

    .nav-links span {
        opacity: 1;
        margin: 0;
        font-size: 0.6rem;
        font-family: var(--font-body);
    }
    
    .sidebar:hover .nav-links span {
        opacity: 1;
    }

    main {
        margin-left: 0;
        width: 100%;
        padding-bottom: 70px; /* Space for bottom nav */
    }

    .hero-disclaimer {
        font-size: 0.7rem;
        padding: 5px;
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .cursor-fish {
        display: none !important; /* Disable on mobile */
    }
}

/* Legal Pages Specific */
.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--sea-green);
    font-size: 1.5rem;
}
.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: rgba(234, 255, 255, 0.8);
}