/* ============================================
   EXOCREW - Premium Apple-Inspired Design
   ============================================ */

/* CSS Variables */


/* CSS Variables */
:root {

    --color-bg: #000000;
    --color-bg-secondary: #0d0d0d;
    --color-bg-elevated: #1a1a1a;


    --color-text: #f5f5f7;
    --color-text-secondary: #a1a1a6;
    --color-text-tertiary: #6e6e73;


    --color-accent: #f5f5f0;
    --color-accent-secondary: #e8e4db;
    --color-accent-tertiary: #d4cfc4;
    --color-cta: #8B5CF6;
    --color-cta-hover: #7C3AED;

    /* Border */
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-accent: rgba(245, 158, 11, 0.3);

    /* Typography - Futuristic Gaming */
    --font-display: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --easing-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
    --easing-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--easing-smooth);
    --transition-medium: 0.5s var(--easing-smooth);
    --transition-slow: 0.8s var(--easing-smooth);

    /* Layout */
    --container-max: 1100px;
    --container-wide: 1400px;
    --container-full: 1600px;

    /* Glow Effects */
    --glow-accent: 0 0 40px rgba(245, 158, 11, 0.15);
    --glow-cta: 0 0 30px rgba(139, 92, 246, 0.2);
}


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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background: radial-gradient(ellipse at top, #1a1a1a 0%, #000000 50%, #000000 100%);
    background-attachment: fixed;
    color: var(--color-text);
    overflow-x: hidden;
    width: 100%;
    line-height: 1.47059;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(245, 245, 240, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(232, 228, 219, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body>* {
    position: relative;
    z-index: 1;
}

body.nav-open {
    overflow: hidden;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

::selection {
    background: rgba(245, 245, 240, 0.3);
    color: var(--color-text);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.022em;
    line-height: 1.08;
}

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

/* ============================================
   Navigation - Apple Style
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    --nav-height: 44px;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid var(--color-border);
    transition: background var(--transition-fast);
}

.nav-container {
    max-width: var(--container-max);
    width: 100%;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-text);
    transition: opacity var(--transition-fast);
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-link {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-text);
    transition: width var(--transition-medium);
}

.nav-link:hover {
    color: var(--color-text);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: rgba(40, 40, 40, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--color-text);
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.nav-toggle-text {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.02em;
    /* Tight spacing like the hero title */
    text-transform: uppercase;
    padding-top: 1px;

    /* Gradient Styling */
    background: linear-gradient(180deg,
            #ffffff 0%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-toggle-icon {
    width: 18px;
    height: 18px;
    display: block;
}

.nav-toggle-icon path {
    transition: d 0.3s var(--easing-smooth);
}

.nav-toggle:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(40, 40, 40, 0.6);
    transform: translateY(-1px);
}

.nav-toggle:active {
    transform: translateY(0);
}

/* Hide the old bars if referencing them anywhere else, or just replaced above */

.nav-mobile {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    width: min(82vw, 320px);
    height: calc(100vh - var(--nav-height));
    background: rgba(13, 13, 13, 0.98);
    border-left: 1px solid var(--color-border);
    transform: translateX(100%);
    transition: transform var(--transition-medium);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 24px;
    overflow-y: auto;
}

.nav-mobile.open {
    transform: translateX(0);
}

.nav-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nav-mobile .nav-link {
    font-size: 16px;
    color: var(--color-text);
}

.nav-mobile .nav-link.active {
    color: var(--color-accent);
}

.nav-mobile .nav-link::after {
    display: none;
}

.nav-mobile-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.nav-mobile-actions:empty {
    display: none;
}

.nav-overlay {
    position: fixed;
    inset: var(--nav-height) 0 0 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
    z-index: 9997;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ============================================
   Hero Section - Cinematic Apple Style
   ============================================ */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 24px;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(245, 245, 240, 0.05) 0%, transparent 70%);
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 70% at 50% -30%, rgba(245, 245, 240, 0.08), transparent 50%),
        radial-gradient(ellipse 80% 50% at 80% 20%, rgba(232, 228, 219, 0.06), transparent 40%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(212, 207, 196, 0.05), transparent 40%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 17px;
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s var(--easing-smooth) 0.2s forwards;
}

.hero-title {
    font-size: clamp(56px, 12vw, 96px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 20px;
    background: linear-gradient(180deg,
            #ffffff 0%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: heroTitleReveal 1.2s var(--easing-smooth) 0.4s forwards;
}

@keyframes heroTitleReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-subtitle {
    font-size: clamp(19px, 3vw, 24px);
    font-weight: 400;
    color: var(--color-text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s var(--easing-smooth) 0.7s forwards;
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 1s var(--easing-smooth) 1.2s forwards;
}

.scroll-indicator span {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    /* Balance letter-spacing (0.2em) by adding equal padding on the left */
    padding-left: 0.2em;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, var(--color-text-tertiary), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--color-text), transparent);
    animation: scrollLineMove 2s ease-in-out infinite;
}

@keyframes scrollLineMove {
    0% {
        top: -100%;
    }

    50% {
        top: 100%;
    }

    50.01% {
        top: -100%;
    }

    100% {
        top: -100%;
    }
}

/* ============================================
   Section Base Styles
   ============================================ */
section {
    padding: 100px 24px;
    position: relative;
}

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.section-title {
    font-size: clamp(40px, 8vw, 64px);
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 21px;
    font-weight: 400;
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 500px;
    margin: 0 auto 64px;
}

/* ============================================
   Reveal Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 0.8s var(--easing-smooth),
        transform 0.8s var(--easing-smooth);
}

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

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* Stagger animation for cards */
.reveal-stagger .reveal:nth-child(1) {
    transition-delay: 0s;
}

.reveal-stagger .reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal-stagger .reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal-stagger .reveal:nth-child(4) {
    transition-delay: 0.3s;
}

/* ============================================
   About Section - Large Statement
   ============================================ */
.about {
    background: var(--color-bg);
    padding: 120px 24px;
}

.about-text {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: var(--color-text);
    max-width: 900px;
    margin: 0 auto;
    letter-spacing: -0.02em;
}

.about-text .highlight {
    color: var(--color-text);
}

/* ============================================
   Stats Section - Key Numbers
   ============================================ */
.stats-section {
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.6) 0%, rgba(26, 26, 26, 0.8) 50%, rgba(13, 13, 13, 0.6) 100%);
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
}

.stats-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(245, 245, 240, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(40px, 8vw, 56px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-text);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   CTA Section - OrbitX Style
   ============================================ */
.cta-section {
    background: transparent;
    padding: 120px 24px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(245, 245, 240, 0.06), transparent 50%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-eyebrow {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.cta-title {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--color-text);
}

.cta-description {
    font-size: 17px;
    color: var(--color-text-secondary);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.5;
}

.cta-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--color-accent);
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    border-radius: 980px;
    transition: all 0.3s var(--easing-smooth);
}

.cta-link:hover {
    background: #e8e4db;
    transform: scale(1.02);
}

.cta-link-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: transparent;
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 500;
    border-radius: 980px;
    border: 1px solid var(--color-accent);
    transition: all 0.3s var(--easing-smooth);
}

.cta-link-secondary:hover {
    background: rgba(245, 245, 240, 0.1);
    transform: scale(1.02);
}

/* ============================================
   Team Intro Section
   ============================================ */
.team-intro {
    background: var(--color-bg);
    padding: 80px 24px;
    text-align: center;
}

.team-intro-text {
    font-size: clamp(21px, 4vw, 28px);
    font-weight: 400;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ============================================
   Team Section - Premium Cards with Descriptions
   ============================================ */
.team {
    background:
        radial-gradient(ellipse at top right, rgba(232, 228, 219, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(13, 13, 13, 0.9) 100%);
    padding: 80px 24px 120px;
    position: relative;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.team-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 40px;
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.5s var(--easing-smooth),
        box-shadow 0.5s var(--easing-smooth),
        border-color 0.5s var(--easing-smooth);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: radial-gradient(ellipse at 30% -30%, rgba(245, 245, 240, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--easing-smooth);
    pointer-events: none;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 245, 240, 0.25);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.25),
        0 0 80px rgba(245, 245, 240, 0.06);
}

.team-card:hover::before {
    opacity: 1;
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    position: relative;
    z-index: 1;
    transition: transform 0.5s var(--easing-bounce);
    flex-shrink: 0;
}

.team-card:hover .team-avatar {
    transform: scale(1.08);
}

.team-avatar-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    margin-bottom: 24px;
    border: 4px solid transparent;
    background: linear-gradient(var(--color-bg-elevated), var(--color-bg-elevated)) padding-box,
        linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary)) border-box;
    position: relative;
    z-index: 1;
    transition: transform 0.5s var(--easing-bounce), box-shadow 0.5s var(--easing-smooth);
    flex-shrink: 0;
}

.team-card:hover .team-avatar-img {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(245, 245, 240, 0.3);
}

.team-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.team-role {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.team-description {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.65;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* ============================================
   Values Section - Feature Cards
   ============================================ */
.values {
    background: var(--color-bg);
    padding: 120px 24px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.value-card {
    padding: 48px 40px;
    border-radius: 24px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.03) 0%,
            rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--color-border);
    transition:
        transform 0.5s var(--easing-smooth),
        border-color 0.5s var(--easing-smooth),
        background 0.5s var(--easing-smooth);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% -20%, rgba(245, 245, 240, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--easing-smooth);
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    filter: grayscale(0%);
    transition: transform 0.5s var(--easing-bounce);
}

.value-card:hover .value-icon {
    transform: scale(1.15) rotate(-5deg);
}

.value-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.value-description {
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* ============================================
   Quote Section - Inspirational Quote
   ============================================ */
.quote-section {
    background: var(--color-bg-secondary);
    padding: 100px 24px;
    position: relative;
}

.quote-section::before,
.quote-section::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.quote-section::before {
    top: 0;
}

.quote-section::after {
    bottom: 0;
}

.quote {
    text-align: center;
    margin: 0;
}

.quote-text {
    font-family: var(--font-display);
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 500;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.4;
    letter-spacing: -0.02em;
    max-width: 800px;
    margin: 0 auto 24px;
}

.quote-author {
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
    color: var(--color-text-tertiary);
    letter-spacing: 0.05em;
}

/* ============================================
   Timeline Section - Apple Style
   ============================================ */
.timeline {
    background: var(--color-bg-secondary);
    padding: 120px 24px;
}

.timeline-container {
    max-width: 800px;
    margin: 64px auto 0;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,
            var(--color-accent) 0%,
            var(--color-accent-secondary) 50%,
            var(--color-accent-tertiary) 100%);
    opacity: 0.5;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 48px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 1;
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-text);
    text-align: right;
    line-height: 1;
}

.timeline-item:nth-child(even) .timeline-year {
    text-align: left;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--color-accent);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(245, 245, 240, 0.4);
    transition: transform 0.3s var(--easing-bounce);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
}

.timeline-content {
    flex: 1;
}

.timeline-title {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-description {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ============================================
   Page Hero - Subpages Header
   ============================================ */
.page-hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
    background: var(--color-bg);
}

.page-hero .hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 70% at 50% -30%, rgba(245, 245, 240, 0.08), transparent 50%),
        radial-gradient(ellipse 80% 50% at 80% 20%, rgba(232, 228, 219, 0.06), transparent 40%);
}

/* ============================================
   Games Intro Section
   ============================================ */
.games-intro {
    background: var(--color-bg);
    padding: 80px 24px;
    text-align: center;
}

.games-intro-text {
    font-size: clamp(21px, 4vw, 28px);
    font-weight: 400;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.5;
}

.games-platforms {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.platform-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 980px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    letter-spacing: 0.02em;
    transition: all 0.3s var(--easing-smooth);
}

.platform-tag:hover {
    border-color: var(--color-accent);
    color: var(--color-text);
}

/* ============================================
   Games Page - Premium Cards
   ============================================ */

.games-section {
    background: var(--color-bg-secondary);
    padding: 80px 24px 120px;
}

.game-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 48px;
    margin-bottom: 24px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    transition:
        transform 0.5s var(--easing-smooth),
        box-shadow 0.5s var(--easing-smooth),
        border-color 0.5s var(--easing-smooth);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(ellipse at 20% -50%, rgba(245, 245, 240, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--easing-smooth);
    pointer-events: none;
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 245, 240, 0.25);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.25),
        0 0 80px rgba(245, 245, 240, 0.06);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:last-child {
    margin-bottom: 0;
}

.game-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--color-bg), var(--color-bg-secondary));
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.5s var(--easing-bounce);
}

.game-card:hover .game-icon {
    transform: scale(1.1) rotate(-5deg);
}

.game-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.game-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.game-developer {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.game-description {
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Nav Link Active State */
.nav-link.active {
    color: var(--color-text);
}

.nav-link.active::after {
    width: 100%;
    background: var(--color-accent);
}

/* Additional reveal delays */
.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-delay-6 {
    transition-delay: 0.6s;
}

/* ============================================
   Footer - Minimal Apple Style
   ============================================ */
/* ============================================
   Footer - Minimal Apple Style
   ============================================ */
.footer {
    padding: 60px 24px;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-text);
}

.footer-contact {
    text-align: center;
    width: 100%;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.footer-contact h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.contact-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    background: var(--color-bg-elevated);
    border-radius: 8px;
    border: 1px solid transparent;
}

.contact-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
    pointer-events: none;
}

.contact-link:hover {
    color: var(--color-accent);
    background: var(--color-bg-secondary);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.footer-copyright {
    margin-top: 40px;
    text-align: center;
    color: var(--color-text-tertiary);
    font-size: 12px;
}

@media (max-width: 768px) {
    .contact-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .contact-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}



/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-max: 100%;
    }

    .navbar {
        height: 48px;
        --nav-height: 48px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-right {
        gap: 8px;
    }

    section {
        padding: 80px 20px;
    }

    .about {
        padding: 100px 20px;
    }

    .about-text {
        font-size: clamp(24px, 6vw, 32px);
    }

    /* Stats Mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
    }

    .stat-number {
        font-size: clamp(32px, 10vw, 40px);
    }

    /* CTA Mobile */
    .cta-section {
        padding: 80px 20px;
    }

    .cta-title {
        font-size: clamp(28px, 7vw, 36px);
    }

    .cta-links {
        flex-direction: column;
        align-items: center;
    }

    .cta-link,
    .cta-link-secondary {
        width: 100%;
        max-width: 280px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-card {
        padding: 32px 24px;
    }

    .team-avatar {
        width: 64px;
        height: 64px;
        font-size: 24px;
    }

    .team-name {
        font-size: 20px;
    }

    .team-description {
        font-size: 13px;
    }

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

    .value-card {
        padding: 32px 24px;
    }

    /* Page Hero Mobile */
    .page-hero {
        min-height: 40vh;
        padding: 100px 20px 60px;
    }

    /* Games Mobile */

    .game-card {
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
    }

    .game-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
        border-radius: 16px;
    }

    .game-title {
        font-size: 22px;
    }

    .game-description {
        font-size: 14px;
    }

    /* Timeline Mobile */
    .timeline-container::before {
        left: 16px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 48px;
        gap: 12px;
    }

    .timeline-dot {
        position: absolute;
        left: 8px;
        top: 16px;
    }

    .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        text-align: left;
        font-size: clamp(32px, 10vw, 48px);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(40px, 14vw, 56px);
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .section-title {
        font-size: clamp(32px, 10vw, 48px);
    }

    .section-subtitle {
        font-size: 17px;
    }

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

    .footer-links {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* ============================================
   Smooth Scroll & Performance
   ============================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Hardware acceleration for animations */
.reveal,
.team-card,
.value-card,
.timeline-item {
    will-change: transform, opacity;
}

/* ============================================
   Carousel - Team Section (Infinite Scroll)
   ============================================ */

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 80px;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    border-radius: 24px;
}

.carousel-track {
    display: flex;
    gap: 0;
    /* No gap for single item display */
    list-style: none;
    margin: 0;
    padding: 24px 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-item {
    flex: 0 0 100%;
    /* One item visible at a time */
    min-width: 100%;
    max-width: 1000px;
}

.carousel-item .team-card {
    height: 100%;
    margin: 0;
    transition: transform 0.3s var(--easing-smooth), box-shadow 0.3s var(--easing-smooth);
}

.carousel-item .team-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Navigation Buttons */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s var(--easing-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-button--left {
    left: 8px;
}

.carousel-button--right {
    right: 8px;
}

.carousel-button.is-hidden {
    opacity: 0;
    pointer-events: none;
}

/* Remove old indicators - no longer needed */
.carousel-nav {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .carousel-container {
        padding: 0 60px;
    }
}


@media (max-width: 768px) {
    .carousel-container {
        padding: 0 50px;
    }

    .carousel-button {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        padding: 0 10px;
    }

    .carousel-button {
        width: 36px;
        height: 36px;
        opacity: 0.7;
    }

    .carousel-button--left {
        left: 4px;
    }

    .carousel-button--right {
        right: 4px;
    }
}

/* ============================================
   Shop / Products Section
   ============================================ */

.shop-intro {
    padding: 80px 24px 40px;
    text-align: center;
}

.shop-intro-text {
    font-size: clamp(18px, 3vw, 21px);
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.products {
    padding: 40px 24px 120px;
    background: radial-gradient(ellipse at top, rgba(245, 245, 240, 0.03) 0%, transparent 60%);
    position: relative;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    max-width: var(--container-wide);
    margin: 0 auto;
}

.product-card {
    background: var(--color-bg-elevated);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    position: relative;
    transition: transform var(--transition-medium),
        box-shadow var(--transition-medium),
        border-color var(--transition-medium);
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(245, 245, 240, 0.1), transparent 50%, rgba(232, 228, 219, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-medium);
    pointer-events: none;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 245, 240, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(245, 245, 240, 0.08);
}

.product-image-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg,
            rgba(245, 245, 240, 0.08),
            rgba(232, 228, 219, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--color-border);
}

.product-image-placeholder .placeholder-text {
    font-size: 14px;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-bottom: 1px solid var(--color-border);
    transition: transform var(--transition-medium);
}

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

.product-image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

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

.product-info {
    padding: 24px;
    text-align: center;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.product-price {
    font-size: 16px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 20px;
}

.product-button {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.product-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(245, 245, 240, 0.25);
}

/* Shop Responsive */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .product-info {
        padding: 16px;
    }

    .product-name {
        font-size: 15px;
    }

    .product-price {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .product-button {
        padding: 10px 24px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Cart Icon in Navbar
   ============================================ */

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.cart-icon:hover {
    color: var(--color-text);
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background: var(--color-accent);
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    display: none;
    /* Hidden by default, shown by JS when count > 0 */
    align-items: center;
    justify-content: center;
}

/* ============================================
   Product Page
   ============================================ */

.product-page {
    padding: 120px 24px 80px;
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(245, 245, 240, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(232, 228, 219, 0.03) 0%, transparent 50%);
    position: relative;
}

.product-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 100px;
    display: flex;
    gap: 16px;
}

.product-main-media {
    flex: 1;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    position: relative;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.product-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-placeholder.large {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 245, 240, 0.08), rgba(232, 228, 219, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-placeholder.small {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 245, 240, 0.06), rgba(232, 228, 219, 0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--color-text-tertiary);
}

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 80px;
    flex-shrink: 0;
    order: -1;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--color-border);
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.product-thumbnail.video-thumb {
    position: relative;
}

.product-thumbnail.video-thumb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpolygon points='9,6 9,18 18,12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.product-thumbnail.active,
.product-thumbnail:hover {
    border-color: var(--color-accent);
}

.main-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: opacity 0.3s ease;
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    padding-top: 20px;
}

.product-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.product-description {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.product-option {
    margin-bottom: 24px;
}

.option-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}

.size-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.size-btn {
    min-width: 48px;
    height: 48px;
    padding: 0 16px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.size-btn:hover {
    border-color: var(--color-accent);
}

.size-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #1a1a1a;
}

/* Color Selector */
.color-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.color-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 8px;
    background: var(--color-bg-elevated);
    border: 2px solid var(--color-border);
    border-radius: 24px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.color-btn.active {
    border-color: var(--color-accent);
    background: rgba(245, 245, 240, 0.1);
}

.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.color-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 4px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 20px;
    cursor: pointer;
    border-radius: 6px;
    transition: background var(--transition-fast);
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.qty-value {
    font-size: 16px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.product-price-large {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-accent);
    margin: 32px 0;
}

.add-to-cart-btn {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    border: none;
    border-radius: 12px;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 245, 240, 0.25);
}

/* Product Actions (Cart + Favorites) */
.product-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.product-actions .add-to-cart-btn {
    flex: 1;
}

.favorite-btn {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.favorite-btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-text);
    fill: none;
    transition: all var(--transition-fast);
}

.favorite-btn:hover {
    border-color: var(--color-accent);
}

.favorite-btn:hover svg {
    stroke: var(--color-accent);
}

.favorite-btn.active svg {
    fill: var(--color-accent);
    stroke: var(--color-accent);
}

.product-info-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.info-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.info-list {
    list-style: none;
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

.info-text {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================
   Cart Page
   ============================================ */

.cart-page {
    padding: 120px 24px 80px;
    min-height: 100vh;
}

.cart-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

.cart-empty {
    text-align: center;
    padding: 80px 24px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.cart-empty h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.cart-empty p {
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.continue-shopping-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    color: #1a1a1a;
    font-weight: 600;
    border-radius: 50px;
    transition: transform var(--transition-fast);
}

.continue-shopping-btn:hover {
    transform: scale(1.05);
}

.cart-content {
    max-width: 900px;
    margin: 0 auto;
}

.cart-items {
    margin-bottom: 48px;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 24px;
    background: var(--color-bg-elevated);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    margin-bottom: 16px;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-size {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-accent);
    min-width: 80px;
    text-align: right;
}

.cart-item-remove {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-tertiary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.cart-item-remove:hover {
    border-color: var(--color-accent-tertiary);
    color: var(--color-accent-tertiary);
}

.cart-summary {
    background: var(--color-bg-elevated);
    border-radius: 20px;
    border: 1px solid var(--color-border);
    padding: 32px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 15px;
    color: var(--color-text-secondary);
}

.cart-summary-row.total {
    border-top: 1px solid var(--color-border);
    margin-top: 16px;
    padding-top: 24px;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
}

.checkout-btn {
    display: block;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    color: #1a1a1a;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    margin-top: 24px;
    transition: transform var(--transition-fast);
}

.checkout-btn:hover {
    transform: translateY(-2px);
}

.continue-shopping-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: var(--color-text-secondary);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.continue-shopping-link:hover {
    color: var(--color-accent);
}

/* ============================================
   Checkout Page
   ============================================ */

.checkout-page {
    padding: 120px 24px 80px;
    min-height: 100vh;
}

.checkout-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

.checkout-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: start;
}

.form-section {
    margin-bottom: 40px;
}

.form-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: var(--color-text);
    font-size: 15px;
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
}

.payment-placeholder {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.payment-placeholder p {
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.payment-note {
    font-size: 13px;
    color: var(--color-text-tertiary);
}

.submit-order-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    border: none;
    border-radius: 12px;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.submit-order-btn:hover {
    transform: translateY(-2px);
}

.order-summary {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 32px;
    position: sticky;
    top: 100px;
}

.order-summary-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.order-items {
    margin-bottom: 24px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}

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

.order-item-price {
    font-weight: 600;
}

.order-totals {
    padding-top: 16px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.order-row.total {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid var(--color-border);
}

/* ============================================
   Cart Notification
   ============================================ */

.cart-notification {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-accent);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.cart-notification:hover {
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.5);
    transform: translateX(-50%) translateY(-2px);
}

.cart-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cart-notification.show:hover {
    transform: translateX(-50%) translateY(-2px);
}

.cart-notification svg {
    color: var(--color-accent);
}

/* ============================================
   E-commerce Responsive
   ============================================ */

@media (max-width: 900px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-gallery {
        position: static;
        flex-direction: column;
    }

    .product-thumbnails {
        flex-direction: row;
        width: 100%;
        order: 1;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .product-thumbnails::-webkit-scrollbar {
        height: 4px;
    }

    .product-thumbnails::-webkit-scrollbar-thumb {
        background: var(--color-border);
        border-radius: 2px;
    }

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

    .order-summary {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: 12px;
    }

    .cart-item-quantity,
    .cart-item-price,
    .cart-item-remove {
        grid-column: 2;
    }

    .nav-container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Profile Modal
   ============================================ */

.profile-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.profile-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.profile-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: rotate(90deg);
}

.modal-image-container {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(245, 245, 240, 0.08), rgba(232, 228, 219, 0.06));
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-modal.active .modal-image {
    animation: zoomIn 0.6s ease forwards;
}

@keyframes zoomIn {
    0% {
        transform: scale(1.2);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-info {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.modal-name {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.modal-role {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 24px;
}

.modal-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

/* Team card clickable cursor */
.team-card {
    cursor: pointer;
}

.team-card:active {
    transform: scale(0.98);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
        max-height: 85vh;
    }

    .modal-image-container {
        aspect-ratio: 4 / 3;
        max-height: 300px;
    }

    .modal-info {
        padding: 32px 24px;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   Authentication System Styles
   ============================================ */

/* Nav Actions Container */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Auth Button in Header */
.auth-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 980px;
    color: rgba(245, 245, 247, 0.2);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    height: 32px;
    /* Smooth fade-in transition */
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        visibility 0.8s,
        color 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-color var(--transition-fast);
}

.auth-btn.ready {
    opacity: 1;
    visibility: visible;
    color: var(--color-text-secondary);
}

.auth-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-text);
}

.auth-btn.logged-in {
    border-color: var(--color-accent);
    color: var(--color-text);
}

.auth-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Auth Modal */
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal .modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.auth-modal-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 40px;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-modal.active .auth-modal-content {
    transform: scale(1) translateY(0);
}

.auth-modal .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.auth-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-text);
}

.auth-modal .modal-close svg {
    width: 16px;
    height: 16px;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.auth-tab:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-text);
}

.auth-tab.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #1a1a1a;
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-form.hidden {
    display: none;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form .form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.auth-form .form-group input {
    padding: 14px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-text);
    font-size: 15px;
    transition: all var(--transition-fast);
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(245, 245, 240, 0.1);
}

.auth-form .form-group input::placeholder {
    color: var(--color-text-tertiary);
}

.auth-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    border: none;
    border-radius: 12px;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: all var(--transition-fast);
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 245, 240, 0.2);
}

.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.forgot-password-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: var(--color-text-secondary);
    font-size: 13px;
    transition: color var(--transition-fast);
}

.forgot-password-link:hover {
    color: var(--color-text);
}

/* Auth Error */
.auth-error {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
    border-radius: 12px;
    color: #ff6b6b;
    font-size: 13px;
    text-align: center;
    display: none;
}

.auth-error.show {
    display: block;
}

/* Auth Notification */
.auth-notification {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    z-index: 10002;
    opacity: 0;
    transition: all 0.3s var(--easing-bounce);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.auth-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.auth-notification svg {
    color: #34c759;
}

/* Checkout Auth Section */
.checkout-auth-section {
    margin-bottom: 32px;
    padding: 24px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.checkout-auth-section.hidden {
    display: none;
}

.auth-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.auth-prompt p {
    color: var(--color-text-secondary);
    font-size: 14px;
}

.auth-prompt-btn {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--color-accent);
    border-radius: 980px;
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.auth-prompt-btn:hover {
    background: var(--color-accent);
    color: #1a1a1a;
}

/* Checkout User Info (when logged in) */
.checkout-user-info {
    margin-bottom: 32px;
    padding: 20px 24px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.checkout-user-info.hidden {
    display: none;
}

.user-info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-greeting {
    font-size: 15px;
    color: var(--color-text);
}

.user-greeting strong {
    color: var(--color-accent);
}

.change-user-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 980px;
    color: var(--color-text-secondary);
    font-size: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.change-user-btn:hover {
    border-color: var(--color-text-secondary);
    color: var(--color-text);
}

/* ============================================
   Account Page Styles
   ============================================ */

.account-page {
    padding: 120px 24px 80px;
    min-height: 100vh;
}

.account-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.03em;
}

.account-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}

/* Account Navigation */
.account-nav {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 16px;
    position: sticky;
    top: 100px;
}

.account-nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
}

.account-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
}

.account-nav-item.active {
    background: var(--color-accent);
    color: #1a1a1a;
}

.account-nav-item.logout {
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    color: #ff6b6b;
}

.account-nav-item.logout:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

.account-nav-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Account Content Sections */
.account-content {
    min-height: 400px;
}

.account-section {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 32px;
}

.account-section.hidden {
    display: none;
}

.account-section .section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: left;
}

/* Order Card */
.order-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    transition: border-color var(--transition-fast);
}

.order-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-id {
    font-weight: 600;
    font-size: 15px;
}

.order-date {
    font-size: 13px;
    color: var(--color-text-secondary);
}

.order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.order-status.delivered {
    background: rgba(52, 199, 89, 0.15);
    color: #34c759;
}

.order-status.pending {
    background: rgba(255, 159, 10, 0.15);
    color: #ff9f0a;
}

.order-status.paid {
    background: rgba(52, 199, 89, 0.15);
    color: #34c759;
}

.order-status.processing {
    background: rgba(255, 159, 10, 0.15);
    color: #ff9f0a;
}

.order-status.shipped {
    background: rgba(10, 132, 255, 0.15);
    color: #0a84ff;
}

.order-status.cancelled {
    background: rgba(255, 59, 48, 0.15);
    color: #ff3b30;
}

.order-items-preview {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.order-item-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--color-bg-secondary);
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    font-weight: 600;
}

.order-total-label {
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* Empty Orders State */
.orders-empty {
    text-align: center;
    padding: 48px 24px;
}

.orders-empty.hidden {
    display: none;
}

.orders-empty p {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.orders-empty .cta-link {
    display: inline-block;
    padding: 12px 24px;
    background: var(--color-accent);
    color: #1a1a1a;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.orders-empty .cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 245, 240, 0.2);
}

/* Favorites Section */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.favorites-grid.hidden {
    display: none;
}

.favorite-item {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.favorite-item:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.favorite-item-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.favorite-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-item-info {
    padding: 16px;
}

.favorite-item-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.favorite-item-price {
    font-size: 14px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.favorite-item-actions {
    display: flex;
    gap: 8px;
}

.favorite-item-actions button {
    flex: 1;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.favorite-view-btn {
    background: var(--color-accent);
    border: none;
    color: #1a1a1a;
}

.favorite-view-btn:hover {
    transform: translateY(-1px);
}

.favorite-remove-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.favorite-remove-btn:hover {
    border-color: #ff4757;
    color: #ff4757;
}

/* Empty Favorites State */
.favorites-empty {
    text-align: center;
    padding: 48px 24px;
}

.favorites-empty.hidden {
    display: none;
}

.favorites-empty svg {
    color: var(--color-text-tertiary);
    margin-bottom: 16px;
}

.favorites-empty p {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.favorites-empty .cta-link {
    display: inline-block;
    padding: 12px 24px;
    background: var(--color-accent);
    color: #1a1a1a;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.favorites-empty .cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 245, 240, 0.2);
}

/* Profile Form */
.profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.profile-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-form .form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.profile-form .form-group input {
    padding: 14px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-text);
    font-size: 15px;
    transition: all var(--transition-fast);
}

.profile-form .form-group input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(245, 245, 240, 0.1);
}

.profile-form .form-group input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.save-btn {
    align-self: flex-start;
    padding: 14px 32px;
    background: var(--color-accent);
    border: none;
    border-radius: 12px;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-top: 8px;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 245, 240, 0.2);
}

.save-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Address Card */
.address-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 24px;
}

.address-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.address-card p {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.address-card .edit-address-btn {
    margin-top: 16px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 980px;
    color: var(--color-text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.address-card .edit-address-btn:hover {
    border-color: var(--color-text);
    color: var(--color-text);
}

/* Password Form */
.password-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
}

.password-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.password-form .form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.password-form .form-group input {
    padding: 14px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-text);
    font-size: 15px;
    transition: all var(--transition-fast);
}

.password-form .form-group input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(245, 245, 240, 0.1);
}

/* ============================================
   Address Autocomplete & Geolocation
   ============================================ */

.address-search-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.address-search-container input {
    flex: 1;
}

.geolocation-btn {
    background: #f5f5f7;
    border: 1px solid #d1d1d6;
    border-radius: 8px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1d1d1f;
    flex-shrink: 0;
}

.geolocation-btn:hover {
    background: #e8e8ed;
    transform: scale(1.05);
}

.geolocation-btn:active {
    transform: scale(0.95);
}

.geolocation-btn.loading {
    opacity: 0.6;
    pointer-events: none;
}

.geolocation-btn svg {
    color: #007AFF;
}

.address-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 48px;
    background: white;
    border: 1px solid #d1d1d6;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.address-suggestions.active {
    display: block;
}

.address-suggestion-item,
.suggestion-item {
    padding: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f5f5f7;
}

.address-suggestion-item:last-child,
.suggestion-item:last-child {
    border-bottom: none;
}

.address-suggestion-item:hover,
.suggestion-item:hover {
    background-color: #f5f5f7;
}

.address-suggestion-item.active,
.suggestion-item.active {
    background-color: #e8e8ed;
}

.address-suggestion-item.no-result,
.suggestion-item.no-results {
    color: #86868b;
    cursor: default;
    text-align: center;
}

.address-suggestion-item.no-result:hover,
.suggestion-item.no-results:hover {
    background-color: transparent;
}

.address-suggestion-item.error {
    color: #ff3b30;
    cursor: default;
    text-align: center;
}

.address-suggestion-item.error:hover {
    background-color: transparent;
}

.suggestion-address,
.suggestion-main {
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.suggestion-city,
.suggestion-secondary {
    font-size: 13px;
    color: #86868b;
}

.geo-loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #007AFF;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Account Page Responsive */
@media (max-width: 900px) {
    .account-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .account-nav {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
    }

    .account-nav-item {
        flex: 1;
        min-width: 100px;
        justify-content: center;
        padding: 12px;
        font-size: 13px;
    }

    .account-nav-item span {
        display: none;
    }

    .account-nav-item svg {
        width: 24px;
        height: 24px;
    }

    .account-nav-item.logout {
        margin-top: 0;
        padding-top: 12px;
        border-top: none;
    }

    .profile-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .auth-btn .auth-btn-text {
        display: none;
    }

    .auth-btn {
        width: 32px;
        height: 32px;
        padding: 0;
        justify-content: center;
    }

    .auth-modal-content {
        padding: 32px 24px;
    }

    .auth-form .form-row {
        grid-template-columns: 1fr;
    }

    .order-header {
        flex-direction: column;
        gap: 12px;
    }

    /* Address autocomplete responsive */
    .address-suggestions {
        right: 56px;
        max-height: 250px;
    }

    .geolocation-btn {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .account-section {
        padding: 24px 16px;
    }

    .order-card {
        padding: 16px;
    }
}

/* ============================================
   DESKTOP ENHANCEMENTS - New Sections
   ============================================ */

/* Hero Enhanced with animated background grid */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0;
    animation: gridFadeIn 2s ease-out 0.5s forwards;
}

@keyframes gridFadeIn {
    to {
        opacity: 1;
    }
}

.hero-logo-float {
    position: absolute;
    width: 300px;
    height: 300px;
    opacity: 0.06;
    animation: floatLogo 20s ease-in-out infinite;
    pointer-events: none;
}

.hero-logo-float.left {
    left: 5%;
    top: 20%;
}

.hero-logo-float.right {
    right: 5%;
    bottom: 20%;
    animation-delay: -10s;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

/* ============================================
   About Section - Two Columns Layout
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: var(--container-wide);
    margin: 0 auto;
}

.about-content {
    text-align: left;
}

.about-content .about-text {
    text-align: left;
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: 32px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--color-bg-elevated);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: all 0.3s var(--easing-smooth);
}

.about-feature:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.about-feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.about-feature-text p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

.about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.about-image-main {
    width: 100%;
    border-radius: 24px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.about-image-main img {
    width: 100%;
    height: auto;
    display: block;
}

.about-floating-card {
    position: absolute;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 16px 20px;
    backdrop-filter: blur(20px);
    animation: floatCard 6s ease-in-out infinite;
}

.about-floating-card.card-1 {
    top: -20px;
    right: -40px;
    animation-delay: 0s;
}

.about-floating-card.card-2 {
    bottom: 40px;
    left: -60px;
    animation-delay: -3s;
}

@keyframes floatCard {

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

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

.floating-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-accent);
}

.floating-stat-label {
    font-size: 12px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   Stats Section Enhanced - With Icons
   ============================================ */
.stats-section.enhanced {
    padding: 120px 24px;
}

.stats-section.enhanced .stats-grid {
    max-width: var(--container-wide);
    margin: 0 auto;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item.enhanced {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 40px 24px;
    transition: all 0.4s var(--easing-smooth);
}

.stat-item.enhanced:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    transition: transform 0.4s var(--easing-bounce);
}

.stat-item.enhanced:hover .stat-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* ============================================
   Games/Partners Showcase Section
   ============================================ */
.games-showcase {
    background: var(--color-bg);
    padding: 100px 24px;
    overflow: hidden;
}

.games-showcase-header {
    text-align: center;
    margin-bottom: 60px;
}

.games-showcase-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    margin-bottom: 16px;
}

.games-showcase-subtitle {
    font-size: 17px;
    color: var(--color-text-secondary);
}

.games-scroll {
    display: flex;
    gap: 24px;
    animation: scrollGames 30s linear infinite;
    width: max-content;
}

.games-scroll:hover {
    animation-play-state: paused;
}

@keyframes scrollGames {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.game-logo-card {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s var(--easing-smooth);
    cursor: pointer;
}

.game-logo-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.game-logo-card img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s var(--easing-smooth);
}

.game-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.game-logo-card span {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color 0.3s;
}

.game-logo-card:hover span {
    color: var(--color-text);
}

/* ============================================
   Gallery / Moments Section
   ============================================ */
.moments-section {
    background: var(--color-bg-secondary);
    padding: 120px 24px;
}

.moments-header {
    text-align: center;
    margin-bottom: 60px;
}

.moments-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    margin-bottom: 16px;
}

.moments-subtitle {
    font-size: 17px;
    color: var(--color-text-secondary);
}

.moments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 16px;
    max-width: var(--container-full);
    margin: 0 auto;
}

.moment-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-bg-elevated);
    cursor: pointer;
    transition: all 0.4s var(--easing-smooth);
}

.moment-card:hover {
    transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.moment-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.moment-card.wide {
    grid-column: span 2;
}

.moment-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--easing-smooth);
}

.moment-card:hover img {
    transform: scale(1.1);
}

.moment-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.moment-card:hover .moment-overlay {
    opacity: 1;
}

.moment-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.moment-info p {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin: 0;
}

.moment-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(245, 245, 240, 0.05), rgba(232, 228, 219, 0.03));
}

.moment-placeholder-icon {
    font-size: 32px;
    opacity: 0.5;
}

.moment-placeholder-text {
    font-size: 13px;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   Footer Enhanced - 4 Columns
   ============================================ */
.footer.enhanced {
    padding: 80px 24px 40px;
}

.footer.enhanced .footer-content {
    max-width: var(--container-wide);
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    align-items: start;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .footer-logo {
    font-size: 24px;
    margin-bottom: 16px;
}

.footer-brand-text {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: all 0.3s var(--easing-smooth);
}

.social-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-column h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: var(--color-text);
}

.footer-column-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column-links a {
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: color 0.3s;
}

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

.footer-bottom {
    grid-column: 1 / -1;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

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

.footer-bottom-links a {
    font-size: 12px;
    color: var(--color-text-tertiary);
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--color-text-secondary);
}

.footer-copyright-new {
    font-size: 12px;
    color: var(--color-text-tertiary);
}

/* ============================================
   Product Grid Enhanced
   ============================================ */
.product-grid.enhanced {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: var(--container-full);
}

.product-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.product-featured .product-image-container {
    aspect-ratio: 1 / 1;
}

.product-featured .product-info {
    padding: 32px;
}

.product-featured .product-name {
    font-size: 24px;
}

.product-featured .product-price {
    font-size: 20px;
}

/* ============================================
   Visual Elements - Lines & Textures
   ============================================ */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    margin: 0;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: 0.5;
}

.glow-orb.primary {
    width: 400px;
    height: 400px;
    background: rgba(245, 245, 240, 0.08);
}

.glow-orb.secondary {
    width: 300px;
    height: 300px;
    background: rgba(232, 228, 219, 0.06);
}

/* ============================================
   Desktop Responsive Adjustments
   ============================================ */
@media (min-width: 1200px) {
    .section-container {
        max-width: var(--container-max);
    }

    .section-container.wide {
        max-width: var(--container-wide);
    }
}

@media (max-width: 1200px) {
    .about-grid {
        gap: 60px;
    }

    .moments-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 200px);
    }

    .moment-card.large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .product-grid.enhanced {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer.enhanced .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 1024px) {
    .stats-section.enhanced .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid.enhanced {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-featured {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content .about-text {
        text-align: center;
    }

    .about-visual {
        order: -1;
    }

    .about-floating-card {
        display: none;
    }

    .moments-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 180px);
    }

    .moment-card.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .moment-card.wide {
        grid-column: span 2;
    }

    .game-logo-card {
        width: 140px;
        height: 140px;
    }

    .footer.enhanced .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand .footer-logo {
        text-align: center;
    }

    .footer-brand-text {
        text-align: center;
        max-width: 90%;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-column {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-column h4 {
        text-align: center;
    }

    .footer-column-links {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .footer-bottom-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        width: 100%;
    }

    .footer-bottom-links a {
        text-align: center;
        display: block;
        width: 100%;
    }

    .footer-copyright-new {
        text-align: center;
        width: 100%;
    }

    .hero-logo-float {
        display: none;
    }
}

@media (max-width: 480px) {
    .moments-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 200px);
    }

    .moment-card.large,
    .moment-card.wide {
        grid-column: span 1;
    }

    .stat-item.enhanced {
        padding: 24px 16px;
    }

    .product-grid.enhanced {
        grid-template-columns: 1fr;
    }

    .product-featured {
        grid-column: span 1;
    }
}

/* ============================================
   Team Page - Image Grid Preview
   ============================================ */
.team-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 16px;
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
}

.team-preview-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    transition: transform 0.3s var(--easing-smooth), box-shadow 0.3s var(--easing-smooth);
}

.team-preview-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 1;
    position: relative;
}

@media (max-width: 768px) {
    .team-image-grid {
        gap: 6px;
        padding: 12px;
    }

    .team-preview-img {
        border-radius: 8px;
    }
}

/* ============================================
   Team Section Header
   ============================================ */
.team-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.team-section-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    background: linear-gradient(180deg,
            #ffffff 0%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-section-subtitle {
    font-size: 17px;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ============================================
   LAUNCH ANNOUNCEMENT - Collection 2026
   ============================================ */

/* Top Banner */
.launch-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(135deg,
            rgba(26, 26, 26, 0.98) 0%,
            rgba(40, 40, 40, 0.98) 50%,
            rgba(26, 26, 26, 0.98) 100%);
    background-size: 200% 100%;
    animation: gradientShift 8s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 10000;
    border-bottom: 1px solid rgba(245, 245, 240, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.launch-banner-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.02em;
}

.launch-banner-text strong {
    font-weight: 700;
    color: #ffffff;
}

/* Countdown */
.countdown {
    display: flex;
    gap: 8px;
    align-items: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(245, 245, 240, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 8px;
    min-width: 44px;
    border: 1px solid rgba(245, 245, 240, 0.15);
}

.countdown-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-size: 8px;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.countdown-separator {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-tertiary);
    margin: 0 -2px;
}

.launch-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--color-accent);
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 600;
    border-radius: 980px;
    transition: all 0.3s var(--easing-smooth);
    text-decoration: none;
}

.launch-banner-cta:hover {
    background: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.launch-banner-cta svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s var(--easing-smooth);
}

.launch-banner-cta:hover svg {
    transform: translateX(2px);
}

/* Adjust navbar when banner is present */
body.has-launch-banner .navbar {
    top: 40px;
}

body.has-launch-banner .nav-mobile {
    top: calc(var(--nav-height) + 40px);
}

body.has-launch-banner .nav-overlay {
    top: calc(var(--nav-height) + 40px);
}

body.has-launch-banner .hero,
body.has-launch-banner .page-hero {
    padding-top: 40px;
}

/* ============================================
   Launch Section - Homepage
   ============================================ */
.launch-section {
    padding: 80px 24px 100px;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(245, 245, 240, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(232, 228, 219, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(13, 13, 13, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.launch-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 245, 240, 0.2), transparent);
}

.launch-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.launch-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(245, 245, 240, 0.08);
    border: 1px solid rgba(245, 245, 240, 0.15);
    border-radius: 980px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.launch-eyebrow-icon {
    font-size: 14px;
}

.launch-title {
    font-size: clamp(36px, 7vw, 56px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    background: linear-gradient(180deg,
            #ffffff 0%,
            var(--color-accent) 50%,
            var(--color-accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.launch-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin: 0 auto 48px;
    line-height: 1.5;
}

.launch-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(245, 245, 240, 0.15);
    border-radius: 16px;
    margin-bottom: 48px;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(245, 245, 240, 0.05);
        border-color: rgba(245, 245, 240, 0.15);
    }

    50% {
        box-shadow: 0 0 40px rgba(245, 245, 240, 0.1);
        border-color: rgba(245, 245, 240, 0.25);
    }
}

.launch-date-icon {
    font-size: 24px;
}

.launch-date-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.launch-date-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.launch-date-value {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

/* Launch Products Grid */
.launch-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.launch-product-card {
    position: relative;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s var(--easing-smooth);
    text-decoration: none;
    display: block;
}

.launch-product-card:hover {
    border-color: rgba(245, 245, 240, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.launch-product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(245, 245, 240, 0.2);
    color: var(--color-accent);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 980px;
    z-index: 2;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.launch-product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.6s var(--easing-smooth);
}

.launch-product-card:hover .launch-product-image {
    transform: scale(1.05);
}

.launch-product-info {
    padding: 24px;
    text-align: left;
}

.launch-product-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.launch-product-price {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.launch-product-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--color-accent);
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    border-radius: 980px;
    transition: all 0.3s var(--easing-smooth);
}

.launch-product-card:hover .launch-product-cta {
    background: #ffffff;
    transform: scale(1.02);
}

/* Main CTA Button */
.launch-main-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--color-accent);
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    border-radius: 980px;
    transition: all 0.3s var(--easing-smooth);
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.launch-main-cta:hover {
    background: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.launch-main-cta svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--easing-smooth);
}

.launch-main-cta:hover svg {
    transform: translateX(4px);
}

/* ============================================
   Preorder Badge - Shop & Product Pages
   ============================================ */
.preorder-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(245, 245, 240, 0.2);
    color: var(--color-accent);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 980px;
    animation: badgePulse 2s ease-in-out infinite;
}

.preorder-badge-icon {
    font-size: 12px;
}

/* Product page preorder badge */
.product-preorder-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(245, 245, 240, 0.08);
    border: 1px solid rgba(245, 245, 240, 0.15);
    border-radius: 12px;
    margin-bottom: 16px;
}

.product-preorder-badge-icon {
    font-size: 16px;
}

.product-preorder-badge-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
}

/* Delivery notice */
.delivery-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    margin-top: 20px;
}

.delivery-notice-icon {
    font-size: 20px;
}

.delivery-notice-text {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.delivery-notice-text strong {
    color: var(--color-text);
}

/* Preorder button style */
.preorder-btn {
    background: var(--color-accent) !important;
    color: #1a1a1a !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.preorder-btn:hover {
    background: #ffffff !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Cart preorder notice */
.cart-preorder-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(245, 245, 240, 0.05);
    border: 1px solid rgba(245, 245, 240, 0.12);
    border-radius: 12px;
    margin-bottom: 24px;
}

.cart-preorder-notice-icon {
    font-size: 24px;
}

.cart-preorder-notice-text {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.cart-preorder-notice-text strong {
    color: var(--color-accent);
}

/* Cart item preorder badge */
.cart-item-preorder-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(245, 245, 240, 0.1);
    border: 1px solid rgba(245, 245, 240, 0.2);
    color: var(--color-accent);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-left: 8px;
}

/* ============================================
   Shop Page - Preorder Hero Modifications
   ============================================ */
.shop-preorder-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.shop-preorder-text {
    font-size: 14px;
    color: var(--color-accent);
    font-weight: 500;
}

/* Product card preorder indicator */
.product-card-preorder {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(245, 245, 240, 0.2);
    color: var(--color-accent);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 980px;
    z-index: 2;
}

/* ============================================
   Launch Banner Mobile Responsive
   ============================================ */
@media (max-width: 768px) {
    .launch-banner {
        height: auto;
        padding: 10px 16px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .launch-banner-text {
        font-size: 11px;
        text-align: center;
        width: 100%;
    }

    .countdown {
        gap: 4px;
    }

    .countdown-item {
        padding: 4px 8px;
        min-width: 36px;
    }

    .countdown-number {
        font-size: 12px;
    }

    .countdown-label {
        font-size: 7px;
    }

    .launch-banner-cta {
        padding: 5px 12px;
        font-size: 11px;
    }

    body.has-launch-banner .navbar {
        top: 70px;
    }

    body.has-launch-banner .nav-mobile {
        top: calc(var(--nav-height) + 70px);
    }

    body.has-launch-banner .nav-overlay {
        top: calc(var(--nav-height) + 70px);
    }

    body.has-launch-banner .hero,
    body.has-launch-banner .page-hero {
        padding-top: 70px;
    }

    /* Launch Section Mobile */
    .launch-products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .launch-product-info {
        padding: 16px;
    }

    .launch-product-name {
        font-size: 18px;
    }

    .launch-date-badge {
        padding: 12px 20px;
    }

    .launch-date-value {
        font-size: 18px;
    }
}