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

:root {
    --primary: #8CA6F9;
    --primary-hover: #7b95e8;
    --secondary: #F0A8D0;
    --bg-gradient: linear-gradient(135deg, #e0f2fe 0%, #fdf4ff 100%);
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(140, 166, 249, 0.15);
    --text-main: #334155;
    --text-muted: #64748b;
    --max-width: 1280px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Floating Kites Background */
body::before, body::after {
    content: '🪁';
    position: absolute;
    font-size: 3rem;
    opacity: 0.15;
    z-index: -1;
    animation: float-bg 20s ease-in-out infinite alternate;
}

body::before {
    top: 10%;
    left: 5%;
}

body::after {
    top: 60%;
    right: 5%;
    font-size: 4rem;
    animation-duration: 25s;
    animation-delay: -5s;
}

@keyframes float-bg {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, -100px) rotate(15deg); }
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { color: var(--text-muted); margin-bottom: 1rem; font-size: 1.125rem; }

a { text-decoration: none; color: inherit; transition: var(--transition); }

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
}

/* Header & Nav */
header {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: var(--max-width);
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span { color: var(--text-main); }

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    font-weight: 500;
    color: var(--text-muted);
}

nav a:hover, nav a.active {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    padding: 6rem 2rem 2rem;
    transform: translateY(-100%);
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--glass-shadow);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style: none;
    text-align: center;
}

.mobile-menu a {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(140, 166, 249, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(140, 166, 249, 0.6);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Sections */
section {
    padding: 6rem 0;
}

.pt-header {
    padding-top: 10rem;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 90vh;
}

.hero-content .legal-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-sm);
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

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

/* Game Preview Section */
.game-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.game-preview-img img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--text-main);
}

.feature-list li::before {
    content: '🪁';
    font-size: 1.25rem;
}

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

.feature-card {
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

/* Why Choose Us */
.why-us {
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-item {
    padding: 2rem;
}

.why-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

/* Dedicated Game Page */
.game-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.game-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #000;
    margin-bottom: 3rem;
}

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

.game-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.8);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(140, 166, 249, 0.2);
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
}

.legal-content h2 { margin-top: 2rem; }
.legal-content p, .legal-content ul { margin-bottom: 1.5rem; }
.legal-content ul { padding-left: 1.5rem; }
.legal-content li { margin-bottom: 0.5rem; }

/* Footer */
footer {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

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

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

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* Media Queries */
@media (max-width: 992px) {
    .hero, .game-preview {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }

    .feature-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    nav ul, .header-cta {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    h1 { font-size: 2.5rem; }
    section { padding: 4rem 0; }
    
    .legal-content {
        padding: 2rem 1rem;
    }
}