:root {
    --primary: #6366f1;
    --secondary: #a855f7;
    --accent: #ec4899;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --gray: #64748b;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
}

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

/* Glassmorphism utility - Upgraded for 2026 */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.5);
}

/* Buttons - 2026 Glow */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.5);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px -10px rgba(99, 102, 241, 0.8);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

/* Navbar Upgraded */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 2.5rem 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: all 0.3s;
}

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

.nav-cta {
    padding: 0.8rem 2rem !important;
    font-size: 0.9rem !important;
}

nav.scrolled {
    padding: 1.2rem 0;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

/* Hero Section Refined */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 10rem;
    /* Increased to clear fixed nav */
    position: relative;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1), transparent), url('assets/hero.png') center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, var(--darker));
}

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

/* Contact Form Section */
.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    color: var(--light);
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* Floating Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Footer Bottom Polish */
.footer-bottom {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    background: var(--darker);
}

/* Safari Support Fixes */
.glass {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

nav.scrolled {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

/* 2026 World-Class Typography & Colors */
.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-accent {
    color: var(--accent);
}

.text-gray {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.text-gray-small {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Layout Utilities */
.center-btn {
    text-align: center;
    margin-top: 5rem;
}

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

.btn-outline:hover {
    background: var(--glass);
    border-color: var(--light);
}

/* Section Spacing */
section {
    padding: 12rem 0;
}

.games {
    padding-top: 5rem;
}

/* Components */
.floating-card {
    padding: 4rem;
    background: rgba(99, 102, 241, 0.04);
    border-radius: 3rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 3rem;
}

.feature-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.feature-list i {
    color: var(--primary);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.game-poster {
    position: relative;
    border-radius: 2.5rem;
}

.game-info h3 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-section {
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.1), transparent);
}

.form-status {
    display: none;
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.5s ease-out;
}

.form-status.active {
    display: block;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#contact-form.hidden {
    display: none;
}

.footer-desc {
    margin-bottom: 2rem;
    max-width: 400px;
}

.footer-contact {
    color: var(--light);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    color: var(--primary);
    margin-right: 1rem;
    width: 20px;
}

/* 2026 Background Glow */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    left: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent);
    z-index: -1;
    pointer-events: none;
}

/* Stats Section */
.stats {
    padding: 5rem 0;
}

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

.stat-item {
    text-align: center;
    padding: 2.5rem;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--light);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

/* Game Showcase */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.featured-game {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 8rem;
}

.game-poster {
    width: 100%;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
}

.game-poster img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}

.game-poster:hover img {
    transform: scale(1.05);
}

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

.game-card {
    padding: 1.5rem;
    transition: transform 0.3s;
}

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

.game-card img {
    width: 100%;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

/* Solutions Section - 2026 Upgrade */
.solutions-section {
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.05), transparent);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.solution-card {
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.solution-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    font-size: 2.2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.solution-card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Individual Card Glows */
.card-primary .solution-icon-wrapper {
    color: var(--primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
}

.card-secondary .solution-icon-wrapper {
    color: var(--secondary);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.1);
}

.card-accent .solution-icon-wrapper {
    color: var(--accent);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.1);
}

.solution-card:hover .solution-icon-wrapper {
    transform: translateY(-5px) scale(1.1);
}

.card-primary:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.15);
}

.card-secondary:hover {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.15);
}

.card-accent:hover {
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 0 60px rgba(236, 72, 153, 0.15);
}

/* Services (Cleanup if still exists) */
.service-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

/* Footer */
footer {
    padding: 5rem 0 2rem;
    background: var(--dark);
    margin-top: 8rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

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

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

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

.footer-links ul li a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--light);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .featured-game {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-links {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}