/* ===========================
   Launch Solutions — Style
   Color palette: Blue #1400FF / White #FFFFFF
   =========================== */

:root {
    --blue: #1400FF;
    --blue-dark: #0F00CC;
    --blue-darker: #0A0099;
    --blue-light: #4D3FFF;
    --blue-glow: rgba(20, 0, 255, 0.15);
    --blue-subtle: rgba(20, 0, 255, 0.04);
    --white: #ffffff;
    --off-white: #f7f8fc;
    --gray-100: #f0f1f5;
    --gray-200: #e2e4eb;
    --gray-500: #71757e;
    --gray-700: #3a3d45;
    --gray-900: #111218;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
}

/* === Reset === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* === Layout === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Typography === */
h1, h2, h3, h4 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }

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

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-white {
    background: var(--white);
    color: var(--blue);
    border-color: var(--white);
}
.btn-white:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.btn-blue {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}
.btn-blue:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--blue-glow);
}

.btn-full {
    width: 100%;
    margin-top: 24px;
}

/* =========================================
   NAVIGATION
   ========================================= */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--gray-200);
    padding: 8px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.logo-icon-img {
    height: 48px !important;
    width: 48px !important;
    max-height: 48px;
    max-width: 48px;
    object-fit: contain;
    border-radius: 50%;
    transition: var(--transition);
}

#navbar.scrolled .logo-icon-img {
    filter: none;
}

footer .logo-icon-img {
    filter: none;
}

.logo-text {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.2;
    color: var(--white);
    text-transform: uppercase;
}

#navbar.scrolled .logo-text {
    color: var(--blue);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--white);
}

#navbar.scrolled .nav-menu a {
    color: var(--gray-700);
}
#navbar.scrolled .nav-menu a:hover {
    color: var(--blue);
}

.nav-cta {
    background: var(--white);
    color: var(--blue) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600 !important;
}

#navbar.scrolled .nav-cta {
    background: var(--blue) !important;
    color: var(--white) !important;
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

#navbar.scrolled .nav-toggle span {
    background: var(--gray-900);
}

/* =========================================
   HERO
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--blue);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-darker) 50%, #050030 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: float-up linear infinite;
}

@keyframes float-up {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(0);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 24px;
}

.hero h1 .text-accent {
    background: linear-gradient(135deg, #a0c4ff, #bdb2ff, #ffc6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* =========================================
   SECTIONS — COMMON
   ========================================= */
.section-header {
    margin-bottom: 56px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-header-light .section-label {
    color: rgba(255,255,255,0.6);
}

.section-header-light h2 {
    color: var(--white);
}

/* =========================================
   ABOUT
   ========================================= */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text .lead {
    font-size: 1.15rem;
    color: var(--gray-900);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-text p {
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.7;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-200);
}

.value-item:first-child {
    padding-top: 0;
}

.value-item:last-child {
    border-bottom: none;
}

.value-number {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--blue);
    flex-shrink: 0;
    width: 32px;
}

.value-info h3 {
    margin-bottom: 4px;
}

.value-info p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* =========================================
   GAMES
   ========================================= */
.games {
    padding: 120px 0;
    background: var(--off-white);
}

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

.game-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

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

.game-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--gray-900);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    align-items: flex-end;
}

.game-genre {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.game-info {
    padding: 24px;
}

.game-info h3 {
    margin-bottom: 8px;
}

.game-info p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.5;
}

.game-status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.game-status.released {
    color: #16a34a;
}

.game-image-contain {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.game-image-contain img {
    object-fit: contain !important;
    width: 100%;
    height: 100%;
}

.game-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

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

/* =========================================
   SERVICES
   ========================================= */
.services {
    padding: 120px 0;
    background: var(--blue);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.04), transparent 70%);
    border-radius: 50%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.service-item {
    padding: 36px 28px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}

.service-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}

.service-icon {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.service-item h3 {
    color: var(--white);
    margin-bottom: 12px;
}

.service-item p {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* =========================================
   CONTACT
   ========================================= */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-text h2 {
    margin-bottom: 20px;
}

.contact-text p {
    color: var(--gray-500);
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-card {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--gray-200);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
}

.contact-method:last-of-type {
    border-bottom: none;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    color: var(--white);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact-method h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.contact-method a {
    font-weight: 600;
    color: var(--gray-900);
    transition: var(--transition);
}

.contact-method a:hover {
    color: var(--blue);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background: var(--gray-900);
    padding: 48px 0;
}

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

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

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

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu a {
        color: var(--gray-700) !important;
        padding: 16px 0;
        border-bottom: 1px solid var(--gray-100);
        display: block;
        font-size: 1rem;
    }

    .nav-cta {
        background: var(--blue) !important;
        color: var(--white) !important;
        text-align: center;
        margin-top: 16px;
        border: none;
    }

    .about-content,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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