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

:root {
    --bg-color: #04060f;
    --grad-start: #22d3ee;
    --grad-mid: #818cf8;
    --grad-end: #c084fc;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.18);
    --text-pri: #f8fafc;
    --text-sec: #cbd5f5;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --spacing-sm: clamp(1rem, 2vw, 1.5rem);
    --spacing-md: clamp(2rem, 4vw, 3rem);
    --spacing-lg: clamp(4rem, 8vw, 6rem);
}

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

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

/* Background Glowing Orbs */
.bg-orbs {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}
.orb-1 {
    top: -10%; left: -10%;
    width: 40vw; height: 40vw;
    background: var(--grad-start);
}
.orb-2 {
    bottom: -20%; right: -10%;
    width: 50vw; height: 50vw;
    background: var(--grad-end);
    animation-delay: -5s;
}
.orb-3 {
    top: 40%; left: 50%;
    width: 30vw; height: 30vw;
    background: var(--grad-mid);
    transform: translateX(-50%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { margin-bottom: 1rem; color: var(--text-sec); }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, var(--grad-start), var(--grad-mid), var(--grad-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    position: relative;
    overflow: hidden;
}

/* Glossy Effect */
.glass::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    z-index: 1;
    pointer-events: none;
}
.glass:hover::after {
    left: 200%;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}
section {
    padding: var(--spacing-lg) 0;
}

/* Notice Banner */
.notice-banner {
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-sec);
    text-align: center;
    padding: 0.75rem var(--spacing-sm);
    font-size: 0.85rem;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.notice-banner p { margin: 0; }

/* Navigation */
.navbar {
    position: sticky;
    top: 1rem;
    z-index: 99;
    margin: 0 var(--spacing-sm);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
}
.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
    transition: width 0.3s ease;
}
.nav-links a:hover::before, .nav-links a.active::before {
    width: 100%;
}
.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--text-pri);
    font-size: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 2;
}
.btn-primary {
    background: linear-gradient(135deg, var(--grad-start), var(--grad-mid), var(--grad-end));
    color: #fff;
    box-shadow: 0 4px 20px rgba(129, 140, 248, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(129, 140, 248, 0.6);
}
.btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-pri);
    backdrop-filter: blur(10px);
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--spacing-md);
}
.hero-content {
    max-width: 800px;
    padding: var(--spacing-md);
    border-radius: 30px;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Featured & Games Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card-img-wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    aspect-ratio: 16/9;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card:hover .card-img-wrap img {
    transform: scale(1.05);
}
.card-title {
    margin-bottom: 0.5rem;
}
.card-desc {
    flex-grow: 1;
}

/* Game Iframe Container */
.game-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
}
.game-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}
.game-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* Features / Steps / Testimonials */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}
.icon-box {
    width: 60px; height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(192, 132, 252, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--glass-border);
}
.step-card {
    text-align: center;
    padding: 2rem;
}
.step-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--glass-border);
    margin-bottom: 1rem;
    line-height: 1;
}

/* Forms */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-pri);
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--grad-mid);
    background: rgba(255,255,255,0.08);
}
textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
footer {
    margin-top: var(--spacing-lg);
    border-radius: 30px 30px 0 0;
    border-bottom: none;
    padding: var(--spacing-md) 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-links {
    list-style: none;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-sec); }
.footer-links a:hover { color: var(--grad-start); }
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}
.badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}
.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.8rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--glass-border);
}
.disclaimer-text {
    font-size: 0.85rem;
    color: #94a3b8;
    max-width: 900px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

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

/* Pages generic formatting */
.page-header {
    text-align: center;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}
.content-box {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-md);
}
.content-box h2 {
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--bg-color);
        flex-direction: column;
        gap: 0;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-radius: 0 0 20px 20px;
        border: 1px solid transparent;
    }
    .nav-links.show {
        max-height: 400px;
        border-color: var(--glass-border);
        border-top: none;
    }
    .nav-links li { padding: 1rem 0; border-bottom: 1px solid var(--glass-border); }
    .nav-links li:last-child { border-bottom: none; }
    .navbar { border-radius: 20px; padding: 1rem; }
}