:root {
    --bg-color: #0f172a;
    --text-color: #e2e8f0;
    --primary-color: #3b82f6;
    --secondary-color: #8b5cf6;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-hover: rgba(51, 65, 85, 0.8);
    --highlight: #60a5fa;
    --font-main: 'Outfit', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
    border-radius: 0 0 16px 16px;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--highlight);
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
}

.hamburger:hover {
    color: var(--primary-color);
}

.lang-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2px;
}

.lang-btn {
    background: none;
    border: none;
    color: #94a3b8;
    padding: 4px 10px;
    cursor: pointer;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section with Slider */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    padding-top: 80px;
    /* Removed display:flex since slides are absolute */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    display: flex;
    align-items: center;
    padding-left: 10%;
    padding-right: 10%;
    box-sizing: border-box;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, white, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-visual canvas {
    display: block;
    width: 100%;
    height: 100%;
}


/* ... existing code ... */

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 20%;
    /* Moved up significantly */
    left: 10%;
    /* Aligned with text content */
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 20;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Sections */
.section {
    padding: 4rem 10%;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: #94a3b8;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.game-card {
    padding: 2rem;
    transition: transform 0.3s, background 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.game-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
}

.game-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.game-card h3 {
    margin: 0.5rem 0;
    font-size: 1.5rem;
}

.game-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--highlight);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Features */
.features-section {
    background: rgba(255, 255, 255, 0.02);
}

.feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1rem;
}

.check {
    background: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.feature-list strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.feature-list span:not(.check) {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    padding: 4rem 10%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-links a {
    color: #94a3b8;
    margin-left: 2rem;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: #64748b;
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
    margin-top: 2rem;
}

/* Responsive */

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.85rem 1.25rem;
    }

    .logo {
        order: 1;
        width: 100%;
        display: flex;
        align-items: center;
    }

    .hamburger {
        order: 2;
        display: block;
        position: static;
        font-size: 1.75rem;
        color: white;
        cursor: pointer;
        padding: 0.25rem;
    }

    .nav-actions {
        order: 3;
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .nav-links {
        order: 4;
        display: none;
        width: 100%;
        background: var(--glass-bg);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1rem 0;
        border-bottom: 1px solid var(--glass-border);
        border-radius: 0 0 16px 16px;
        z-index: 1000;
    }

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

    .nav-links a {
        margin: 0.6rem 0;
        text-align: center;
        padding: 0.4rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }



    



    .hero {



            padding-top: 6rem;



            flex-direction: column;



    

        text-align: center;

    }



    .hero-content {

        margin-bottom: 2rem;

    }



    .hero h1 {

        font-size: 2.5rem;

    }



    .hero-btns {

        justify-content: center;

    }



    .footer-content {

        flex-direction: column;

        text-align: center;

    }



    .footer-links a {

        margin: 0 1rem;

    }

}



/* Hamburger default hidden */
