:root {
    --mint: #00D4AA;
    --mint-light: #7DFFD4;
    --mint-dark: #00B894;
    --purple: #7C3AED;
    --purple-light: #A78BFA;
    --pink: #F472B6;
    --yellow: #FBBF24;
    --blue: #60A5FA;
    --dark: #1a1a2e;
    --gray: #6B7280;
    --light: #F9FAFB;
    --white: #FFFFFF;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 22px;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 700;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--mint-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    background: linear-gradient(135deg, #f0fdf9 0%, #ecfdf5 30%, #f0f9ff 70%, #faf5ff 100%);
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--mint-light);
    top: -50px;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--purple-light);
    bottom: 10%;
    left: -60px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--yellow);
    top: 30%;
    left: 10%;
    animation: float 7s ease-in-out infinite;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: var(--pink);
    bottom: 20%;
    right: 15%;
    animation: float 9s ease-in-out infinite reverse;
}

.shape-5 {
    width: 80px;
    height: 80px;
    background: var(--blue);
    top: 15%;
    right: 25%;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark);
}

.highlight {
    background: linear-gradient(135deg, var(--mint), var(--mint-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--mint), var(--mint-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 170, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--dark);
}

.btn-secondary:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-float .float-item {
    position: absolute;
    font-size: 2rem;
    animation: floatSpin 12s linear infinite;
}

.float-1 { top: 20%; left: 8%; animation-delay: 0s; }
.float-2 { top: 15%; right: 10%; animation-delay: -2s; }
.float-3 { bottom: 25%; left: 15%; animation-delay: -4s; }
.float-4 { bottom: 30%; right: 8%; animation-delay: -6s; }
.float-5 { top: 50%; right: 20%; animation-delay: -8s; }

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

@keyframes floatSpin {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(5deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(10px) rotate(-5deg); }
}

/* Section Styles */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 12px;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 48px;
}

/* About */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.about-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--mint);
    box-shadow: var(--shadow-lg);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--gray);
    font-weight: 600;
    line-height: 1.7;
}

/* Games */
.games {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.game-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.game-thumb {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-emoji {
    font-size: 4rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.game-info {
    padding: 20px 24px;
}

.game-info h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.game-info p {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.game-tag {
    display: inline-block;
    background: var(--light);
    color: var(--mint-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Publish */
.publish {
    padding: 100px 0;
    background: var(--white);
}

.publish-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.publish-steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--mint), var(--mint-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
}

.step-info h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.step-info p {
    color: var(--gray);
    font-weight: 600;
    font-size: 0.95rem;
}

.cta-card {
    background: linear-gradient(135deg, #f0fdf9, #ecfdf5);
    border: 2px solid var(--mint);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.cta-card p {
    color: var(--gray);
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.7;
}

/* Stats */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--mint);
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    font-size: 1rem;
}

/* Contact */
.contact {
    padding: 100px 0;
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.contact-card p,
.contact-card a {
    color: var(--gray);
    font-weight: 600;
    text-decoration: none;
    line-height: 1.7;
}

.contact-card a:hover {
    color: var(--mint-dark);
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    width: 100%;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 140px 24px 60px;
        min-height: auto;
    }

    .hero-float .float-item {
        font-size: 1.5rem;
    }

    .publish-content {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
