/* ===========================
   RESET & VARIABLES
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
    --bg: #0a0a0f;
    --bg-2: #0d0d14;
    --bg-card: #12121a;
    --bg-card-hover: #181822;
    --border: rgba(59, 130, 246, 0.10);
    --border-hover: rgba(59, 130, 246, 0.45);
    --blue: #3b82f6;
    --blue-bright: #60a5fa;
    --blue-dark: #1d4ed8;
    --blue-glow: rgba(59, 130, 246, 0.25);
    --text: #eef2f7;
    --text-muted: #8a9bb5;
    --text-dim: #4a5568;
    --radius: 12px;
    --radius-lg: 18px;
    --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --primary-blue: #3b82f6;
    --footer-bg: #0d0d14;
    --color-primary: #3b82f6;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* ===========================
   AMBIENT BACKGROUND
=========================== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(59,130,246,0.10) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(59,130,246,0.06) 0%, transparent 55%),
        radial-gradient(ellipse 100% 80% at 50% 50%, rgba(10,10,15,1) 40%, transparent 100%);
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(59,130,246,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 30%, transparent 100%);
    animation: grid-drift 20s ease-in-out infinite alternate;
}

@keyframes grid-drift {
    0%   { background-position: 0 0; }
    100% { background-position: 36px 36px; }
}

/* ===========================
   PARTICLES
=========================== */
.particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particles span {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(96, 165, 250, 0.5);
    border-radius: 50%;
    animation: particle-float linear infinite;
}

.particles span:nth-child(1)  { left: 10%; top: 80%; animation-duration: 18s; animation-delay: 0s;   width: 3px; height: 3px; }
.particles span:nth-child(2)  { left: 25%; top: 90%; animation-duration: 22s; animation-delay: -4s;  }
.particles span:nth-child(3)  { left: 40%; top: 70%; animation-duration: 16s; animation-delay: -8s;  width: 1px; height: 1px; }
.particles span:nth-child(4)  { left: 55%; top: 95%; animation-duration: 20s; animation-delay: -2s;  }
.particles span:nth-child(5)  { left: 70%; top: 85%; animation-duration: 24s; animation-delay: -6s;  width: 3px; height: 3px; }
.particles span:nth-child(6)  { left: 85%; top: 75%; animation-duration: 14s; animation-delay: -10s; }
.particles span:nth-child(7)  { left: 5%;  top: 60%; animation-duration: 26s; animation-delay: -1s;  width: 1px; height: 1px; }
.particles span:nth-child(8)  { left: 90%; top: 50%; animation-duration: 19s; animation-delay: -7s;  }
.particles span:nth-child(9)  { left: 35%; top: 88%; animation-duration: 21s; animation-delay: -3s;  width: 2px; height: 2px; }
.particles span:nth-child(10) { left: 65%; top: 92%; animation-duration: 17s; animation-delay: -9s;  }
.particles span:nth-child(11) { left: 15%; top: 45%; animation-duration: 23s; animation-delay: -5s;  width: 1px; height: 1px; }
.particles span:nth-child(12) { left: 78%; top: 30%; animation-duration: 15s; animation-delay: -11s; }

@keyframes particle-float {
    0%   { transform: translateY(0) translateX(0);   opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.6; }
    100% { transform: translateY(-100vh) translateX(30px); opacity: 0; }
}

/* ===========================
   GRADIENT TEXT & ACCENT
=========================== */
.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 50%, #bfdbfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ===========================
   NAVBAR
=========================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    transition: opacity var(--transition);
}

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

.nav-logo img {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
}

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

.nav-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0; right: 0;
    height: 1px;
    background: var(--blue-bright);
    transform: scaleX(0);
    transition: transform 0.25s ease;
    transform-origin: left;
}

.nav-links a:not(.btn-nav):hover { color: var(--text); }
.nav-links a:not(.btn-nav):hover::after { transform: scaleX(1); }
.nav-links a.active-page { color: var(--text) !important; }
.nav-links a.active-page::after { transform: scaleX(1) !important; }

.btn-nav {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark)) !important;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    box-shadow: 0 2px 12px rgba(59,130,246,0.3);
    transition: all 0.25s ease !important;
}

.btn-nav:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(59,130,246,0.45) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   NAV CART BUTTON
=========================== */
.nav-cart-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

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

.cart-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: var(--blue);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

/* ===========================
   HERO
=========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 28px 100px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 80px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 580px;
}

.hero-badge   { animation: hero-in 0.7s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.1s; }
.hero h1      { animation: hero-in 0.7s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.22s; }
.hero-sub     { animation: hero-in 0.7s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.34s; }
.hero-cta     { animation: hero-in 0.7s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.44s; }
.hero-stats   { animation: hero-in 0.7s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.54s; }
.hero-logo-wrap { animation: hero-logo-in 1s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.2s; }

@keyframes hero-in {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-logo-in {
    from { opacity: 0; transform: scale(0.88) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.25);
    color: var(--blue-bright);
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 6px; height: 6px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 6px #22c55e;
    animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 4px #22c55e; transform: scale(1); }
    50%       { box-shadow: 0 0 10px #22c55e, 0 0 20px rgba(34,197,94,0.3); transform: scale(1.3); }
}

.hero h1 {
    font-size: clamp(3.2rem, 6.5vw, 5.2rem);
    font-weight: 900;
    line-height: 1.03;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 460px;
    margin-bottom: 40px;
    line-height: 1.75;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 20px 24px;
    background: rgba(59,130,246,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    width: fit-content;
}

.stat { text-align: left; }

.stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #f0f4ff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 2px;
}

.stat-divider {
    width: 1px; height: 36px;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

/* ===========================
   HERO LOGO
=========================== */
.hero-logo-wrap {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-ring {
    width: 340px; height: 340px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 7s ease-in-out infinite;
}

.logo-ring::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 60%, rgba(59,130,246,0.6) 80%, transparent 100%);
    animation: orbit-spin 4s linear infinite;
    z-index: 0;
}

.logo-ring::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--bg);
    z-index: 0;
}

.logo-ring-inner {
    width: 320px; height: 320px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: radial-gradient(circle at 40% 35%, rgba(59,130,246,0.06) 0%, rgba(10,10,15,0.9) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 80px rgba(59,130,246,0.10), inset 0 0 60px rgba(59,130,246,0.04);
    position: relative;
    z-index: 1;
}

@keyframes orbit-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-18px); } }

.hero-logo-img {
    width: 260px; height: 260px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 24px rgba(59,130,246,0.3));
}

/* ===========================
   BUTTONS
=========================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: #fff;
    padding: 13px 26px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.925rem;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 4px 20px rgba(59,130,246,0.35);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(59,130,246,0.45);
}

.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(-1px); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255,255,255,0.03);
    color: var(--text);
    padding: 13px 26px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.925rem;
    border: 1px solid var(--border);
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    background: rgba(59,130,246,0.07);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(59,130,246,0.12);
}

/* ===========================
   SECTION HEADERS
=========================== */
section { position: relative; z-index: 1; }

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue-bright);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-tag::before, .section-tag::after {
    content: '';
    display: block;
    width: 20px; height: 1px;
    background: var(--blue-bright);
    opacity: 0.5;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===========================
   SERVICES
=========================== */
.services { padding: 120px 0; background: transparent; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.service-card {
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    backdrop-filter: blur(12px);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.service-card:hover {
    border-color: rgba(59,130,246,0.35);
    background: rgba(24, 24, 34, 0.95);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(59,130,246,0.15), 0 0 40px rgba(59,130,246,0.06);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { opacity: 1; }
.service-card--wide { grid-column: span 3; flex-direction: row; align-items: flex-start; gap: 28px; }
.service-card--wide .service-icon { flex-shrink: 0; margin-top: 2px; }
.service-card--wide .counseling-content { flex: 1; display: flex; flex-direction: column; gap: 12px; }

.service-icon {
    width: 50px; height: 50px;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.18);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-bright);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.35s ease;
}

.service-card:hover .service-icon {
    background: rgba(59,130,246,0.15);
    border-color: rgba(59,130,246,0.35);
    box-shadow: 0 0 20px rgba(59,130,246,0.2);
    transform: scale(1.05);
}

.service-icon svg { width: 22px; height: 22px; }
.service-icon i { font-size: 1.15rem; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.015em; color: var(--text); }
.service-card p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.65; flex: 1; }

.service-features { list-style: none; display: flex; flex-direction: column; gap: 7px; }

.service-features li {
    font-size: 0.78rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s ease;
}

.service-card:hover .service-features li { color: var(--text-muted); }

.service-features li::before {
    content: '';
    width: 4px; height: 4px;
    background: var(--blue);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 4px var(--blue);
}

.service-cta {
    color: var(--blue-bright);
    font-size: 0.83rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    align-self: flex-start;
    margin-top: auto;
}

.service-cta:hover { color: #fff; gap: 8px; }

/* ===========================
   HOW IT WORKS
=========================== */
.how-it-works { padding: 120px 0; }
.steps { display: flex; align-items: stretch; gap: 0; justify-content: center; position: relative; }

.steps::before {
    content: '';
    position: absolute;
    top: 48px; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), var(--blue-bright), var(--border), transparent);
    z-index: 0;
}

.step {
    flex: 1;
    text-align: center;
    padding: 32px 24px 28px;
    background: rgba(10,17,32,0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    margin: 0 6px;
}

.step:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 30px rgba(59,130,246,0.08);
}

.step-num {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--blue), var(--blue-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 18px;
    letter-spacing: -0.04em;
    display: block;
}

.step h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.65; }

/* ===========================
   PORTFOLIO
=========================== */
.portfolio { padding: 120px 0; }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 52px; }

.portfolio-card {
    background: rgba(10,17,32,0.55);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59,130,246,0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.portfolio-card:hover {
    border-color: rgba(59,130,246,0.35);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.35), 0 0 40px rgba(59,130,246,0.08);
}

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

.portfolio-icon-wrap {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-icon-wrap {
    background: rgba(59,130,246,0.18);
    border-color: rgba(59,130,246,0.4);
    box-shadow: 0 0 20px rgba(59,130,246,0.15);
}

.portfolio-icon-wrap i { font-size: 1.35rem; color: var(--blue-bright); }
.portfolio-card-body { flex: 1; margin-bottom: 20px; }
.portfolio-card-body h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.portfolio-card-body p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; }

.portfolio-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: rgba(59,130,246,0.8);
    background: rgba(59,130,246,0.07);
    border: 1px solid rgba(59,130,246,0.16);
    padding: 5px 12px;
    border-radius: 100px;
    letter-spacing: 0.05em;
    font-weight: 600;
    text-transform: uppercase;
    width: fit-content;
}

.portfolio-cta { text-align: center; }
.portfolio-cta .btn-primary { display: inline-flex; align-items: center; gap: 10px; }

/* ===========================
   FAQ
=========================== */
.faq { padding: 120px 0; }
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }

.faq-item {
    background: rgba(10,17,32,0.65);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    backdrop-filter: blur(10px);
}

.faq-item.open {
    border-color: rgba(59,130,246,0.3);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2), 0 0 20px rgba(59,130,246,0.06);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 0.925rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    gap: 16px;
    transition: color 0.2s ease;
    font-family: var(--font);
}

.faq-question:hover { color: var(--blue-bright); }

.faq-icon {
    width: 22px; height: 22px;
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--blue-bright);
    flex-shrink: 0;
    transition: all 0.3s ease;
    font-style: normal;
    line-height: 1;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: rgba(59,130,246,0.12);
    border-color: rgba(59,130,246,0.5);
}

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); }
.faq-item.open .faq-answer { max-height: 200px; }

.faq-answer p {
    padding: 0 24px 22px;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.75;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin: 0 24px;
    margin-bottom: 22px;
}

/* ===========================
   CTA BANNER
=========================== */
.cta-banner { padding: 140px 0; position: relative; overflow: hidden; }

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 50% 50%, rgba(29,78,216,0.15) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 20% 80%, rgba(59,130,246,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.4), transparent);
}

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

.cta-content h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 18px;
    line-height: 1.15;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* ===========================
   RECENT RELEASES
=========================== */
.recent-releases { padding: 120px 0; }
.releases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.release-card {
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    backdrop-filter: blur(12px);
}

.release-card:hover {
    border-color: rgba(59,130,246,0.35);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.4), 0 0 40px rgba(59,130,246,0.06);
}

.release-img-placeholder {
    width: 100%; height: 180px;
    background: linear-gradient(135deg, rgba(59,130,246,0.05) 0%, rgba(18,18,26,0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

.release-info { padding: 22px 24px; }

.release-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--blue-bright);
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.18);
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.release-info h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.release-info p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ===========================
   REVIEWS
=========================== */
.reviews { padding: 120px 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.review-card {
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    border-color: rgba(59,130,246,0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 30px rgba(59,130,246,0.06);
}

.review-product-img {
    width: 100%; height: 160px;
    background: linear-gradient(135deg, rgba(59,130,246,0.05) 0%, rgba(18,18,26,0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

.review-product-img img { width: 100%; height: 100%; object-fit: cover; }
.review-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.review-stars { color: #fbbf24; font-size: 1.1rem; letter-spacing: 2px; }
.review-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; font-style: italic; flex: 1; }

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.review-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.review-name { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); }
.review-service { display: block; font-size: 0.72rem; color: var(--text-dim); margin-top: 2px; }

/* Review Stats Bar */
.review-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 24px 32px;
    background: rgba(59,130,246,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.review-stat { text-align: center; }

.review-stat-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #f0f4ff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.review-stat-label {
    font-size: 0.72rem;
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 4px;
    display: block;
}

.review-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

/* ===========================
   STORE PAGE
=========================== */
.store-section { padding: 120px 0 80px; position: relative; z-index: 1; }

.store-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
}

.store-sidebar { position: sticky; top: 100px; align-self: start; }

.sidebar-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.category-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }

.category-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font);
}

.category-btn:hover { color: var(--text); background: rgba(59,130,246,0.06); }

.category-btn.active {
    color: var(--blue-bright);
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    font-weight: 600;
}

.store-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
}

.store-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 18px;
    flex: 1;
    max-width: 400px;
    transition: border-color 0.2s ease;
}

.store-search:focus-within { border-color: rgba(59,130,246,0.4); }
.store-search svg { color: var(--text-dim); flex-shrink: 0; }

.store-search input {
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 0.9rem;
    font-family: var(--font);
    width: 100%;
}

.store-search input::placeholder { color: var(--text-dim); }
.store-results-count { font-size: 0.8rem; color: var(--text-dim); white-space: nowrap; }

/* ===========================
   PRODUCT GRID & CARDS
=========================== */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 340px)); gap: 24px; }

.product-card {
    background: #111118;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 340px;
}

.product-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.product-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #0a0a0f;
    overflow: hidden;
}

.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.03); }

.product-wishlist-btn {
    position: absolute;
    top: 14px; right: 14px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(30, 30, 40, 0.85);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}

.product-wishlist-btn:hover { color: #f87171; background: rgba(248,113,113,0.15); }
.product-wishlist-btn.active { color: #f87171; background: rgba(248,113,113,0.15); }

.product-card-body { padding: 18px 18px 14px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.product-card-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.product-card-name { font-size: 0.95rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.3; }

.product-card-price {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.product-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.product-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 5px 12px;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

.product-add-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 18px 18px;
    padding: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.25s ease;
}

.product-add-cart-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.18);
    color: #fff;
}

/* Skeleton Loaders */
.product-card--skeleton { pointer-events: none; }
.product-card--skeleton .product-card-img { aspect-ratio: 4 / 3; height: auto; }

.skeleton-pulse {
    background: linear-gradient(90deg, rgba(59,130,246,0.04) 25%, rgba(59,130,246,0.08) 50%, rgba(59,130,246,0.04) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: 6px;
}

@keyframes skeleton-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.skeleton-tags { display: flex; gap: 6px; margin-bottom: 8px; }
.skeleton-tag { width: 50px; height: 18px; border-radius: 100px; }
.skeleton-title { width: 80%; height: 16px; margin-bottom: 6px; }
.skeleton-price { width: 40%; height: 20px; }
.skeleton-btn { height: 46px; border-radius: 0 0 16px 16px; margin-top: auto; }

/* Store Empty State */
.store-empty { text-align: center; padding: 80px 0; }
.store-empty h4 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.store-empty p { font-size: 0.88rem; color: var(--text-muted); }

/* ===========================
   CART SLIDE PANEL
   (Styles injected by cart.js — only overrides below)
=========================== */

/* Cart Rewards & Buttons — handled by cart.js injection */

/* ===========================
   NOTIFICATIONS
=========================== */
.notify-container {
    position: fixed;
    top: 24px; right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notify-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(18, 18, 26, 0.95);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 20px;
    backdrop-filter: blur(16px);
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.notify-toast.notify-show { transform: translateX(0); opacity: 1; }
.notify-toast.notify-hide { transform: translateX(120%); opacity: 0; }
.notify-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.notify-success .notify-icon { color: #4ade80; }
.notify-error .notify-icon { color: #f87171; }
.notify-info .notify-icon { color: var(--blue-bright); }
.notify-success { border-color: rgba(74,222,128,0.2); }
.notify-error { border-color: rgba(248,113,113,0.2); }
.notify-info { border-color: rgba(59,130,246,0.2); }
.notify-message { font-size: 0.85rem; font-weight: 500; color: var(--text); }

/* ===========================
   FOOTER
=========================== */
.footer {
    background: rgba(10,10,15,0.95);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.3), transparent);
}

.footer-main {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.footer-brand-group { display: flex; flex-direction: column; gap: 16px; }

.footer-logo-text { display: block; font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
.footer-disclaimer-text { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
.footer-columns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }

.footer-col h4 {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--text);
    margin-bottom: 16px;
    font-style: italic;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }

.footer-col a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-col a:hover { color: var(--text); padding-left: 4px; }

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

.footer-bottom p { font-size: 0.78rem; color: var(--text-dim); }

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

.footer-social a {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59,130,246,0.05);
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.footer-social a:hover {
    border-color: rgba(59,130,246,0.4);
    color: var(--blue-bright);
    background: rgba(59,130,246,0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59,130,246,0.15);
}

/* ===========================
   TEAM PAGE
=========================== */
.team-hero { padding: 160px 0 80px; text-align: center; position: relative; z-index: 1; }

.team-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    line-height: 1.1;
}

.team-hero p { color: var(--text-muted); font-size: 1rem; max-width: 560px; margin: 0 auto; line-height: 1.7; }

.team-discord-widget {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(10,17,32,0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    margin-top: 32px;
    backdrop-filter: blur(10px);
}

.team-discord-widget .online-dot {
    width: 10px; height: 10px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 6px #22c55e;
}

.team-section { padding: 0 0 120px; position: relative; z-index: 1; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }

.team-card {
    background: rgba(10,17,32,0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    backdrop-filter: blur(12px);
}

.team-card:hover {
    border-color: rgba(59,130,246,0.35);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 30px rgba(59,130,246,0.08);
}

.team-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }

.team-card-header img {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 2px solid var(--border);
    object-fit: cover;
}

.team-card-header .name { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.team-card-header .role { font-size: 0.72rem; font-weight: 600; color: var(--blue-bright); text-transform: uppercase; letter-spacing: 0.05em; }

.team-card-status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--text-dim); margin-bottom: 12px; }
.team-card-status .dot { width: 8px; height: 8px; border-radius: 50%; }
.team-card-status .dot.online { background: #22c55e; box-shadow: 0 0 4px #22c55e; }
.team-card-status .dot.offline { background: #6b7280; }
.team-card-status .dot.away { background: #fbbf24; box-shadow: 0 0 4px #fbbf24; }
.team-card p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }

.team-tags { display: flex; flex-wrap: wrap; gap: 5px; }

.team-tag {
    display: inline-block;
    background: rgba(59,130,246,0.06);
    border: 1px solid rgba(59,130,246,0.14);
    color: var(--blue-bright);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.team-tag:hover { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.3); }
.team-card .discord-handle { display: block; margin-top: 12px; font-size: 0.78rem; color: var(--text-dim); }

/* ===========================
   PARTNERSHIPS PAGE
=========================== */
.partnerships-hero { padding: 160px 0 80px; text-align: center; position: relative; z-index: 1; }

.partnerships-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    line-height: 1.1;
}

.partnership-stats {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding: 20px 24px;
    background: rgba(59,130,246,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

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

.requirement-card {
    background: rgba(10,17,32,0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.requirement-card:hover {
    border-color: rgba(59,130,246,0.3);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.requirement-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.requirement-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ===========================
   SCROLL ANIMATIONS
=========================== */
.fade-in {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   SELECTION & SCROLLBAR
=========================== */
::selection { background: rgba(59,130,246,0.3); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(59,130,246,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(59,130,246,0.5); }

/* ===========================
   RESPONSIVE — DESKTOP
=========================== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card--wide { grid-column: span 2; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { flex-direction: column; text-align: center; gap: 60px; }
    .hero-sub { max-width: 100%; }
    .hero-cta { justify-content: center; }
    .hero-stats { margin: 0 auto; }
    .logo-ring { width: 260px; height: 260px; }
    .logo-ring-inner { width: 240px; height: 240px; }
    .hero-logo-img { width: 200px; height: 200px; }
    .steps::before { display: none; }
    .releases-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .store-container { padding: 0 32px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===========================
   RESPONSIVE — TABLET
=========================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(10,10,15,0.97);
        backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.2rem; }
    .hamburger { display: flex; z-index: 1001; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card--wide { grid-column: span 1; flex-direction: column; }
    .steps { flex-direction: column; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr; gap: 32px; }
    .footer-columns { grid-template-columns: 1fr; gap: 24px; }
    .hero { padding-top: 110px; }
    .hero h1 { font-size: clamp(2.8rem, 8vw, 4rem); }
    .releases-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .store-container { grid-template-columns: 1fr; gap: 24px; padding: 0 20px; }
    .store-sidebar { position: static; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
    .category-list { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===========================
   RESPONSIVE — MOBILE
=========================== */
@media (max-width: 480px) {
    .portfolio-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    .hero-stats { flex-wrap: wrap; justify-content: center; }
    .stat-divider { display: none; }
    .product-grid { grid-template-columns: 1fr; }
}

/* ===========================
   LEGACY HEADER (existing pages)
=========================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font);
}

header h2, header span, header a, header button {
    font-family: var(--font) !important;
}

header.scrolled {
    background: rgba(10, 10, 15, 0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 12px 40px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}

.header-left { display: flex; align-items: center; gap: 12px; }

.header-logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.2));
}

.brand-info h2 { margin: 0; font-size: 1.15rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; font-family: var(--font); }
.brand-info span { font-size: 0.78rem; color: var(--text-dim); font-weight: 500; font-family: var(--font); }

.header-right { display: flex; align-items: center; gap: 16px; }

.login-btn {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    padding: 10px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    transition: all 0.25s ease;
}

.login-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59,130,246,0.45); }

/* Desktop nav for existing pages */
.desktop-nav { display: flex; gap: 6px; }

.desktop-nav a, .nav-drop {
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    font-family: var(--font);
    transition: all 0.2s ease;
    cursor: pointer;
}

.desktop-nav a.active, .desktop-nav a:hover, .nav-drop:hover {
    background: rgba(59,130,246,0.08);
    color: #fff;
}

/* Hero overlay for existing pages */
.hero-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,15,0.95) 0%, rgba(10,10,15,0.8) 40%, rgba(10,10,15,0.95) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Hero for existing index page */
.hero-main {
    display: flex;
    align-items: center;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    gap: 60px;
    justify-content: space-between;
    padding-top: 80px;
}

@keyframes slideIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-content {
    max-width: 600px;
    opacity: 0;
    animation: slideIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.1s;
    padding-bottom: 60px;
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.25);
    color: var(--blue-bright);
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.breadcrumb {
    background: rgba(59,130,246,0.08);
    color: var(--blue-bright);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(59,130,246,0.2);
}

.welcome-text { font-size: 1.4rem; font-weight: 500; margin-bottom: 5px; color: var(--text-muted); }

.hero-title {
    font-size: clamp(3.2rem, 6.5vw, 5.2rem);
    font-weight: 900;
    line-height: 1.03;
    margin: 0 0 22px 0;
    letter-spacing: -0.035em;
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 50%, #bfdbfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.powered-by { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-weight: 500; margin-bottom: 24px; font-size: 1rem; }
.hero-desc { color: var(--text-muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 40px; max-width: 500px; }
.hero-btns { display: flex; gap: 14px; margin-bottom: 48px; }

.btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}

.btn-play {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.btn-play:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(59,130,246,0.45); }

.btn-discord {
    background: rgba(255,255,255,0.03);
    color: #fff;
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.btn-discord:hover { background: rgba(59,130,246,0.07); border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(59,130,246,0.12); }

/* Hero Stats Bar */
.hero-stats-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 18px 24px;
    background: rgba(59,130,246,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    width: fit-content;
    animation: slideIn 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.hero-stat-item { text-align: left; }

.hero-stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #f0f4ff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.68rem;
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 2px;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

/* Hero Logo (spinning ring in hero) */
.hero-main .hero-logo-wrap {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: hero-logo-in 1s cubic-bezier(0.22,1,0.36,1) both;
    animation-delay: 0.3s;
}

.hero-main .logo-ring {
    width: 320px; height: 320px;
}

.hero-main .logo-ring-inner {
    width: 300px; height: 300px;
}

.hero-main .hero-logo-img {
    width: 240px; height: 240px;
}

@keyframes hero-logo-in {
    from { opacity: 0; transform: scale(0.88) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 1024px) {
    .hero-main { flex-direction: column; text-align: center; gap: 50px; }
    .hero-main .hero-logo-wrap { order: -1; }
    .hero-main .logo-ring { width: 240px; height: 240px; }
    .hero-main .logo-ring-inner { width: 220px; height: 220px; }
    .hero-main .hero-logo-img { width: 180px; height: 180px; }
    .hero-stats-bar { margin: 0 auto; }
    .hero-btns { justify-content: center; }
    .hero-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
}

/* ===========================
   LEGACY FOOTER (existing pages)
=========================== */
footer {
    background-color: rgba(10,10,15,0.95);
    padding: 80px 0 40px 0;
    margin-top: 50px;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 10;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.3), transparent);
}

footer .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    align-items: flex-start !important;
}

.footer-brand .header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    width: auto;
}

.footer-brand .header-logo img {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
}

.footer-brand > p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    max-width: 280px;
}

.footer-socials { display: flex; gap: 10px; margin-top: 0; }

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(59,130,246,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid var(--border);
    font-size: 0.95rem;
}

.social-icon:hover {
    background: rgba(59,130,246,0.12);
    color: var(--blue-bright);
    transform: translateY(-2px);
    border-color: rgba(59,130,246,0.35);
    box-shadow: 0 4px 12px rgba(59,130,246,0.15);
}

.footer-column h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.footer-column h3 span { color: var(--blue-bright); }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 15px; }

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s;
}

.footer-links a:hover { color: #fff; padding-left: 5px; }

.contact-box {
    background: rgba(18,18,26,0.8);
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    border: 1px solid var(--border);
}

.dmca-badge img { width: 120px; opacity: 0.8; margin-bottom: 10px; }
.dmca-text { font-size: 0.8rem; color: var(--text-dim); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(59,130,246,0.08);
    color: var(--text-dim);
    font-size: 0.85rem;
}

.footer-bottom span { color: var(--blue-bright); }

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

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-grid .footer-column { display: none; }
    .footer-grid .footer-brand { display: flex !important; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

/* ===========================
   PRODUCT CARDS (1x1 - existing pages)
=========================== */
.recent-release-cards-flex,
#vehicle-cards, #recent-release-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    margin: 0 auto;
}

.product-card-1x1 {
    background: rgba(18,18,26,0.9);
    border-radius: 18px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
    text-decoration: none;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.product-card-1x1:hover {
    box-shadow: 0 8px 32px 0 rgba(59,130,246,0.18);
    transform: translateY(-4px);
    border-color: rgba(59,130,246,0.3);
}

.product-card-img-1x1 {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px 16px 0 0 !important;
    background: #0a0a0f;
    display: block;
}

.product-card-content-1x1 {
    padding: 24px 24px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}

.product-card-row-1x1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.product-card-title-1x1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.product-card-price-1x1 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    background: rgba(59,130,246,0.08);
    border-radius: 8px;
    padding: 6px 16px;
    margin-left: 8px;
    border: 1px solid rgba(59,130,246,0.15);
}

.product-card-tags-1x1 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.product-card-tag-1x1 {
    background: rgba(59,130,246,0.06);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    padding: 4px 12px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    border: 1px solid rgba(59,130,246,0.12);
}

.product-card-btn-1x1 {
    width: 100%;
    background: rgba(59,130,246,0.06);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
    white-space: nowrap;
}

.product-card-btn-1x1:hover {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(59,130,246,0.3);
}

@media (max-width: 1200px) {
    .recent-release-cards-flex,
    #vehicle-cards, #recent-release-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .recent-release-cards-flex,
    #vehicle-cards, #recent-release-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 560px) {
    .recent-release-cards-flex,
    #vehicle-cards, #recent-release-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Sale pricing on cards */
.product-card-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    margin-left: 8px;
}

.product-card-price-original {
    font-size: 0.82rem;
    font-weight: 600;
    color: #8a8a9a;
    text-decoration: line-through;
    line-height: 1;
}

.product-card-price-sale {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--blue-bright);
    background: rgba(59,130,246,0.08);
    border-radius: 8px;
    padding: 6px 16px;
    line-height: 1;
}

/* Subscription badge on product cards */
.product-card-subscription-badge {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(59,130,246,0.10);
    border: 1px solid rgba(59,130,246,0.22);
    color: var(--blue-bright);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    pointer-events: none;
}

.product-card-subscription-badge i {
    font-size: 9px;
    color: var(--blue-bright);
    opacity: 0.85;
}

/* Product card slideup animation */
.product-card-slideup {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity .7s cubic-bezier(.4,1.4,.6,1), transform .7s cubic-bezier(.4,1.4,.6,1);
}

.product-card-slideup-active {
    opacity: 1;
    transform: translateY(0);
}

.product-card-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(10,12,20,0.72);
    backdrop-filter: blur(6px);
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, color 0.18s, transform 0.18s;
    z-index: 10;
    pointer-events: all;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.product-card-wishlist-btn:hover {
    background: rgba(224,82,82,0.22);
    color: #e05252;
    transform: scale(1.12);
}

.product-card-wishlist-btn.wishlisted {
    color: #e05252;
}

.product-card-btn-1x1[aria-disabled="true"] {
    cursor: not-allowed;
}

/* ===========================
   MOBILE NAV (existing pages)
=========================== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.mobile-menu-toggle:hover { background: rgba(59,130,246,0.1); }

.mobile-nav-overlay { display: none; }

@media (max-width: 768px) {
    .desktop-nav, .desktop-only { display: none !important; }
    .mobile-menu-toggle { display: flex; }

    .mobile-nav-overlay {
        display: block;
        position: fixed;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        width: 90vw;
        max-width: 400px;
        background: rgba(18,18,26,0.98);
        border-radius: 18px;
        box-shadow: 0 12px 48px rgba(0,0,0,0.5);
        z-index: 1002;
        transition: opacity 0.25s ease, transform 0.25s ease;
        opacity: 0;
        pointer-events: none;
        padding: 0;
        border: 1px solid var(--border);
        backdrop-filter: blur(20px);
    }

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

    .mobile-nav-content {
        width: 100%;
        padding: 24px 0 40px 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        max-height: 80vh;
        overflow: visible;
        box-sizing: border-box;
    }

    .mobile-nav-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: auto;
        margin: 0 18px 4px 18px;
        padding: 18px 16px;
        background: rgba(59,130,246,0.04);
        border-radius: 12px;
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        font-size: 1.1rem;
        border: 1px solid var(--border);
        text-align: left;
        transition: background 0.2s, border-color 0.2s;
        position: relative;
    }

    .mobile-nav-item.active {
        background: rgba(59,130,246,0.1);
        border-color: rgba(59,130,246,0.3);
    }

    .mobile-nav-item:hover {
        background: rgba(59,130,246,0.08);
        border-color: rgba(59,130,246,0.25);
    }

    .mobile-login-btn-wrapper {
        margin: 10px 18px 0 18px;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    .btn-login-mobile {
        display: block;
        width: 100%;
        background: linear-gradient(135deg, var(--blue), var(--blue-dark));
        color: white;
        text-align: center;
        padding: 18px;
        border-radius: 12px;
        font-weight: 600;
        text-decoration: none;
    }

    .hero-title {
        font-size: 3.2rem !important;
        text-align: left !important;
        line-height: 1.05 !important;
    }

    .hero-main {
        flex-direction: column;
        text-align: left;
        gap: 40px;
    }

    .hero-main .hero-content { text-align: left; }
    .hero-main .hero-logo-wrap { display: none; }
    .hero-stats-bar { margin: 0; }
    .hero-btns { justify-content: flex-start; }
    .hero-desc { max-width: 100%; }

    .container { padding: 0 16px !important; }
}

/* ===========================
   USER DROPDOWN (mobile + desktop)
=========================== */
.user-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.user-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(18,18,26,0.9);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s, border-color 0.2s;
}

.user-dropdown-trigger:hover {
    background: rgba(59,130,246,0.06);
    border-color: rgba(59,130,246,0.2);
}

.user-dropdown-avatar {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    object-fit: cover;
}

.user-dropdown-name {
    flex-grow: 1;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    width: max-content;
    background: rgba(12,12,20,0.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    flex-direction: column;
    gap: 4px;
    z-index: 1100;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
}

.user-dropdown-menu.open { display: flex; }

.user-dropdown-item, .user-dropdown-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.user-dropdown-item {
    background: rgba(255, 255, 255, 0.03);
    color: #efeff1;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.user-dropdown-item:hover {
    background: rgba(59,130,246,0.08);
    border-color: rgba(59,130,246,0.2);
}

.user-dropdown-admin-item {
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.15);
    color: var(--blue-bright);
}

.user-dropdown-admin-item:hover {
    background: rgba(59,130,246,0.18);
    border-color: rgba(59,130,246,0.3);
    color: #fff;
}

.user-dropdown-logout {
    background: rgba(248,113,113,0.08);
    color: #f87171;
    border: 1px solid rgba(248,113,113,0.12);
}

.user-dropdown-logout:hover {
    background: rgba(248,113,113,0.18);
}

/* ===========================
   LOGIN PAGE
=========================== */
.login-center-wrapper {
    min-height: 80vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.discord-modal-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    width: 100vw;
    position: relative;
    z-index: 2;
}

.styled-login-box {
    background: rgba(18,18,26,0.95);
    border-radius: 18px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
    padding: 40px 36px 32px 36px;
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    position: relative;
    margin: 0 auto;
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -1px;
    text-align: center;
}

.discord-desc {
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 18px;
    max-width: 320px;
}

.discord-login-btn {
    width: 100%;
    background: rgba(59,130,246,0.06);
    color: #fff;
    font-size: 1.08rem;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 0;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
}

.discord-login-btn:hover {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    border-color: transparent;
}

.discord-login-btn i { font-size: 1.3rem; margin-right: 8px; }

@media (max-width: 500px) {
    .styled-login-box { padding: 24px 8px 20px 8px; max-width: 98vw; }
    .discord-desc { font-size: 0.98rem; max-width: 95vw; }
}

/* ===========================
   STORE PAGE (existing, packageGrid)
=========================== */
#packageGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 0;
}

#packageGrid .product-card-1x1 {
    min-width: 0;
    width: 100%;
    max-width: none;
}

#packageGrid .product-card-img-1x1 { height: 220px; object-fit: cover; }

@media (max-width: 1200px) {
    #packageGrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    #packageGrid { grid-template-columns: 1fr; }
}

/* Store page layout enhancements */
.store-layout {
    display: flex;
    gap: 2.5rem;
    padding: 2rem 0 4rem;
    padding-top: 100px;
    min-height: 70vh;
}

.store-sidebar {
    width: 240px;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    padding: 16px;
    background: rgba(18,18,26,0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
}

.store-sidebar-title {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    padding: 0 0.5rem;
    margin-bottom: 8px;
    margin-top: 8px;
}

.store-sidebar-title:first-child { margin-top: 0; }

.store-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.store-sidebar-link:hover {
    background: rgba(59,130,246,0.06);
    color: var(--text);
}

.store-sidebar-link.active {
    background: rgba(59,130,246,0.1);
    color: var(--blue-bright);
    border-color: rgba(59,130,246,0.2);
    font-weight: 600;
}

.store-sidebar-link i {
    font-size: 0.95rem;
    width: 20px;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.18s;
}

.store-sidebar-link.active i,
.store-sidebar-link:hover i { opacity: 1; }

.store-sidebar-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 4px;
}

.store-content { flex: 1; min-width: 0; }

.store-hero-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    padding: 28px 32px;
    background: rgba(18,18,26,0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    flex-wrap: wrap;
}

.store-hero-text { display: flex; flex-direction: column; gap: 4px; }

.store-hero-banner h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.store-hero-subtitle {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 0;
    font-weight: 400;
}

.store-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.store-content-header h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.02em;
}

.store-search-bar {
    position: relative;
    background: rgba(10,10,15,0.6);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    min-width: 280px;
    max-width: 380px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(8px);
}

.store-search-bar:focus-within {
    border-color: rgba(59,130,246,0.4);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.08);
}

.store-search-bar i {
    color: var(--text-dim);
    margin-right: 10px;
    font-size: 0.85rem;
}

.store-search-bar input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 0.9rem;
    font-family: var(--font);
    width: 100%;
}

.store-search-bar input::placeholder { color: var(--text-dim); }

.store-filters-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .store-layout {
        flex-direction: column;
        gap: 0;
    }
    .store-sidebar {
        width: 100%;
        min-width: unset;
        flex-direction: row;
        overflow-x: auto;
        position: static;
        gap: 6px;
        padding: 12px;
        border-radius: 14px;
        margin-bottom: 1.5rem;
    }
    .store-sidebar-title { display: none; }
    .store-sidebar-link {
        white-space: nowrap;
        padding: 8px 14px;
        font-size: 0.82rem;
        border-radius: 999px;
        background: rgba(59,130,246,0.04);
        border: 1px solid var(--border);
    }
    .store-sidebar-divider { display: none; }
    .store-hero-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }
    .store-search-bar { min-width: unset; max-width: unset; width: 100%; }
}

/* ===========================
   CATEGORY NAV BAR (store/account)
=========================== */
.category-nav-bar {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    background: none;
    border-bottom: 2px solid rgba(59,130,246,0.1);
    margin-bottom: 2.2rem;
    padding: 0.7rem 0;
    position: relative;
    z-index: 2;
}

.category-nav-btn {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.08em;
    text-decoration: none;
    padding: 0.5em 2.2em;
    border-radius: 0;
    background: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 0.7em;
    border: none;
    outline: none;
    cursor: pointer;
    border-bottom: 2.5px solid transparent;
    transition: color 0.18s, border-color 0.18s;
}

.category-nav-btn i {
    font-size: 1.1em;
    color: var(--text-muted);
    transition: color 0.18s;
}

.category-nav-btn.active,
.category-nav-btn:hover {
    color: var(--blue-bright);
    border-bottom: 2.5px solid var(--blue-bright);
}

.category-nav-btn.active i,
.category-nav-btn:hover i {
    color: var(--blue-bright);
}

/* ===========================
   PRODUCT PAGE
=========================== */
.product-page-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    margin: 0 auto;
    padding-top: 100px;
    padding-bottom: 60px;
    position: relative;
    z-index: 1;
    align-items: start;
}

/* ── Gallery ── */
.product-gallery-card {
    background: rgba(18,18,26,0.9);
    padding: 14px;
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    gap: 10px;
    position: sticky;
    top: 90px;
    align-self: start;
    overflow: hidden;
}

.main-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #050508;
    flex-shrink: 0;
}

.main-image-container img,
.main-image-container video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 12px;
    position: absolute;
    top: 0;
    left: 0;
}

#main-view {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 12px;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(10,10,15,0.75);
    border: 1px solid rgba(59,130,246,0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 5;
    backdrop-filter: blur(6px);
    font-size: 0.8rem;
}

.nav-arrow:hover {
    background: rgba(59,130,246,0.2);
    border-color: rgba(59,130,246,0.5);
}

.arrow-left { left: 10px; }
.arrow-right { right: 10px; }

/* Auto-scroll toggle */
.gallery-autoplay-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(10,10,15,0.75);
    border: 1px solid rgba(59,130,246,0.15);
    color: var(--blue-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 5;
    backdrop-filter: blur(6px);
    font-size: 0.7rem;
    font-family: var(--font);
    font-weight: 600;
    white-space: nowrap;
}

.gallery-autoplay-btn .autoplay-label {
    font-size: 0.7rem;
}

.gallery-autoplay-btn:hover {
    background: rgba(59,130,246,0.2);
    border-color: rgba(59,130,246,0.5);
}

.gallery-autoplay-btn.paused {
    color: var(--text-dim);
    border-color: rgba(255,255,255,0.1);
}

.gallery-autoplay-btn.paused:hover {
    color: var(--blue-bright);
    border-color: rgba(59,130,246,0.3);
}

.thumbnail-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    flex-shrink: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(59,130,246,0.25) rgba(10,10,15,0.5);
    padding-bottom: 4px;
}

.thumbnail-wrapper::-webkit-scrollbar { height: 6px; }
.thumbnail-wrapper::-webkit-scrollbar-track { background: rgba(10,10,15,0.5); border-radius: 3px; }
.thumbnail-wrapper::-webkit-scrollbar-thumb { background: rgba(59,130,246,0.25); border-radius: 3px; }
.thumbnail-wrapper::-webkit-scrollbar-thumb:hover { background: rgba(59,130,246,0.4); }

.thumbnail-grid,
#thumb-container {
    display: flex !important;
    gap: 8px !important;
    width: max-content !important;
    min-width: 100%;
}

.thumb-item {
    flex: 0 0 120px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.45;
    transition: all 0.2s ease;
    background: #0a0a0f;
}

.thumb-item.active {
    border-color: var(--blue-bright);
    opacity: 1;
    box-shadow: 0 0 12px rgba(59,130,246,0.2);
}

.thumb-item:hover { opacity: 0.8; }

.thumb-item img,
.thumb-item video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* ── Product Sidebar ── */
.product-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-info-card {
    background: rgba(18,18,26,0.9);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
}

.product-header-content {
    display: flex;
    flex-direction: column;
}

.product-title-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.product-tags .tag-pill {
    background: rgba(59,130,246,0.06);
    border: 1px solid rgba(59,130,246,0.22);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 8px;
    text-transform: capitalize;
}

.product-price-display {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 14px;
}

.product-description-text {
    color: var(--text-muted) !important;
    line-height: 1.7 !important;
    font-size: 0.88rem !important;
    margin-bottom: 14px !important;
}

.product-extras-box {
    background: rgba(59,130,246,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.product-extras-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.product-extras-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.product-extras-list li i { color: #22c55e; font-size: 0.75rem; }

/* Question box */
.question-box {
    background: rgba(18,18,26,0.9);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.question-box span { font-size: 0.88rem; font-weight: 600; color: var(--text); }

.discord-btn-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 10px;
    color: var(--blue-bright);
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.discord-btn-small:hover {
    background: rgba(59,130,246,0.15);
    border-color: rgba(59,130,246,0.4);
}

.docs-btn {
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: rgba(59,130,246,0.06);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font);
    margin-bottom: 10px;
}

.docs-btn:hover {
    background: rgba(59,130,246,0.12);
    border-color: rgba(59,130,246,0.3);
}

/* Vehicle selection */
.vehicle-selection-box { margin: 12px 0 14px 0; }

.vehicle-selection-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

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

.vehicle-opt-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 9px 14px;
    background: rgba(59,130,246,0.04);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
    font-family: var(--font);
    min-width: 90px;
    text-align: left;
}

.vehicle-opt-btn:hover { background: rgba(59,130,246,0.08); border-color: rgba(59,130,246,0.25); }

.vehicle-opt-btn.active {
    background: rgba(59,130,246,0.12);
    border-color: rgba(59,130,246,0.5);
    box-shadow: 0 0 14px rgba(59,130,246,0.15);
}

@media (max-width: 992px) {
    .product-page-wrapper { grid-template-columns: 1fr; padding-top: 90px; gap: 24px; }
    .product-gallery-card { position: static; max-height: none; }
    .product-page-skeleton { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .product-page-wrapper { padding-top: 80px; gap: 16px; padding-bottom: 40px; }
    .product-gallery-card { padding: 10px; border-radius: 14px; }
    .main-image-container { border-radius: 10px; }
    .main-image-container img, .main-image-container video { border-radius: 10px; }
    #main-view { border-radius: 10px; }
    .nav-arrow { width: 30px; height: 30px; font-size: 0.7rem; }
    .arrow-left { left: 6px; }
    .arrow-right { right: 6px; }
    .gallery-autoplay-btn { bottom: 6px; right: 6px; height: 28px; padding: 0 8px; font-size: 0.65rem; }
    .gallery-autoplay-btn .autoplay-label { font-size: 0.65rem; }
    .thumbnail-wrapper { max-height: 60px; }
    .thumb-item { flex: 0 0 100px; height: 56px; }
    .product-info-card { padding: 20px 16px; border-radius: 14px; }
    .product-title-text { font-size: 1.2rem; }
    .product-price-display { font-size: 1.1rem; margin-bottom: 10px; }
    .product-tags { gap: 5px; margin-bottom: 10px; }
    .product-tags .tag-pill { padding: 5px 10px; font-size: 0.75rem; }
    .product-extras-box { padding: 12px 14px; }
    .vehicle-selection-options { gap: 6px; }
    .vehicle-opt-btn { padding: 7px 10px; min-width: 70px; }
    .opt-name { font-size: 0.75rem; }
    .opt-price { font-size: 0.68rem; }
    .question-box { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 16px; border-radius: 12px; }
    .question-box span { font-size: 0.85rem; text-align: center; }
    .question-box .discord-btn-small { width: 100%; justify-content: center; }
    .product-sidebar { gap: 12px; }
    #you-may-also-like-section { margin: 16px 0 40px; }
    #you-may-also-like-section h2 { font-size: 1.2rem; margin-bottom: 16px; }
    #you-may-also-like-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 480px) {
    .product-page-wrapper { padding-top: 72px; gap: 12px; }
    .product-gallery-card { padding: 8px; border-radius: 12px; }
    .thumb-item { flex: 0 0 85px; height: 48px; }
    .product-info-card { padding: 16px 14px; }
    .product-title-text { font-size: 1.1rem; }
    .product-tags .tag-pill { padding: 4px 8px; font-size: 0.72rem; }
    .vehicle-opt-btn { min-width: 60px; padding: 6px 8px; }
    #you-may-also-like-grid { grid-template-columns: 1fr; }
}

/* ===========================
   DROPDOWN / FILTER (store)
=========================== */
.store-divider { border: none; border-top: 2px solid rgba(59,130,246,0.15); margin: 16px 0 24px 0; opacity: 0.25; }
.search-row { width: 100%; margin: 18px 0 0 0; }
.filter-row { display: flex; gap: 32px; margin-bottom: 18px; flex-wrap: wrap; }

.dropdown-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    min-width: 300px;
    transition: border-color 0.3s ease;
    position: relative;
}

.dropdown-box:focus-within, .dropdown-box.open, .dropdown-box.active {
    border-color: var(--blue-bright);
    box-shadow: 0 0 0 2px rgba(59,130,246,0.15);
}

.dropdown-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    background: transparent;
    border: none;
    padding: 0;
    margin-left: 12px;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    top: 110%;
    background: rgba(18,18,26,0.98);
    border: 1px solid var(--border);
    border-radius: 10px;
    min-width: 100%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 100;
    padding: 10px 0;
    backdrop-filter: blur(12px);
}

.dropdown-box.open .dropdown-content { display: block; }

.dropdown-content label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.15s;
}

.dropdown-content label:hover { background: rgba(59,130,246,0.08); }
.dropdown-content input[type="checkbox"] { accent-color: var(--blue); width: 18px; height: 18px; margin: 0; }

@media (max-width: 900px) {
    .filter-row { flex-direction: column; gap: 16px; }
    .dropdown-box, .dropdown-content { min-width: 100%; width: 100%; }
}

/* ===========================
   PROFILE / ACCOUNT PAGE
=========================== */
.profile-container {
    max-width: 1320px;
    margin: 28px auto 24px;
    padding: 0 4px;
    padding-top: 80px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.profile-hero-card {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(18,18,26,0.9);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
}

.profile-cover {
    position: relative;
    height: 160px;
    background:
        linear-gradient(180deg, rgba(10,10,15,0.12), rgba(10,10,15,0.62)),
        linear-gradient(135deg, rgba(59,130,246,0.1) 0%, rgba(10,10,15,0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding-bottom: 16px;
    padding-right: 16px;
    justify-content: flex-end;
}

.profile-cover-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.profile-cover-buttons button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10,10,15,0.85);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font);
}

.profile-cover-buttons button:hover {
    background: rgba(59,130,246,0.15);
    border-color: rgba(59,130,246,0.4);
    transform: translateY(-2px);
}

.profile-cover-buttons button i { font-size: 0.9rem; }

.profile-edit-chevron { font-size: 0.78rem; opacity: 0.85; }

#edit-desc-btn {
    position: absolute;
    right: 14px;
    top: 12px;
    display: none;
    align-items: center;
    gap: 8px;
    background: rgba(10,10,15,0.82);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    height: 38px;
    padding: 0 14px;
    font-size: 0.94rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    z-index: 5;
}

#edit-desc-btn:hover {
    background: rgba(59,130,246,0.12);
    border-color: rgba(59,130,246,0.3);
    transform: translateY(-1px);
}

.profile-header {
    position: relative;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 18px;
    padding: 16px 0 16px 142px;
    background: rgba(12,12,18,0.95);
}

.profile-avatar-wrapper {
    position: absolute;
    left: 18px;
    top: -40px;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    background: #0a0a0f;
    border: 4px solid rgba(12,12,18,0.95);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

.online-indicator {
    position: absolute;
    right: 7px;
    bottom: 7px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid rgba(12,12,18,0.95);
    background: #22c55e;
}

.profile-info {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 24px;
    padding-bottom: 14px;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-wrap: nowrap;
}

.profile-username {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
    color: var(--text);
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-role { margin: 0; color: var(--text-muted); font-size: 1.03rem; line-height: 1.2; }
.profile-flag { display: none; align-items: center; justify-content: center; font-size: 1.08rem; }
.profile-flag-team { color: var(--blue-bright); }
.profile-flag-rocket { color: #a78bfa; }
.profile-action-column { display: none; }

.profile-bio {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.6;
    max-width: 100%;
}

.profile-stats {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-left: 1px solid var(--border);
}

.profile-stats-row { display: grid; gap: 0; }
.profile-stats-row-primary { grid-template-columns: repeat(3, minmax(180px, 1fr)); border-bottom: 1px solid var(--border); }
.profile-stats-row-secondary { grid-template-columns: repeat(4, minmax(150px, 1fr)); }

.stat-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-height: 56px;
    padding: 11px 20px;
    border-right: 1px solid rgba(59,130,246,0.06);
    background: transparent;
}

.profile-stats-row .stat-item:last-child { border-right: none; }

.stat-value {
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.12;
    color: var(--text);
}

.profile-stats-row-primary .stat-value { white-space: nowrap; }

.stat-label {
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    font-weight: 600;
    text-transform: uppercase;
}

/* Profile Tabs */
.profile-tabs {
    margin: 26px 8px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.profile-tab-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.tab {
    cursor: pointer;
    padding: 12px 0;
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    width: fit-content;
    color: var(--text-muted);
    border-bottom: none;
    background: none;
    transition: color 0.2s;
    position: relative;
    z-index: 2;
}

.profile-tabs .tab.active { color: #ffffff; }

.tab-line {
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 2.5px;
    width: 65px;
    background: linear-gradient(90deg, var(--blue-bright), var(--blue));
    border-radius: 2px;
    transition: left 0.3s cubic-bezier(.4,0,.2,1), width 0.3s cubic-bezier(.4,0,.2,1);
    z-index: 1;
}

/* Assets Grid */
.assets-grid {
    display: grid;
    width: 100%;
    margin-left: 0;
    margin-top: 1.5rem;
    min-height: 200px;
}

#reviews-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2rem;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

#wishlist-grid, #assets-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
}

#commissioned-assets-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
}

/* Profile responsive */
@media (max-width: 1060px) {
    .profile-header { gap: 14px; padding: 14px 16px 16px 104px; }
    .profile-info { min-width: 0; padding-right: 0; }
    .profile-stats { flex: 0 0 100%; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--border); border-left: none; }
    .profile-stats-row-primary { grid-template-columns: repeat(3, minmax(120px, 1fr)); }
    .profile-stats-row-secondary { grid-template-columns: repeat(4, minmax(110px, 1fr)); }
    #reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    #wishlist-grid, #assets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .profile-container { margin-top: 18px; padding: 0; }
    .profile-cover { height: 132px; }
    .profile-header { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
    .profile-avatar-wrapper { position: absolute; top: -34px; left: 14px; }
    .profile-avatar { width: 84px; height: 84px; }
    .profile-info { margin-top: 42px; width: 100%; }
    .profile-username { font-size: 1.6rem; }
    .profile-stats { width: 100%; margin-top: 4px; padding-top: 10px; border-left: none; }
    .profile-stats-row-primary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profile-stats-row-secondary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profile-tab-row { gap: 1.1rem; }
    #reviews-grid, #wishlist-grid, #assets-grid { max-height: none; overflow: visible; grid-template-columns: 1fr; gap: 1rem; padding-right: 0; }
}

/* ===========================
   EDIT DESCRIPTION MODAL
=========================== */
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalCardSlideIn {
    from { opacity: 0; transform: translateY(16px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

#edit-desc-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

#edit-desc-modal .modal-content {
    background: linear-gradient(165deg, rgba(18,18,26,0.98) 0%, rgba(12,12,18,0.98) 100%);
    padding: 2rem;
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: 0 24px 80px rgba(0,0,0,0.6);
    width: 420px;
    max-width: 90vw;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    animation: modalCardSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#edit-desc-modal h2 { margin: 0; font-size: 1.3rem; color: var(--text); font-weight: 700; }

#edit-desc-modal label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: -0.4rem;
}

#edit-desc-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(0,0,0,0.3);
    color: var(--text);
    font-size: 0.98rem;
    resize: vertical;
    font-family: var(--font);
    transition: border-color 0.2s, box-shadow 0.2s;
}

#edit-desc-input:focus {
    outline: none;
    border-color: rgba(59,130,246,0.5);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.08);
}

#edit-desc-modal .modal-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 0.5rem;
}

#save-desc-btn {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: #fff;
    padding: 0.7rem 1.8rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(59,130,246,0.25);
    transition: all 0.2s ease;
    flex: 1;
}

#save-desc-btn:hover {
    box-shadow: 0 4px 20px rgba(59,130,246,0.35);
    transform: translateY(-1px);
}

#discard-desc-btn {
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
    padding: 0.7rem 1.8rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
}

#discard-desc-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.14);
    color: #fff;
}

/* ===========================
   ADMIN TABS & TABLES
=========================== */
.admin-tabs {
    display: flex;
    gap: 1rem;
    margin: 2rem 0 1.5rem 0;
    align-items: center;
}

.tab-btn {
    background: rgba(18,18,26,0.9);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 6px 6px 0 0;
    font-family: var(--font);
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    color: var(--text-muted);
    font-weight: 600;
}

.tab-btn.active, .tab-btn:hover {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    box-shadow: 0 4px 16px rgba(59,130,246,0.15);
}

.tab-content, .dark-tab-content {
    background: rgba(18,18,26,0.9);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 12px rgba(59,130,246,0.05);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.tab-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.user-table, .dark-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background: rgba(18,18,26,0.9);
    color: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.user-table th, .user-table td, .dark-table th, .dark-table td {
    padding: 0.7rem 0.5rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.user-table th, .dark-table th {
    background: rgba(59,130,246,0.04);
    font-weight: 700;
    color: #fff;
}

/* Toggle Switch */
.switch { position: relative; display: inline-block; width: 44px; height: 24px; vertical-align: middle; }
.switch input { opacity: 0; width: 0; height: 0; }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border);
    transition: background 0.3s, border-color 0.3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px; width: 18px;
    left: 2px; bottom: 2px;
    background: var(--text-muted);
    transition: transform 0.3s, background 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background: rgba(59,130,246,0.3);
    border-color: rgba(59,130,246,0.5);
}

input:checked + .slider:before {
    transform: translateX(20px);
    background: var(--blue);
}

/* ===========================
   UTILITY CLASSES
=========================== */
.flex-center { display: flex; align-items: center; justify-content: center; }

.gradient-btn {
    position: relative;
    overflow: hidden;
}

.gradient-btn::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.5), transparent);
    transform: translate(-100%, -100%);
    transition: transform 1s;
}

.gradient-btn:hover::before {
    transform: translate(100%, 100%);
}

.Btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.01);
    border: solid 1.5px rgba(255,255,255,0.02);
    font-weight: 600;
    gap: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition-duration: .3s;
    isolation: isolate;
}

.Btn::before {
    width: 100%; height: 200px;
    position: absolute;
    content: "";
    background-color: var(--blue);
    border-radius: 50%;
    left: -100%; top: 0;
    z-index: -1;
    transition-duration: .3s;
}

.Btn:hover::before {
    transform: translate(100%,-50%);
    border-radius: 0;
}

.Btn:hover {
    box-shadow: 5px 5px 10px rgba(36,36,36,0.24);
    color: #fff;
}

.loading-data {
    width: 50px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--blue);
    --_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}

@keyframes l3 { to { transform: rotate(1turn); } }

.btn-loading {
    width: 24px; height: 24px;
    border-radius: 50%;
    position: relative;
    animation: rotate1 1s linear infinite;
}

.btn-loading::before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border: 3px solid var(--bg);
    animation: prixClipFix 2s linear infinite;
}

@keyframes rotate1 { 100% { transform: rotate(360deg); } }

@keyframes prixClipFix {
    0% { clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0); }
    25% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0); }
    50% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%); }
    75% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%); }
    100% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0); }
}

.bg-delete { background-color: #D84141; }
.bg-primary { background-color: var(--blue) !important; }

.scrollbar-hide {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.scrollbar-hide::-webkit-scrollbar { display: none; }

input:focus, input:focus-visible { outline: none; border: none; }
input { outline: none; border: none; }

/* Swiper overrides */
.swiper-button-next, .swiper-button-prev {
    background: rgba(10,10,15,0.8) !important;
    width: 40px !important; height: 40px !important;
    border-radius: 50% !important;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: var(--blue) !important;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 16px !important;
    color: #fff;
}

.packageThumbsSwiper .swiper-slide { opacity: 0.2; transition: opacity 0.3s ease; cursor: pointer; border: 2px solid transparent; }
.packageThumbsSwiper .swiper-slide-thumb-active { opacity: 1 !important; border-color: var(--blue) !important; }
.packageThumbsSwiper .swiper-slide:hover { opacity: 0.8; }

/* ===========================
   PACKAGE DESCRIPTION (product page)
=========================== */
.package-description {
    color: var(--text);
    text-decoration: none;
    text-transform: none;
    font-weight: 400;
}

.package-description :not(:last-child) { margin-bottom: .85rem !important; }

.package-description h1, .package-description h2, .package-description h3, .package-description h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
}

.package-description a { color: var(--blue-bright); transition: 0.15s; }
.package-description a:hover { text-decoration-line: underline !important; }
.package-description b { color: #fff; }

.package-description ol li, .package-description ul li {
    position: relative;
    padding-left: 2ch;
    color: var(--text);
}

.package-description ul li:before {
    content: "";
    position: absolute;
    left: 0; top: .5rem;
    height: .5rem; width: .5rem;
    border-radius: .5rem;
    background-color: var(--blue);
}

.package-description ol { counter-reset: ol-counter; }
.package-description ol li { counter-increment: ol-counter; }
.package-description ol li:before { content: counter(ol-counter) ". "; position: absolute; left: 0; font-weight: 700; color: var(--blue-bright); }
.package-description img { max-width: 100%; }
.package-description hr { color: white; opacity: 0.1; }
.package-description iframe { aspect-ratio: 16/9; height: 100%; width: 100%; border-radius: 10px; }

/* ===========================
   CART SIDEBAR (existing pages)
=========================== */
.header-cart-panel {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 400px;
    max-width: 92vw;
    background: rgba(12,12,18,0.98);
    border-left: 1px solid var(--border);
    z-index: 9000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    backdrop-filter: blur(16px);
}

.header-cart-panel.open { transform: translateX(0); }

.header-cart-prefill-title {
    margin: 4px 0 8px 0;
    font-size: 0.92rem;
    color: #ffffff;
    font-weight: 700;
}

.header-cart-prefill-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.header-cart-applied-code {
    margin: 0 0 6px 0;
    font-size: 0.84rem;
    color: var(--text-muted);
    font-weight: 700;
    text-align: center;
}

.header-cart-discount-note {
    margin: 0 0 8px 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
}

.header-cart-rewards-hint {
    background: rgba(59,130,246,0.12);
    border: 1px solid rgba(59,130,246,0.35);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
    color: var(--text);
    font-weight: 600;
    font-size: 13px;
    text-align: center;
}

.header-cart-prefill-option {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(59,130,246,0.04);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 11px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.header-cart-prefill-option:hover {
    color: #ffffff;
    background: rgba(59,130,246,0.1);
    border-color: rgba(59,130,246,0.3);
}

.header-cart-checkout-btn { width: 100%; margin-top: 2px; }

/* ===========================
   EXTERNAL LINKS & CART BUTTON (header icons)
=========================== */
.catalog-icon-btn,
.header-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    position: relative;
    backdrop-filter: blur(8px);
}

.catalog-icon-btn:hover,
.header-cart-btn:hover {
    color: var(--blue-bright);
    background: rgba(59,130,246,0.08);
    border-color: rgba(59,130,246,0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(59,130,246,0.12);
}

.catalog-icon-btn i,
.header-cart-btn i {
    pointer-events: none;
}

.header-cart-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 2px 8px rgba(59,130,246,0.4);
    pointer-events: none;
}

.header-cart-count-badge.has-items {
    opacity: 1;
    transform: scale(1);
}

.ext-links-dropdown { position: relative; display: inline-flex; }

.ext-links-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: rgba(18,18,26,0.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.4);
    padding: 0.4rem;
    z-index: 1000;
    flex-direction: column;
    gap: 2px;
    backdrop-filter: blur(12px);
}

.ext-links-dropdown-menu.open { display: flex; }

.ext-links-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}

.ext-links-dropdown-item:hover { background: rgba(59,130,246,0.08); color: #fff; }
.ext-links-dropdown-item i { width: 18px; text-align: center; font-size: 0.9rem; color: var(--blue-bright); flex-shrink: 0; }

/* ===========================
   HOME PAGE SECTIONS
=========================== */
.home-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section-header-left {
    margin-bottom: 40px;
}

.section-header-left h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.2;
}

.section-header-left p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===========================
   SALE BANNER
=========================== */
#arctic-sale-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 99999;
    background: linear-gradient(90deg, rgba(10,10,15,0.97) 0%, rgba(12,18,32,0.97) 50%, rgba(10,10,15,0.97) 100%);
    border-bottom: 1px solid rgba(59,130,246,0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.55rem 3rem 0.55rem 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.01em;
    box-shadow: 0 2px 18px rgba(59,130,246,0.13);
}

#arctic-sale-banner i { color: var(--blue-bright); font-size: 1rem; flex-shrink: 0; }

#arctic-sale-banner-close {
    position: absolute;
    right: 0.75rem; top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.25rem 0.4rem;
    border-radius: 6px;
    transition: color 0.15s;
}

#arctic-sale-banner-close:hover { color: var(--text); }
body.has-sale-banner { padding-top: 38px; }
body.has-sale-banner.has-bogo-banner { padding-top: 76px; }
body.has-bogo-banner:not(.has-sale-banner) { padding-top: 38px; }

body.has-sale-banner header { top: 38px; }
body.has-bogo-banner:not(.has-sale-banner) header { top: 38px; }
body.has-sale-banner.has-bogo-banner header { top: 76px; }

/* ===========================
   BOGO DEAL BANNER
=========================== */
#arctic-bogo-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 99998;
    background: linear-gradient(90deg, rgba(10,15,10,0.97) 0%, rgba(12,32,18,0.97) 50%, rgba(10,15,10,0.97) 100%);
    border-bottom: 1px solid rgba(126,203,143,0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.55rem 3rem 0.55rem 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.01em;
    box-shadow: 0 2px 18px rgba(126,203,143,0.13);
}

body.has-sale-banner #arctic-bogo-banner { top: 38px; }

#arctic-bogo-banner i { color: #7ecb8f; font-size: 1rem; flex-shrink: 0; }

#arctic-bogo-banner-close {
    position: absolute;
    right: 0.75rem; top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.25rem 0.4rem;
    border-radius: 6px;
    transition: color 0.15s;
}

#arctic-bogo-banner-close:hover { color: var(--text); }

/* ===========================
   SEASONAL OVERLAY
=========================== */
#arctic-seasonal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 999999;
    overflow: hidden;
}

#arctic-seasonal-canvas {
    display: block;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.arctic-particle {
    position: absolute;
    top: -80px;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    z-index: 999999;
    will-change: transform;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes arctic-fall-1 {
    0%   { transform: translateY(0)   translateX(0px)   rotate(0deg);   opacity: 1; }
    50%  { transform: translateY(50vh) translateX(-30px) rotate(160deg); opacity: 0.8; }
    100% { transform: translateY(115vh) translateX(10px) rotate(360deg); opacity: 0; }
}

@keyframes arctic-fall-2 {
    0%   { transform: translateY(0)   translateX(0px)   rotate(0deg);    opacity: 1; }
    50%  { transform: translateY(50vh) translateX(40px)  rotate(-180deg); opacity: 0.8; }
    100% { transform: translateY(115vh) translateX(30px) rotate(-400deg); opacity: 0; }
}

@keyframes arctic-fall-3 {
    0%   { transform: translateY(0)   translateX(0px)   rotate(0deg);   opacity: 1; }
    60%  { transform: translateY(60vh) translateX(-40px) rotate(210deg); opacity: 0.7; }
    100% { transform: translateY(115vh) translateX(20px) rotate(380deg); opacity: 0; }
}

@keyframes arctic-fall-4 {
    0%   { transform: translateY(0)   translateX(0px)   rotate(0deg);    opacity: 1; }
    55%  { transform: translateY(55vh) translateX(30px)  rotate(-150deg); opacity: 0.75; }
    100% { transform: translateY(115vh) translateX(10px) rotate(-420deg); opacity: 0; }
}

/* ===========================
   RECENT PAYMENTS (index page)
=========================== */
.recent-purchases-cards-flex {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    margin: 0 auto;
}

.recent-purchase-card {
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .recent-purchases-cards-flex { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 900px) {
    .recent-purchases-cards-flex { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 560px) {
    .recent-purchases-cards-flex { grid-template-columns: 1fr; gap: 16px; }
}

/* ===========================
   SWAL TOAST OVERRIDES
=========================== */
.colored-toast.swal2-icon-success { background-color: #a5dc86 !important; }
.colored-toast.swal2-icon-error { background-color: #f27474 !important; }
.colored-toast.swal2-icon-warning { background-color: #f8bb86 !important; }
.colored-toast.swal2-icon-info { background-color: #3fc3ee !important; }
.colored-toast .swal2-title { color: white; }
.colored-toast .swal2-close { color: white; }
.colored-toast .swal2-html-container { color: white; }

/* (cart button styles defined in EXTERNAL LINKS & CART BUTTON section above) */

/* ===========================
   REVIEW STATS ROW (index page)
=========================== */
.reviews-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.review-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: rgba(18,18,26,0.9);
    border: 1px solid rgba(59,130,246,0.1);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.review-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59,130,246,0.3);
    box-shadow: 0 12px 32px rgba(0,0,0,0.5), 0 0 20px rgba(59,130,246,0.06);
}

.review-stat-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border-radius: 12px;
    color: var(--blue-bright);
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.15);
}

.review-stat-icon--gold {
    color: #fbbf24;
    background: rgba(251,191,36,0.08);
    border-color: rgba(251,191,36,0.15);
}

.review-stat-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.review-stat-value { font-size: 1.8rem; font-weight: 800; line-height: 1.05; color: #fff; letter-spacing: -0.02em; }
.review-stat-value-suffix { font-size: 0.9rem; font-weight: 600; color: var(--text-dim); }
.review-stat-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.review-stat-toprow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.review-stat-stars { display: inline-flex; gap: 2px; font-size: 0.95rem; color: #fbbf24; }

@media (max-width: 1100px) { .reviews-stats-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .reviews-stats-row { grid-template-columns: 1fr; } .review-stat-value { font-size: 1.5rem; } }

/* ===========================
   REVIEW CAROUSEL (index page)
=========================== */
.review-carousel-shell { display: flex; flex-direction: column; gap: 12px; width: 100%; }

.review-cards-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(59,130,246,0.3) rgba(10,10,15,0.8);
    padding-bottom: 8px;
}

.review-cards-viewport::-webkit-scrollbar { height: 8px; }
.review-cards-viewport::-webkit-scrollbar-track { background: rgba(10,10,15,0.8); border-radius: 999px; }
.review-cards-viewport::-webkit-scrollbar-thumb { background: rgba(59,130,246,0.3); border-radius: 999px; }
.review-cards-viewport::-webkit-scrollbar-thumb:hover { background: rgba(59,130,246,0.5); }

.review-cards-track {
    --reviews-per-view: 3;
    display: flex;
    gap: 24px;
    align-items: stretch;
    width: 100%;
    min-width: 100%;
    padding-bottom: 6px;
}

.review-cards-track .review-card-1x1 {
    flex: 0 0 calc((100% - (var(--reviews-per-view) - 1) * 24px) / var(--reviews-per-view));
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box;
    min-height: 100%;
}

.review-cards-controls { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 10px; }
.review-scroll-hint { color: var(--text-dim); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.3px; user-select: none; }

.review-nav-btn {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(18,18,26,0.8);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.review-nav-btn:hover:not(:disabled) { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.35); color: var(--blue-bright); }
.review-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }

@media (max-width: 900px) { .review-cards-track { --reviews-per-view: 2; gap: 18px; } }
@media (max-width: 600px) { .review-cards-track { --reviews-per-view: 1; gap: 16px; } .review-scroll-hint { font-size: 0.75rem; } .review-nav-btn { width: 34px; height: 34px; } }

/* ===========================
   PRODUCT PAGE SKELETON
=========================== */
@keyframes product-skeleton-pulse {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.product-page-skeleton {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    margin: 0 auto;
    padding: 0;
    grid-column: 1 / -1;
}

.product-skeleton-shimmer {
    background: linear-gradient(90deg, rgba(59,130,246,0.04) 25%, rgba(59,130,246,0.08) 50%, rgba(59,130,246,0.04) 75%);
    background-size: 200% 100%;
    animation: product-skeleton-pulse 1.5s ease-in-out infinite;
}

.product-skeleton-gallery {
    background: rgba(18,18,26,0.9);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border: 1px solid rgba(59,130,246,0.1);
}

.product-skeleton-image { width: 100%; min-height: 350px; max-height: 500px; aspect-ratio: 16/9; border-radius: 12px; background: rgba(10,10,15,0.8); }
.product-skeleton-thumbs { display: flex; gap: 12px; width: 100%; margin-top: 15px; }
.product-skeleton-thumb { flex: 0 0 calc(25% - 9px); aspect-ratio: 16/9; border-radius: 8px; }
.product-skeleton-sidebar { display: flex; flex-direction: column; gap: 20px; }

.product-skeleton-info {
    background: rgba(18,18,26,0.9);
    border-radius: 15px;
    padding: 25px 28px 28px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(59,130,246,0.1);
}

.product-skeleton-question {
    background: rgba(18,18,26,0.9);
    border-radius: 15px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(59,130,246,0.1);
}

/* Product skeleton responsive — handled in PRODUCT PAGE section above */

/* ===========================
   BOOSTER PAGE
=========================== */
.booster-rewards-section {
    padding: 2.5rem 0 3rem;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.booster-hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 560px;
}

.booster-hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--blue-bright);
    margin-bottom: 4px;
}

.booster-rewards-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0;
}

.booster-hero-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.booster-perks-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.booster-perk-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(18,18,26,0.8);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.booster-perk-card i {
    color: var(--blue-bright);
    font-size: 0.95rem;
}

.booster-perk-card:hover {
    border-color: rgba(59,130,246,0.3);
    background: rgba(59,130,246,0.06);
}

#booster-reward-card-container {
    width: 100%;
    max-width: 420px;
    display: flex;
    justify-content: center;
}

.booster-card-description { margin: -6px 0 0; color: var(--text-muted); line-height: 1.6; font-size: 0.9rem; }

.booster-card-empty {
    color: var(--text-muted);
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(18,18,26,0.8);
    border-radius: 16px;
    border: 1px solid var(--border);
    width: 100%;
    max-width: 420px;
    font-size: 0.92rem;
    backdrop-filter: blur(8px);
}

@media (max-width: 600px) {
    .booster-perks-row { flex-direction: column; align-items: center; }
    .booster-perk-card { width: 100%; max-width: 280px; justify-content: center; }
}

/* ===========================
   PACKAGE GRID WRAPPER
=========================== */
.package-grid-wrapper { position: relative; }

/* ===========================
   SKELETON CARDS (from skeleton-loader.js)
=========================== */
@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-card {
    display: flex;
    flex-direction: column;
    background: rgba(14,17,24,0.95);
    border-radius: 18px;
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(59,130,246,0.12);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.skeleton-card--product { border-radius: 18px; }
.skeleton-card--review { min-height: 520px; border-radius: 18px; flex: 0 0 calc((100% - (var(--reviews-per-view, 3) - 1) * 24px) / var(--reviews-per-view, 3)); }
.skeleton-card--recent-purchase { min-width: 0; box-sizing: border-box; }
.skeleton-card--team { min-height: 250px; border-radius: 18px; box-sizing: border-box; }

.skeleton-bar {
    background: linear-gradient(90deg, rgba(30,40,60,0.6) 25%, rgba(59,130,246,0.15) 50%, rgba(30,40,60,0.6) 75%) !important;
    background-size: 200% 100% !important;
    animation: skeleton-shimmer 1.5s ease-in-out infinite !important;
    border-radius: 6px;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    margin: 0;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, rgba(20,26,40,0.9) 25%, rgba(59,130,246,0.1) 50%, rgba(20,26,40,0.9) 75%) !important;
    background-size: 200% 100% !important;
    animation: skeleton-shimmer 1.5s ease-in-out infinite !important;
}

.skeleton-content { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.skeleton-title { width: 65%; height: 18px; }
.skeleton-tags { width: 40%; height: 14px; }
.skeleton-btn { width: 100%; height: 44px; margin-top: auto; border-radius: 10px; }
.skeleton-toprow { display: flex; align-items: center; gap: 12px; padding: 18px 20px 0 20px; }

.skeleton-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(90deg, rgba(30,40,60,0.6) 25%, rgba(59,130,246,0.15) 50%, rgba(30,40,60,0.6) 75%) !important;
    background-size: 200% 100% !important;
    animation: skeleton-shimmer 1.5s ease-in-out infinite !important;
}

.skeleton-username { width: 80px; height: 14px; }
.skeleton-stars { width: 90px; height: 14px; margin-left: auto; }
.skeleton-text-line { width: 100%; height: 12px; }
.skeleton-text-line--short { width: 75%; }

/* ===========================
   RECENT PURCHASE CARDS (from recent-purchases-card.js)
=========================== */
.recent-purchase-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: rgba(18,18,26,0.9);
    border-radius: 16px;
    padding: 0 0 18px 0;
    border: 1px solid var(--border);
    min-width: 0;
    color: var(--text);
    font-family: var(--font);
    overflow: hidden;
    transition: all 0.3s ease;
}

.recent-purchase-card:hover {
    border-color: rgba(59,130,246,0.25);
    box-shadow: 0 8px 28px rgba(0,0,0,0.3), 0 0 16px rgba(59,130,246,0.06);
    transform: translateY(-3px);
}

.recent-purchase-toprow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 16px 18px 0;
    min-height: 48px;
}

.recent-purchase-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #0a0a0f;
    border: 1px solid var(--border);
}

.recent-purchase-username {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    margin-right: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.recent-purchase-price {
    color: var(--blue-bright);
    font-weight: 700;
    font-size: 0.95rem;
    margin-left: 10px;
    background: rgba(59,130,246,0.06);
    border: 1px solid rgba(59,130,246,0.12);
    border-radius: 8px;
    padding: 5px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recent-purchase-product-img {
    width: calc(100% - 32px);
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin: 12px auto 0;
    background: #0a0a0f;
    display: block;
    border: 1px solid var(--border);
}

.recent-purchase-product-placeholder {
    width: calc(100% - 32px);
    height: 160px;
    margin: 12px auto 0;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(59,130,246,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-weight: 600;
}

.recent-purchase-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    padding: 0 18px;
}

.recent-purchase-package {
    color: var(--text);
    font-size: 1.05rem;
    margin-top: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.2;
}

.recent-purchase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.recent-purchase-visit-btn-main {
    margin-top: auto;
    width: 100%;
}

.recent-purchase-visit-btn-main i { margin-right: 7px; }

/* ===========================
   PRODUCT CARD INCLUDED INLINE
=========================== */
.product-card-included-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(59,130,246,0.06);
    border: 1px solid rgba(59,130,246,0.12);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.product-card-included-inline i { font-size: 9px; opacity: 0.75; }
.product-card-price-monthly { font-size: 11px; color: var(--blue-bright); font-weight: 600; margin-left: 2px; }

/* Review card slideup */
.review-card-slideup { opacity: 0; transform: translateY(60px); transition: opacity 0.7s cubic-bezier(.4,1.4,.6,1), transform 0.7s cubic-bezier(.4,1.4,.6,1); }
.review-card-slideup-active { opacity: 1; transform: translateY(0); }

/* Review card (from review-card.js) */
.review-card-1x1 {
    background: rgba(18,18,26,0.9);
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    max-width: none;
    margin: 0;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    color: var(--text);
    height: 100%;
    min-height: 520px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.review-card-1x1:hover {
    border-color: rgba(59,130,246,0.25);
    box-shadow: 0 8px 28px rgba(0,0,0,0.3), 0 0 16px rgba(59,130,246,0.06);
    transform: translateY(-3px);
}

.review-card-toprow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 0 20px;
}

.review-card-userflex {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0a0a0f;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.review-card-username {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.1;
    color: var(--text);
}

.review-card-textwrap {
    padding: 16px 20px 8px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.review-card-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.review-card-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.2), transparent);
    margin: 0;
}

.review-card-product-img {
    width: calc(100% - 32px);
    height: 170px;
    object-fit: cover;
    display: block;
    margin: 10px auto;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.review-card-product-content {
    padding: 16px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.review-card-product-title {
    font-weight: 800;
    font-size: 1.02rem;
    color: var(--text);
    line-height: 1.2;
    letter-spacing: 0.01em;
    margin-bottom: 8px;
}

.review-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.review-card-action-btn {
    margin-top: auto;
    width: 100%;
}

/* ===========================
   PAYMENT TYPE BADGE (product page)
=========================== */
.product-payment-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.18);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.product-payment-type-badge i { font-size: 0.7rem; color: var(--blue-bright); }

/* ===========================
   VEHICLE SELECTION (product page)
=========================== */
.opt-name { font-size: 0.82rem; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.opt-name-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }

.opt-owned-check {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; border-radius: 999px;
    background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.4);
    color: #22c55e; font-size: 0.65rem; opacity: 0; transform: scale(0.88);
    transition: opacity 0.18s, transform 0.18s;
}

.vehicle-opt-btn.owned { border-color: rgba(34,197,94,0.4); box-shadow: 0 0 12px rgba(34,197,94,0.12); }
.vehicle-opt-btn.owned .opt-owned-check { opacity: 1; transform: scale(1); }
.opt-price { font-size: 0.72rem; color: var(--text-dim); margin-top: 3px; }
.vehicle-opt-btn.active .opt-price { color: var(--blue-bright); }

/* ===========================
   YOU MAY ALSO LIKE (product page)
=========================== */
#you-may-also-like-section { margin: 20px 0 60px 0; position: relative; z-index: 11; clear: both; }
#you-may-also-like-section h2 { font-size: 1.5rem; font-weight: 800; color: var(--text); margin: 0 0 24px 0; letter-spacing: -0.02em; }
#you-may-also-like-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
#you-may-also-like-grid .product-card-1x1 { max-width: 100%; min-width: 0; width: 100%; }

@media (max-width: 1100px) { #you-may-also-like-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { #you-may-also-like-grid { grid-template-columns: 1fr; } }

/* ===========================
   TEAM PAGE SECTIONS
=========================== */
.team-section {
    margin: 48px 0 32px 0;
    width: 100%;
    padding-top: 80px;
}

.team-section:first-of-type { padding-top: 100px; }

.team-section-header {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(18,18,26,0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

.team-section-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(59,130,246,0.18);
    background: rgba(59,130,246,0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-bright);
    font-size: 1.1rem;
    flex: 0 0 auto;
}

.team-section-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.team-section-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, rgba(59,130,246,0.3), rgba(59,130,246,0.05));
}

.team-section-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text);
}

.team-section-description {
    margin: 0;
    color: var(--text-muted);
    max-width: 880px;
    font-size: 0.9rem;
    line-height: 1.6;
}

#ownership-cards,
#management-cards,
#development-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    align-items: stretch;
}

.team-cards-controls {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
}

.team-cards-controls.is-visible { display: flex; }

.team-scroll-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(18,18,26,0.8);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.team-scroll-btn:hover {
    background: rgba(59,130,246,0.1);
    border-color: rgba(59,130,246,0.35);
    color: var(--blue-bright);
}

.team-scroll-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.team-scroll-hint {
    color: var(--text-dim);
    font-size: 0.8rem;
    font-weight: 500;
    user-select: none;
}

.team-cards-scroll {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(59,130,246,0.25) rgba(10,10,15,0.5);
    padding-bottom: 8px;
    gap: 20px;
}

.team-cards-scroll::-webkit-scrollbar { height: 6px; }
.team-cards-scroll::-webkit-scrollbar-track { background: rgba(10,10,15,0.5); border-radius: 3px; }
.team-cards-scroll::-webkit-scrollbar-thumb { background: rgba(59,130,246,0.25); border-radius: 3px; }

.team-cards-scroll > * {
    flex: 0 0 calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
    scroll-snap-align: start;
}

@media (max-width: 768px) {
    .team-section { margin: 32px 0 20px 0; }
    .team-section:first-of-type { padding-top: 90px; }
    .team-section-header { grid-template-columns: 42px minmax(0, 1fr); gap: 10px; padding: 14px; }
    .team-section-icon { width: 42px; height: 42px; border-radius: 10px; font-size: 0.95rem; }
    .team-section-title { font-size: 1.4rem; }
    .team-section-description { font-size: 0.85rem; }
    #ownership-cards, #management-cards, #development-cards { grid-template-columns: 1fr; gap: 14px; }
    .team-cards-scroll > * { flex-basis: 86%; max-width: 86%; }
    .team-scroll-btn { width: 34px; height: 34px; }
    .team-scroll-hint { font-size: 0.75rem; }
}

/* ===========================
   TEAM ACCOUNT CARDS (from team-card.js)
=========================== */
.team-account-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    width: 100%;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(18,18,26,0.9);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-account-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59,130,246,0.3);
    box-shadow: 0 12px 36px rgba(0,0,0,0.35), 0 0 20px rgba(59,130,246,0.06);
}

.team-account-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 0;
    height: 80px;
    background: radial-gradient(120% 130% at 0% 0%, rgba(59,130,246,0.08), transparent);
    pointer-events: none;
}

.team-account-card.team-card-has-banner::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 0;
    height: 108px;
    background-image: linear-gradient(180deg, rgba(10,10,15,0.2), rgba(10,10,15,0.9)), var(--team-card-banner-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.team-card-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 20px 10px;
}

.team-card-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--border);
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.team-card-identity {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.team-card-username {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
}

.team-card-username-text {
    display: block;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-card-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-bright);
    font-size: 0.9rem;
    flex: 0 0 auto;
    filter: drop-shadow(0 0 6px rgba(96,165,250,0.3));
}

.team-card-rank {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: capitalize;
    line-height: 1.3;
}

.team-card-description {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 8px 20px 18px;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-card-footer {
    position: relative;
    z-index: 1;
    margin-top: auto;
    border-top: 1px solid var(--border);
}

.team-card-profile-btn {
    width: 100%;
    border: none;
    padding: 14px 18px;
    background: rgba(59,130,246,0.04);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0 0 18px 18px;
}

.team-card-profile-btn:hover {
    background: rgba(59,130,246,0.1);
    color: var(--blue-bright);
}

.team-card-profile-btn i {
    font-size: 0.75rem;
    transform: translateX(0);
    transition: transform 0.2s ease;
}

.team-card-profile-btn:hover i {
    transform: translateX(3px);
}

.account-card-slideup {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease-out var(--team-card-delay, 0ms), transform 0.55s ease-out var(--team-card-delay, 0ms);
}

.account-card-active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .team-account-card { min-height: 220px; }
    .team-card-top { padding: 18px 16px 8px; gap: 12px; }
    .team-card-avatar { width: 48px; height: 48px; }
    .team-card-username { font-size: 1.2rem; }
    .team-card-rank { font-size: 0.78rem; }
    .team-card-description { padding: 4px 16px 14px; font-size: 0.85rem; }
}

/* ===========================
   CHECKOUT COMPLETE PAGE
=========================== */
.checkout-success-section {
    position: relative;
    z-index: 1;
}

.checkout-card {
    background: rgba(18,18,26,0.9);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 48px rgba(0,0,0,0.35), 0 0 40px rgba(59,130,246,0.04);
    max-width: 680px;
    width: 100%;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    backdrop-filter: blur(12px);
}

.checkout-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.checkout-success-icon {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(34,197,94,0.25);
    color: #fff;
    font-size: 1.5rem;
}

.checkout-title {
    color: var(--text);
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.checkout-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0.3rem 0 0 0;
}

.checkout-transaction {
    background: rgba(59,130,246,0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.checkout-transaction-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-transaction-label i {
    color: var(--blue-bright);
    font-size: 0.85rem;
}

.checkout-transaction-label span {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
}

.checkout-transaction-id {
    color: var(--text);
    font-weight: 600;
    font-size: 0.82rem;
    font-family: monospace;
    word-break: break-all;
}

.checkout-summary {
    color: var(--text-muted);
    font-size: 0.92rem;
    padding: 0 2px;
}

.checkout-product-card {
    background: rgba(59,130,246,0.03);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    width: 100%;
}

.checkout-product-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.checkout-product-img {
    width: 90px;
    height: 65px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: #0a0a0f;
    border: 1px solid var(--border);
}

.checkout-product-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkout-product-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.checkout-product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-bright);
    padding: 6px 14px;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.15);
    border-radius: 8px;
    flex-shrink: 0;
}

.checkout-download-btn {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: rgba(59,130,246,0.06);
    color: var(--text);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.checkout-download-btn:hover {
    background: rgba(59,130,246,0.15);
    border-color: rgba(59,130,246,0.4);
    color: var(--blue-bright);
    transform: translateY(-1px);
}

.checkout-role-info {
    display: none;
    background: rgba(88,101,242,0.08);
    border: 1px solid rgba(88,101,242,0.2);
    border-radius: 12px;
    padding: 14px 18px;
    align-items: center;
    gap: 12px;
}

.checkout-role-info > i {
    font-size: 1.4rem;
    color: #5865F2;
    flex-shrink: 0;
}

.checkout-role-title {
    color: var(--text);
    font-weight: 600;
    font-size: 0.92rem;
}

.checkout-role-desc {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 2px;
}

.checkout-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.checkout-action-btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
    text-decoration: none;
    font-size: 0.88rem;
}

@media (max-width: 600px) {
    .checkout-card {
        padding: 28px 20px;
        gap: 18px;
    }

    .checkout-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .checkout-product-inner {
        flex-wrap: wrap;
        gap: 12px;
    }

    .checkout-product-price {
        order: 3;
    }

    .checkout-actions {
        flex-direction: column;
    }

    .checkout-action-btn {
        min-width: unset;
        width: 100%;
    }
}

/* ===========================
   MOBILE OPTIMIZATION FIXES
=========================== */

/* Header padding on small screens */
@media (max-width: 768px) {
    header { padding: 12px 16px; }
    header.scrolled { padding: 10px 16px; }
    .header-left { gap: 8px; }
    .header-logo img { width: 36px; height: 36px; }
    .brand-info h2 { font-size: 1rem; }
    .brand-info span { font-size: 0.7rem; }
    .login-btn { padding: 8px 18px; font-size: 0.82rem; }
}

/* Category nav bar mobile */
@media (max-width: 768px) {
    .category-nav-bar {
        gap: 0.5rem;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0.5rem 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .category-nav-bar::-webkit-scrollbar { display: none; }
    .category-nav-btn {
        padding: 0.4em 1.2em;
        font-size: 0.92em;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Booster page intermediate breakpoint */
@media (max-width: 900px) {
    .booster-rewards-section { padding-top: 80px; padding-left: 16px; padding-right: 16px; }
    .booster-hero { max-width: 100%; }
    .booster-rewards-title { font-size: 1.6rem; }
    #booster-reward-card-container { max-width: 100%; }
}

/* Store search and filters on very small screens */
@media (max-width: 480px) {
    .store-search-bar { padding: 10px 14px; min-width: unset; }
    .store-search-bar input { font-size: 0.85rem; }
    .store-hero-banner { padding: 16px; }
    .store-hero-banner h1 { font-size: 1.4rem; }
    .store-hero-subtitle { font-size: 0.82rem; }
    .store-content-header h1 { font-size: 1.3rem; }
}

/* User dropdown mobile fix */
@media (max-width: 768px) {
    .user-dropdown-menu {
        min-width: 200px;
        right: -10px;
    }
    .user-dropdown-trigger { padding: 6px 10px; }
    .user-dropdown-avatar { width: 28px; height: 28px; }
    .user-dropdown-name { font-size: 13px; max-width: 100px; }
}

/* Product page mobile enhancements — handled in PRODUCT PAGE section above */

/* Checkout page tablet fix (prevent overflow between 601-900px) */
@media (max-width: 900px) and (min-width: 601px) {
    .checkout-card { max-width: 580px; padding: 32px 28px; }
    .checkout-product-inner { gap: 12px; }
    .checkout-product-img { width: 70px; height: 50px; }
}

/* Login page tablet treatment */
@media (max-width: 768px) {
    .login-center-wrapper, .discord-modal-container { min-height: 60vh; padding: 20px; }
    .styled-login-box { padding: 32px 24px; max-width: 360px; }
    .login-title { font-size: 1.6rem; }
    .discord-desc { font-size: 0.95rem; }
}

/* Cart panel mobile */
@media (max-width: 480px) {
    .header-cart-panel { width: 100%; max-width: 100%; }
}

/* Hero stats bar mobile - keep 3 in a row */
@media (max-width: 480px) {
    .hero-stats-bar { flex-wrap: nowrap; gap: 12px; padding: 12px 14px; width: 100%; }
    .hero-stat-divider { display: block; height: 28px; }
    .hero-stat-num { font-size: 1.1rem; }
    .hero-stat-label { font-size: 0.6rem; }
}

/* Product card grid consistent small breakpoint */
@media (max-width: 480px) {
    .product-card-1x1 { border-radius: 14px; }
    .product-card-img-1x1 { height: 180px; border-radius: 14px 14px 0 0 !important; }
    .product-card-content-1x1 { padding: 18px 16px 16px; gap: 14px; }
    .product-card-title-1x1 { font-size: 1.1rem; }
    .product-card-btn-1x1 { padding: 12px 14px; font-size: 0.88rem; }
}

/* Section header mobile spacing */
@media (max-width: 768px) {
    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 1.8rem; }
    .home-section { padding: 50px 0; }
    .section-header-left { margin-bottom: 28px; }
    .section-header-left h2 { font-size: 1.5rem; }
}

/* Ensure tap targets are minimum 44px on touch devices */
@media (max-width: 768px) {
    .catalog-icon-btn, .header-cart-btn { width: 44px; height: 44px; }
    .nav-cart-btn { padding: 10px; }
    .ext-links-dropdown-item { padding: 0.75rem 0.85rem; }
    .footer-social a { width: 44px; height: 44px; }
    .social-icon { width: 44px; height: 44px; }
}

/* Fix horizontal overflow globally on mobile */
@media (max-width: 768px) {
    html, body { overflow-x: hidden; }
}

/* Media page folder cards mobile */
@media (max-width: 600px) {
    .media-folder-card { width: 100% !important; max-width: 100% !important; }
    #media-folders-container { gap: 16px !important; }
}

/* Mobile Quick Links dropdown in hamburger menu */
.mobile-quick-links-toggle {
    font-family: var(--font);
    cursor: pointer;
}

.mobile-quick-links-dropdown {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0 18px;
    margin-top: -4px;
    margin-bottom: 4px;
}

.mobile-quick-links-dropdown.open {
    display: flex;
}

.mobile-quick-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    background: rgba(59,130,246,0.03);
    border: 1px solid rgba(59,130,246,0.08);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.mobile-quick-link-item i {
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--blue-bright);
}

.mobile-quick-link-item:hover {
    background: rgba(59,130,246,0.08);
    color: var(--text);
    border-color: rgba(59,130,246,0.2);
}

/* ─── Login Modal ──────────────────────────────────────────────────── */
.login-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.login-modal-overlay.open {
    display: flex;
}

.login-modal-card {
    background: #111114;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 2.2rem 2rem 1.8rem;
    max-width: 420px;
    width: calc(100vw - 2rem);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    animation: loginModalIn 0.25s ease-out;
}

@keyframes loginModalIn {
    from { opacity: 0; transform: translateY(16px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: #9ca3af;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.login-modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.login-modal-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.login-modal-desc {
    color: #b0b5c0;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0.4rem 0 1.2rem;
}

.login-modal-btn {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-radius: 12px;
    background: #5865f2;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 18px rgba(88, 101, 242, 0.3);
    font-family: 'Poppins', sans-serif;
}

.login-modal-btn:hover {
    background: #4752c4;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(88, 101, 242, 0.4);
}

.login-modal-btn i {
    font-size: 1.3rem;
}

@media (max-width: 500px) {
    .login-modal-card {
        padding: 1.6rem 1.2rem 1.4rem;
        border-radius: 14px;
    }

    .login-modal-title {
        font-size: 1.4rem;
    }
}

/* ─── Utility: Hidden Initial State ─────────────────────────────────── */
.hidden-initial {
    display: none;
}

/* ─── Profile Copy Toast ───────────────────────────────────────────── */
.profile-copy-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    background: rgba(20, 24, 34, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f4f7ff;
    font-weight: 600;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

/* ─── Status Badges (Lifetime / VIP) ───────────────────────────────── */
.status-badge {
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge-enabled {
    color: #25c26e;
}

.status-badge-disabled {
    color: #d84141;
}

/* ─── Profile Role Icons ───────────────────────────────────────────── */
.profile-role-icon-booster {
    color: #b678ff;
    margin-right: 5px;
}

.profile-role-icon-team {
    color: #5b9bd5;
    margin-right: 6px;
}

.profile-role-partner-badge {
    display: inline-block;
    font-style: normal;
    font-size: 1em;
    line-height: 1;
    vertical-align: middle;
}

/* ─── Subscriptions & Commissioned Grids ───────────────────────────── */
#subscriptions-grid,
#commissioned-assets-grid {
    color: var(--text);
    min-height: 200px;
    width: 100%;
    position: relative;
    z-index: 1;
}

#subscriptions-grid.assets-grid {
    max-height: none;
    overflow: visible;
}

#subscriptions-grid .subscription-card,
#subscriptions-grid .tab-empty-message {
    opacity: 1;
    visibility: visible;
}

/* ─── Subscription Cards ───────────────────────────────────────────── */
.subscription-card {
    background: rgba(18, 18, 26, 0.9);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.2rem;
    align-items: start;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.subscription-card-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
}

.subscription-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.subscription-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.subscription-card-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.subscription-card-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blue-bright);
}

.subscription-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.subscription-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.subscription-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.subscription-card-details span {
    color: var(--text-muted);
}

.subscription-card-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.subscription-status-active {
    color: #43d17b;
    font-weight: 600;
}

.subscription-status-pending {
    color: #f5a623;
    font-weight: 600;
}

.subscription-status-cancelled {
    color: #d84141;
    font-weight: 600;
}

.subscription-cancel-btn {
    padding: 0.45rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(220, 87, 87, 0.35);
    background: rgba(220, 87, 87, 0.1);
    color: #f29b9b;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.subscription-cancel-btn:hover {
    background: rgba(220, 87, 87, 0.25);
    border-color: rgba(220, 87, 87, 0.6);
}

.subscription-cancel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.subscription-resync-btn {
    padding: 0.45rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(88, 101, 242, 0.35);
    background: rgba(88, 101, 242, 0.1);
    color: #a8b4f0;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.subscription-resync-btn:hover {
    background: rgba(88, 101, 242, 0.22);
    border-color: rgba(88, 101, 242, 0.55);
    color: #c4ccf9;
}

.subscription-resync-btn:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.subscription-resync-btn.subscription-resync-success {
    color: #43d17b;
    border-color: rgba(67, 209, 123, 0.3);
}

.subscription-resync-btn i,
.subscription-cancel-btn i {
    margin-right: 0.3rem;
}

/* Subscription/Commissioned empty & loading states */
.tab-empty-message {
    color: var(--text-muted);
    text-align: center;
    padding: 2rem 0;
}

.tab-error-message {
    color: #d84141;
    text-align: center;
    padding: 2rem 0;
}

/* ─── Error Page (404) ─────────────────────────────────────────────── */
.error-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.error-page-code {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.error-page-message {
    font-size: 1.5rem;
}

.error-page-link {
    margin-top: 2rem;
    font-size: 1.2rem;
    color: var(--blue-bright);
    text-decoration: underline;
}

/* ─── Commissioned Assets Browser ──────────────────────────────────── */
.commissioned-browser-shell {
    width: 100%;
    border-radius: 14px;
    background: rgba(12, 14, 22, 0.85);
    border: 1px solid var(--border);
    overflow: hidden;
    min-height: 320px;
}

.commissioned-browser-body {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 320px;
}

.commissioned-browser-sidebar {
    border-right: 1px solid var(--border);
    background: rgba(10, 12, 20, 0.6);
    padding: 1rem 0;
    overflow-y: auto;
    max-height: 520px;
}

.commissioned-sidebar-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 0.5rem 1.2rem 0.8rem;
}

.commissioned-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.commissioned-sidebar-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
    padding: 0.7rem 1.2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
    color: var(--text);
}

.commissioned-sidebar-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.commissioned-sidebar-item.active {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid var(--blue-bright);
}

.commissioned-sidebar-item-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
}

.commissioned-sidebar-item-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.commissioned-browser-content {
    padding: 1.5rem 2rem;
    overflow-y: auto;
    max-height: 520px;
}

.commissioned-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.commissioned-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.commissioned-price-pill {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--blue-bright);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 20px;
    padding: 0.35rem 1rem;
    white-space: nowrap;
}

.commissioned-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.commissioned-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.commissioned-meta-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.commissioned-meta-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.commissioned-includes-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.8rem;
}

.commissioned-includes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.commissioned-include-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.15s;
}

.commissioned-include-card:hover {
    border-color: rgba(59, 130, 246, 0.35);
}

.commissioned-include-image-wrap {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.commissioned-include-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s;
}

.commissioned-include-image:hover {
    transform: scale(1.03);
}

.commissioned-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    color: var(--text-dim);
}

.commissioned-include-row {
    padding: 0.6rem 0.75rem;
}

.commissioned-include-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.commissioned-include-status {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.commissioned-footer-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
}

.commissioned-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.commissioned-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
}

.commissioned-empty-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.commissioned-empty-copy {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ─── Commissioned Image Viewer (Lightbox) ──────────────────────────── */
.commissioned-image-viewer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}

.commissioned-image-viewer.open {
    display: flex;
}

.commissioned-image-viewer-panel {
    background: rgba(16, 18, 28, 0.97);
    border: 1px solid var(--border);
    border-radius: 14px;
    max-width: 80vw;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.commissioned-image-viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid var(--border);
}

.commissioned-image-viewer-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.commissioned-image-viewer-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 0.3rem;
    transition: color 0.15s;
}

.commissioned-image-viewer-close:hover {
    color: var(--text);
}

.commissioned-image-viewer-body {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.commissioned-image-viewer-image {
    max-width: 100%;
    max-height: 65vh;
    border-radius: 8px;
    object-fit: contain;
}

.commissioned-image-viewer-name {
    padding: 0.5rem 1.2rem 0.8rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
}

/* ─── Commissioned Assets Responsive ────────────────────────────────── */
@media (max-width: 700px) {
    .commissioned-browser-body {
        grid-template-columns: 1fr;
    }

    .commissioned-browser-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border);
        max-height: 180px;
    }

    .commissioned-browser-content {
        padding: 1.2rem 1rem;
    }

    .commissioned-includes-grid {
        grid-template-columns: 1fr;
    }
}



/* ===========================
   CART SLIDE PANEL
=========================== */
.cart-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99990;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-panel-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 92vw;
    height: 100vh;
    height: 100dvh;
    z-index: 99995;
    background: rgba(12, 13, 18, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: -12px 0 60px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    font-family: var(--font);
    color: var(--text);
}

.cart-panel.open {
    transform: translateX(0);
}

/* ── Header ─────────────────────────────────────── */
.cart-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.cart-panel-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
    color: #fff;
}

.cart-panel-title i {
    font-size: 0.95rem;
    color: var(--blue-bright);
    opacity: 0.9;
}

.cart-panel-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cart-panel-close:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* ── Body / Items list ──────────────────────────── */
.cart-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.cart-panel-body::-webkit-scrollbar { width: 4px; }
.cart-panel-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 4px; }

.cart-panel-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 80px;
}

.cart-panel-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 56px 0;
    color: var(--text-dim);
}

.cart-panel-empty i {
    font-size: 2.2rem;
    opacity: 0.3;
    color: var(--text-muted);
}

.cart-panel-empty p {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dim);
}
/* ── Cart item card ─────────────────────────────── */
.cart-panel-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 12px 14px;
    transition: all 0.2s ease;
}

.cart-panel-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.cart-panel-item-image {
    width: 52px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-panel-item-info {
    flex: 1;
    min-width: 0;
}

.cart-panel-item-name {
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    line-height: 1.3;
}

.cart-panel-item-price {
    font-size: 0.78rem;
    color: var(--blue-bright);
    font-weight: 600;
    margin-top: 3px;
}

.cart-panel-item-billing {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.68rem;
    color: var(--text-dim);
    font-weight: 500;
}

.cart-panel-item-remove {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    color: var(--text-dim);
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cart-panel-item-remove:hover {
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.3);
    color: #f87171;
}

/* ── Footer ─────────────────────────────────────── */
.cart-panel-footer {
    flex-shrink: 0;
    padding: 0 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ── Summary (total + rewards hint) ─────────────── */
.cart-panel-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 18px;
}

.cart-panel-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-panel-total-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
}

.cart-panel-total-prices {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-panel-total-prices #cart-panel-total-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.cart-panel-total-original {
    color: #f87171;
    text-decoration: line-through;
    text-decoration-color: #f87171;
    text-decoration-thickness: 1.5px;
    font-size: 0.88rem;
    font-weight: 600;
    display: none;
}

.cart-panel-rewards-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--text-dim);
    font-weight: 500;
}

.cart-panel-rewards-hint i {
    color: var(--blue-bright);
    font-size: 0.7rem;
    opacity: 0.7;
}

/* ── Discount section (collapsible) ─────────────── */
.cart-panel-discount-section {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cart-panel-discount-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    width: 100%;
    text-align: left;
}

.cart-panel-discount-toggle:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.cart-panel-discount-toggle i:first-child {
    color: var(--blue-bright);
    opacity: 0.7;
    font-size: 0.72rem;
}

.cart-panel-discount-chevron {
    margin-left: auto;
    font-size: 0.6rem;
    transition: transform 0.25s ease;
    opacity: 0.5;
}

.cart-panel-discount-toggle.open .cart-panel-discount-chevron {
    transform: rotate(180deg);
}

.cart-panel-discount-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease, margin 0.3s ease;
    margin-top: 0;
}

.cart-panel-discount-body.open {
    max-height: 200px;
    opacity: 1;
    margin-top: 10px;
}

.cart-panel-discount-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.cart-panel-discount-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.82rem;
    color: var(--text);
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.cart-panel-discount-input:focus {
    border-color: rgba(59, 130, 246, 0.4);
}

.cart-panel-discount-input::placeholder {
    color: var(--text-dim);
}

.cart-panel-discount-apply {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.08);
    color: var(--blue-bright);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cart-panel-discount-apply:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
}

.cart-panel-prefill-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cart-panel-prefill-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cart-panel-prefill-option {
    padding: 5px 11px;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.12);
    background: rgba(59, 130, 246, 0.04);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.cart-panel-prefill-option:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--blue-bright);
}

.cart-panel-discount-note {
    font-size: 0.68rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.7;
}

.cart-panel-discount-note i {
    font-size: 0.62rem;
}

/* ── Applied code badge ─────────────────────────── */
.cart-panel-applied-code {
    margin-top: 8px;
}

.cart-panel-applied-badge {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-panel-applied-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--blue-bright);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cart-panel-applied-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text);
}

.cart-panel-applied-percent {
    color: var(--blue-bright);
    font-size: 0.76rem;
    font-weight: 500;
    margin-left: 6px;
}

.cart-panel-remove-code {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dim);
    font-size: 12px;
    padding: 4px;
    display: flex;
    align-items: center;
    opacity: 0.7;
    transition: all 0.15s;
    border-radius: 6px;
}

.cart-panel-remove-code:hover {
    opacity: 1;
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
}

/* ── Rewards balance ────────────────────────────── */
.cart-panel-rewards-balance {
    margin: 0;
}

.cart-panel-rewards-box {
    background: rgba(59, 130, 246, 0.04);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

/* ── Action buttons ─────────────────────────────── */
.cart-panel-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-panel-checkout-btn {
    width: 100%;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
}

.cart-panel-rewards-btn {
    width: 100%;
    border-radius: 12px !important;
    padding: 12px 20px !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
}

/* ── Bundle & Save Styles ─────────────────────────── */
.cart-bundle-suggestions {
    margin-top: 14px;
    border: 1px solid rgba(126, 203, 143, 0.15);
    border-radius: 14px;
    background: rgba(126, 203, 143, 0.03);
    overflow: hidden;
}

.cart-bundle-header {
    padding: 10px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #7ecb8f;
    border-bottom: 1px solid rgba(126, 203, 143, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-bundle-header i {
    font-size: 0.8rem;
}

.cart-bundle-item {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(126, 203, 143, 0.06);
}

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

.cart-bundle-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.cart-bundle-item-img {
    width: 44px;
    height: 30px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-bundle-item-details {
    flex: 1;
    min-width: 0;
}

.cart-bundle-item-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-bundle-item-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.cart-bundle-original-price {
    font-size: 0.72rem;
    color: #f87171;
    text-decoration: line-through;
    text-decoration-color: #f87171;
    text-decoration-thickness: 1.5px;
}

.cart-bundle-new-price {
    font-size: 0.78rem;
    color: #7ecb8f;
    font-weight: 700;
}

.cart-bundle-item-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 8px;
}

.cart-bundle-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(126, 203, 143, 0.25);
    background: rgba(126, 203, 143, 0.08);
    color: #7ecb8f;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.cart-bundle-add-btn:hover {
    background: rgba(126, 203, 143, 0.16);
    border-color: rgba(126, 203, 143, 0.45);
}

.cart-panel-item-price-original {
    color: #f87171;
    text-decoration: line-through;
    text-decoration-color: #f87171;
    text-decoration-thickness: 1.5px;
    font-size: 0.72rem;
    margin-right: 6px;
}

.cart-panel-item-price-bundle {
    color: #7ecb8f;
    font-weight: 700;
    font-size: 0.78rem;
}

.cart-panel-item-bundle-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
    font-size: 0.62rem;
    color: #7ecb8f;
    font-weight: 600;
    opacity: 0.8;
}

.cart-panel-item-price-bogo {
    color: #7ecb8f;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
}

.cart-panel-item-bogo-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
    font-size: 0.62rem;
    color: #a78bfa;
    font-weight: 600;
    opacity: 0.85;
}

.cart-panel-item-sale-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
    font-size: 0.62rem;
    color: #60a5fa;
    font-weight: 600;
    opacity: 0.85;
}

.cart-panel-item-price-sale {
    color: #60a5fa;
    font-weight: 700;
    font-size: 0.82rem;
}

@media (max-width: 480px) {
    .cart-panel {
        width: 100vw;
        max-width: 100vw;
    }
}


/* ===========================
   TERMS OF SERVICE PAGE
=========================== */
.tos-page {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 100px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* ── Sidebar / Table of Contents ── */
.tos-sidebar {
    position: sticky;
    top: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: border-color var(--transition);
}

.tos-sidebar:hover {
    border-color: rgba(59, 130, 246, 0.2);
}

.tos-sidebar-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--blue-bright);
    margin-bottom: 16px;
}

.tos-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tos-nav li {
    margin-bottom: 4px;
}

.tos-nav a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
    text-decoration: none;
    border-left: 2px solid transparent;
}

.tos-nav a:hover {
    color: #fff;
    background: rgba(59, 130, 246, 0.06);
    border-left-color: rgba(59, 130, 246, 0.3);
}

.tos-nav a.active {
    color: #fff;
    background: rgba(59, 130, 246, 0.1);
    border-left-color: var(--blue-bright);
}

/* ── Main Content ── */
.tos-content {
    min-width: 0;
}

/* ── Hero Banner ── */
.tos-hero {
    text-align: center;
    margin-bottom: 48px;
    padding: 48px 32px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04) 0%, rgba(59, 130, 246, 0.01) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.tos-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
    opacity: 0.5;
}

.tos-hero-icon {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.4rem;
    color: var(--blue-bright);
}

.tos-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.tos-hero p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

.tos-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.tos-hero-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tos-hero-meta i {
    color: var(--blue-bright);
    font-size: 0.7rem;
}

/* ── Search Bar ── */
.tos-search-wrapper {
    position: relative;
    margin-bottom: 32px;
}

.tos-search-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 0.9rem;
    pointer-events: none;
    transition: color 0.2s;
}

.tos-search {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.9rem;
    font-family: var(--font);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.tos-search::placeholder {
    color: var(--text-dim);
}

.tos-search:focus {
    border-color: var(--border-hover);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.tos-search-wrapper:focus-within i {
    color: var(--blue-bright);
}

.tos-no-results {
    display: none;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.tos-no-results i {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
    color: var(--text-dim);
    opacity: 0.5;
}

/* ── Section Cards ── */
.tos-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    margin-bottom: 20px;
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition), transform 0.2s ease;
}

.tos-section:hover {
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(59, 130, 246, 0.04);
    transform: translateY(-1px);
}

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

.tos-section-top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 28px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.05);
    background: rgba(59, 130, 246, 0.015);
}

.tos-section-number {
    width: 32px;
    height: 32px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--blue-bright);
    flex-shrink: 0;
}

.tos-section-top h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.tos-section-icon {
    margin-left: auto;
    width: 34px;
    height: 34px;
    background: rgba(59, 130, 246, 0.06);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-bright);
    font-size: 0.85rem;
    opacity: 0.7;
}

.tos-section-body {
    padding: 24px 28px 28px;
}

.tos-section-body p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.8;
    margin: 0 0 14px;
}

.tos-section-body p:last-child {
    margin-bottom: 0;
}

.tos-section-body .tos-highlight {
    background: rgba(59, 130, 246, 0.06);
    border-left: 3px solid var(--blue-bright);
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin: 16px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.tos-section-body ul {
    list-style: none;
    padding: 0;
    margin: 14px 0;
}

.tos-section-body ul li {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.8;
    padding: 8px 0 8px 28px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.tos-section-body ul li:last-child {
    border-bottom: none;
}

.tos-section-body ul li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 18px;
    width: 6px;
    height: 6px;
    background: var(--blue-bright);
    border-radius: 50%;
    opacity: 0.7;
}

.tos-section-body strong {
    color: var(--text);
    font-weight: 600;
}

/* ── Footer CTA ── */
.tos-footer-cta {
    text-align: center;
    padding: 40px 24px;
    margin-top: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.tos-footer-cta p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.tos-footer-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 10px;
    color: var(--blue-bright);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tos-footer-cta a:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.12);
}

/* ── TOS Responsive ── */
@media (max-width: 900px) {
    .tos-page {
        grid-template-columns: 1fr;
        padding: 100px 16px 80px;
        gap: 24px;
    }

    .tos-sidebar {
        position: relative;
        top: 0;
        display: none;
    }

    .tos-hero {
        padding: 32px 20px;
    }

    .tos-hero h1 {
        font-size: 1.7rem;
    }

    .tos-hero-meta {
        flex-direction: column;
        gap: 8px;
    }

    .tos-section-top {
        padding: 18px 20px;
    }

    .tos-section-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .tos-page {
        padding: 90px 12px 60px;
    }

    .tos-hero h1 {
        font-size: 1.4rem;
    }

    .tos-section-top h2 {
        font-size: 0.95rem;
    }

    .tos-section-icon {
        display: none;
    }
}

/* ===========================
   PARTNERSHIPS PAGE (partner-card styles)
=========================== */

/* FiveM icon helper */
.fivem-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Emoji ring (mirrors .hero-logo-img but shows emoji) */
.partner-ring-emoji {
    font-size: 110px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 240px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 28px rgba(59,130,246,0.30));
}

/* Filter pills */
.partners-filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.partners-filter-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-right: 4px;
}

.partner-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    white-space: nowrap;
    user-select: none;
}

.partner-filter-pill:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.22);
    color: var(--text);
}

.partner-filter-pill.active {
    background: rgba(59,130,246,0.15);
    border-color: rgba(59,130,246,0.40);
    color: var(--blue-bright);
}

.partner-filter-pill.active.pill-roleplay {
    background: rgba(34,197,94,0.12);
    border-color: rgba(34,197,94,0.35);
    color: #86efac;
}

.partner-filter-pill.active.pill-development {
    background: rgba(59,130,246,0.14);
    border-color: rgba(59,130,246,0.38);
    color: #93c5fd;
}

.partner-filter-pill.active.pill-other {
    background: rgba(148,163,184,0.12);
    border-color: rgba(148,163,184,0.28);
    color: #94a3b8;
}

/* Partners list section */
.partners-list-section { padding: 0 0 80px; }

.partners-list-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}

.partners-list-section h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0;
}

.partners-count-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: rgba(59,130,246,0.12);
    border: 1px solid rgba(59,130,246,0.25);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    color: var(--blue-bright);
    letter-spacing: 0.04em;
}

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

@media (max-width: 1200px) {
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

.partner-card.hidden { display: none !important; }

.partners-empty {
    display: none;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    grid-column: 1 / -1;
}

.partners-empty i {
    font-size: 32px;
    margin-bottom: 14px;
    opacity: 0.35;
    display: block;
}

/* Divider */
.partners-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.16), transparent);
    margin: 0 0 72px;
}

/* CTA section */
.partners-cta-section { padding: 0 0 100px; }

.partners-cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partners-cta-box::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(59,130,246,0.09) 0%, transparent 70%);
    pointer-events: none;
}

.partners-cta-box h2 {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 12px;
}

.partners-cta-box p {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.partners-cta-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.ph-btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: rgba(88,101,242,0.13);
    color: #8fa3ff;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    border: 1px solid rgba(88,101,242,0.28);
    cursor: pointer;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
    text-decoration: none;
}

.ph-btn-discord:hover {
    background: rgba(88,101,242,0.26);
    border-color: rgba(88,101,242,0.55);
    transform: translateY(-3px);
}

/* Footer note */
.partners-footer-note {
    text-align: center;
    font-size: 11px;
    color: var(--text-dim);
    padding-bottom: 60px;
}

/* Partner filter pill icon (replaces inline style="object-fit:contain") */
.partner-filter-pill img {
    object-fit: contain;
}

/* Responsive */
@media (max-width: 1024px) {
    .partners-cta-box { padding: 40px 24px; }
}

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

/* ===========================
   PARTNER DETAIL PAGE (partnership-detail.html)
=========================== */

/* ── Root ─────────────────────────────────────────────────────────────── */
#pd-root { position: relative; z-index: 1; }

/* ── Hero — full viewport width, no container constraints ────────────── */
.pd-hero {
    position: relative;
    width: 100%;
    min-height: 620px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-top: 80px;
}

/* Adjust if sale/bogo banners are active — they push the header down */
body.has-sale-banner .pd-hero { margin-top: 118px; }
body.has-bogo-banner:not(.has-sale-banner) .pd-hero { margin-top: 118px; }
body.has-sale-banner.has-bogo-banner .pd-hero { margin-top: 156px; }

.pd-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    filter: brightness(0.46);
    transform: scale(1.04);
    transition: transform 12s ease;
}
.pd-hero-bg--fallback {
    background: linear-gradient(160deg, #0d1a2e 0%, #080d14 100%);
    filter: none;
}
.pd-hero:hover .pd-hero-bg { transform: scale(1.00); }

.pd-hero-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,10,15,0.05) 0%,
        rgba(10,10,15,0.18) 30%,
        rgba(10,10,15,0.68) 62%,
        rgba(10,10,15,0.96) 88%,
        #0a0a0f 100%
    );
    pointer-events: none;
}

/* ── Back pill ────────────────────────────────────────────────────────── */
.pd-back {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.70);
    text-decoration: none;
    background: rgba(10,10,15,0.52);
    border: 1px solid rgba(255,255,255,0.14);
    padding: 8px 18px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    transition: color 0.18s, background 0.18s;
    white-space: nowrap;
}
.pd-back:hover { color: #fff; background: rgba(10,10,15,0.80); }

/* ── Hero content ────────────────────────────────────────────────────── */
.pd-hero-content {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 32px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.pd-hero-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.pd-logo {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    border: 3px solid rgba(255,255,255,0.22);
    object-fit: cover;
    background: var(--bg-card);
    box-shadow: 0 16px 48px rgba(0,0,0,0.70);
}

.pd-logo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    border: 3px solid rgba(255,255,255,0.14);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.70);
}
.pd-logo-placeholder--hidden { display: none !important; }

.pd-hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.pd-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #60a5fa;
    background: rgba(59,130,246,0.16);
    border: 1px solid rgba(59,130,246,0.34);
    padding: 6px 14px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
}
.pd-verified-badge i { font-size: 10px; }

.pd-type-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid transparent;
    backdrop-filter: blur(10px);
}
.pd-type-pill--roleplay    { background: rgba(34,197,94,0.15);   border-color: rgba(34,197,94,0.30);   color: #86efac; }
.pd-type-pill--development { background: rgba(59,130,246,0.15);  border-color: rgba(59,130,246,0.30);  color: #93c5fd; }
.pd-type-pill--other       { background: rgba(148,163,184,0.12); border-color: rgba(148,163,184,0.25); color: #94a3b8; }
.pd-type-pill-icon { object-fit: contain; display: inline-block; vertical-align: middle; width: 11px; height: 11px; flex-shrink: 0; }

.pd-name {
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 900;
    color: #fff;
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin: 0;
    text-shadow: 0 4px 32px rgba(0,0,0,0.55);
}

.pd-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.66);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

.pd-owner-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,0.48);
}
.pd-owner-crown { color: var(--blue-bright); }
.pd-owner-link {
    color: rgba(255,255,255,0.72);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255,255,255,0.22);
    transition: color 0.16s, text-decoration-color 0.16s;
}
.pd-owner-link:hover { color: #fff; text-decoration-color: rgba(255,255,255,0.55); }

.pd-hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 4px;
}

/* ── Body — constrained, sits below the full-bleed hero ─────────────── */
.pd-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 40px 80px;
    position: relative;
    z-index: 1;
}

/* ── Features ────────────────────────────────────────────────────────── */
.pd-features-section { margin-bottom: 56px; }
.pd-section-header { margin-bottom: 28px; }

.pd-section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--blue-bright);
    margin-bottom: 6px;
    opacity: 0.75;
}

.pd-section-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    margin: 0;
}

.pd-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pd-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.pd-feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(59,130,246,0.10);
}

.pd-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(59,130,246,0.10);
    border: 1px solid rgba(59,130,246,0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--blue-bright);
    flex-shrink: 0;
    transition: background var(--transition), border-color var(--transition);
}
.pd-feature-card:hover .pd-feature-icon {
    background: rgba(59,130,246,0.18);
    border-color: rgba(59,130,246,0.42);
}

.pd-feature-title { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.3; }
.pd-feature-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.65; flex: 1; }

/* ── CTA ─────────────────────────────────────────────────────────────── */
.pd-cta-section { margin-bottom: 48px; }

.pd-cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 52px 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}
.pd-cta-card::before {
    content: '';
    position: absolute;
    top: -80px; left: 50%; transform: translateX(-50%);
    width: 500px; height: 260px;
    background: radial-gradient(ellipse, rgba(59,130,246,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.pd-cta-title { font-size: clamp(20px, 3vw, 28px); font-weight: 800; color: var(--text); letter-spacing: -0.02em; margin: 0; }
.pd-cta-desc  { font-size: 14px; color: var(--text-muted); line-height: 1.65; max-width: 500px; margin: 0; }
.pd-cta-btns  { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }

.pd-trademark-note { font-size: 11px; color: var(--text-dim); text-align: center; margin-top: 8px; }

/* ── Loading / error ─────────────────────────────────────────────────── */
.pd-loading { text-align: center; padding: 160px 40px; color: var(--text-muted); font-size: 15px; }
.pd-loading i { font-size: 32px; margin-bottom: 16px; display: block; opacity: 0.30; }
.pd-error { text-align: center; padding: 160px 40px; color: var(--text-muted); font-size: 15px; }
.pd-error i { font-size: 32px; margin-bottom: 16px; display: block; color: #ef4444; opacity: 0.60; }
.pd-error a { color: var(--blue-bright); text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .pd-hero { min-height: 520px; }
    .pd-hero-content { padding: 0 28px 56px; }
    .pd-body { padding: 48px 24px 60px; }
    .pd-features-grid { grid-template-columns: repeat(2, 1fr); }
    .pd-cta-card { padding: 40px 28px; }
}

@media (max-width: 600px) {
    .pd-hero { min-height: 440px; }
    .pd-hero-content { padding: 0 16px 44px; gap: 12px; }
    .pd-back { top: 14px; left: 14px; }
    .pd-name { font-size: clamp(28px, 9vw, 42px); }
    .pd-desc { font-size: 14px; }
    .pd-body { padding: 36px 16px 48px; }
    .pd-features-grid { grid-template-columns: 1fr; }
    .pd-cta-card { padding: 32px 20px; }
    .pd-hero-btns { flex-direction: column; align-items: center; }
    .pd-hero-btns .btn { width: 220px; justify-content: center; }
}

/* ===========================
   REFERRAL MODAL (/login/referral/:community)
=========================== */

.referral-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 20px;
}

.referral-modal-overlay.open {
    display: flex;
}

.referral-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: #9ca3af;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    z-index: 1;
}

.referral-modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.referral-card {
    position: relative;
    background: rgba(18, 18, 26, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 48px 40px 40px;
    max-width: 480px;
    width: 100%;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    animation: referralCardIn 0.35s ease-out;
}

@keyframes referralCardIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.referral-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.referral-spinner {
    font-size: 28px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

/* ── Icon badges ───────────────────────────────────────────────────── */
.referral-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 8px;
}

.referral-icon-error {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.20);
}

.referral-icon-warning {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.20);
}

.referral-icon-discord {
    background: rgba(88, 101, 242, 0.12);
    color: #5865f2;
    border: 1px solid rgba(88, 101, 242, 0.20);
}

/* ── Partner logo ──────────────────────────────────────────────────── */
.referral-partner-logo-wrap {
    margin-bottom: 4px;
}

.referral-partner-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.referral-partner-logo-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.08);
    border: 2px solid rgba(59, 130, 246, 0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--blue-bright);
}

/* ── Typography ────────────────────────────────────────────────────── */
.referral-invited-by {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

.referral-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
}

.referral-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 4px 0 0;
    max-width: 380px;
}

.referral-reward-highlight {
    color: #34d399;
    font-weight: 700;
}

/* ── Notice box ────────────────────────────────────────────────────── */
.referral-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 16px;
    text-align: left;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.referral-notice i {
    color: var(--blue-bright);
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.referral-notice strong {
    color: #fff;
}

.referral-notice--warning {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.25);
}
.referral-notice--warning i {
    color: #f59e0b;
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.referral-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
}

.referral-btn {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 0.98rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: var(--font);
}

.referral-btn i {
    font-size: 1.15rem;
}

.referral-btn-discord {
    background: #5865f2;
    color: #fff;
    box-shadow: 0 4px 18px rgba(88, 101, 242, 0.3);
}

.referral-btn-discord:hover {
    background: #4752c4;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(88, 101, 242, 0.4);
}

.referral-btn-outline {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.referral-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

.referral-btn-secondary {
    background: rgba(59, 130, 246, 0.08);
    color: var(--blue-bright);
    border: 1px solid rgba(59, 130, 246, 0.20);
    margin-top: 12px;
}

.referral-btn-secondary:hover {
    background: rgba(59, 130, 246, 0.14);
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 500px) {
    .referral-card {
        padding: 32px 20px 28px;
        border-radius: 16px;
    }

    .referral-title {
        font-size: 1.5rem;
    }

    .referral-desc {
        font-size: 0.88rem;
    }
}


/* ===========================
   PARTNERSHIPS MANAGEMENT (Admin)
=========================== */

.pm-wrapper { padding: 0; }
.pm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* ── Table Card ────────────────────────────────────────────────────── */
.pm-table-card {
    background: rgba(18, 18, 28, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.10);
    border-radius: 14px;
    overflow: hidden;
}

.pm-table {
    width: 100%;
    border-collapse: collapse;
}

.pm-thead-row {
    border-bottom: 1px solid rgba(59, 130, 246, 0.08);
}

.pm-th {
    padding: 0.7rem 1rem;
    text-align: left;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pm-th--right { text-align: right; }

.pm-row {
    border-bottom: 1px solid rgba(59, 130, 246, 0.04);
    transition: background 0.12s;
}

.pm-row:hover { background: rgba(59, 130, 246, 0.03); }
.pm-row:last-child { border-bottom: none; }

.pm-cell {
    padding: 0.75rem 1rem;
    vertical-align: middle;
}

.pm-cell--name {
    color: #f2f3f6;
    font-weight: 600;
    font-size: 0.92rem;
}

.pm-cell--actions { text-align: right; }

/* ── Row Logo ──────────────────────────────────────────────────────── */
.pm-row-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: block;
}

.pm-row-logo-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 14px;
}

/* ── Type Badge ────────────────────────────────────────────────────── */
.pm-type-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.pm-type-badge--roleplay {
    background: rgba(168, 85, 247, 0.12);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.20);
}

.pm-type-badge--development {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.20);
}

.pm-type-badge--other {
    background: rgba(107, 114, 128, 0.12);
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.20);
}

/* ── Action Buttons ────────────────────────────────────────────────── */
.pm-actions-wrap {
    display: inline-flex;
    gap: 0.3rem;
    align-items: center;
}

.pm-action-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 0.88rem;
    padding: 0.4rem 0.55rem;
    border-radius: 8px;
    transition: all 0.15s;
    font-family: 'Inter', sans-serif;
}

.pm-action-btn--edit:hover { background: rgba(59, 130, 246, 0.10); color: #3b82f6; }
.pm-action-btn--delete:hover { background: rgba(239, 68, 68, 0.10); color: #ef4444; }
.pm-action-btn--request {
    font-size: 0.78rem;
    white-space: nowrap;
}
.pm-action-btn--request:hover { background: rgba(245, 158, 11, 0.10); color: #f59e0b; }

/* ── Referral Toggle Switch ───────────────────────────────────────── */
.pm-toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    cursor: pointer;
}
.pm-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.pm-toggle-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(107, 114, 128, 0.4);
    border-radius: 22px;
    transition: background 0.25s ease;
}
.pm-toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s ease;
}
.pm-toggle-switch input:checked + .pm-toggle-slider {
    background: rgba(52, 211, 153, 0.8);
}
.pm-toggle-switch input:checked + .pm-toggle-slider::before {
    transform: translateX(18px);
}
.pm-toggle-switch input:disabled + .pm-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}
.pm-cell--referral {
    text-align: center;
    width: 80px;
}

/* ── Empty State ───────────────────────────────────────────────────── */
.pm-empty {
    text-align: center;
    color: #6b7280;
    padding: 3rem 1rem;
    font-size: 0.95rem;
}

.pm-empty i {
    font-size: 2rem;
    opacity: 0.3;
    display: block;
    margin-bottom: 0.8rem;
}

/* ── Modal Overlay ─────────────────────────────────────────────────── */
.pm-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.pm-modal-overlay--scroll {
    align-items: flex-start;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.pm-modal-card {
    background: #161a22;
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: 16px;
    padding: 2rem 2.2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.pm-modal-card--sm {
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.pm-modal-card--lg {
    max-width: 640px;
    width: 100%;
    margin: auto;
}

.pm-modal-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
}

.pm-modal-icon--danger {
    background: rgba(239, 68, 68, 0.10);
    border: 1px solid rgba(239, 68, 68, 0.18);
    color: #ef4444;
}

.pm-modal-title {
    margin: 0 0 0.3rem;
    color: #f2f3f6;
    font-size: 1.1rem;
    font-weight: 700;
}

.pm-modal-subtitle {
    margin: 0 0 1.2rem;
    color: #6b7280;
    font-size: 0.85rem;
}

.pm-modal-desc {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.pm-modal-actions {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
}

.pm-modal-footer {
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(59, 130, 246, 0.06);
    margin-top: 0.5rem;
}

.pm-btn-danger {
    padding: 0.6rem 1.1rem;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.87rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.15s;
}

.pm-btn-danger:hover { background: #b91c1c; }

/* ── Form Fields ───────────────────────────────────────────────────── */
.pm-field { margin-bottom: 1rem; }

.pm-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.pm-field-row--3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.pm-label {
    display: block;
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.pm-label-hint {
    color: #4b5563;
    font-weight: 400;
}

.pm-input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.10);
    background: rgba(0, 0, 0, 0.3);
    color: #f2f3f6;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.pm-input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.pm-input--sm {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
}

.pm-textarea { resize: vertical; }

/* ── Features Grid ─────────────────────────────────────────────────── */
.pm-features-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.pm-features-header {
    display: grid;
    grid-template-columns: 150px 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.pm-features-header span {
    font-size: 0.72rem;
    color: #4b5563;
    font-weight: 600;
}

.pm-feature-row {
    display: grid;
    grid-template-columns: 150px 1fr 1fr;
    gap: 0.5rem;
    align-items: center;
}

/* ── Upload Areas ──────────────────────────────────────────────────── */
.pm-upload-area {
    background: rgba(0, 0, 0, 0.25);
    border: 1px dashed rgba(59, 130, 246, 0.18);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    transition: border-color 0.15s;
}

.pm-upload-area:hover {
    border-color: rgba(59, 130, 246, 0.35);
}

.pm-upload-area--dragover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.06);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.pm-upload-preview {
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pm-upload-preview--logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
}

.pm-upload-preview--banner {
    width: 100%;
    max-width: 280px;
    height: 80px;
    border-radius: 10px;
}

.pm-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: #4b5563;
    font-size: 0.82rem;
}

.pm-upload-placeholder i {
    font-size: 1.5rem;
    opacity: 0.5;
}

.pm-upload-actions {
    display: flex;
    gap: 0.5rem;
}

.pm-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem !important;
    padding: 0.4rem 0.7rem !important;
    cursor: pointer;
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 700px) {
    .pm-field-row, .pm-field-row--3 { grid-template-columns: 1fr; }
    .pm-feature-row { grid-template-columns: 1fr; }
    .pm-features-header { display: none; }
    .pm-modal-card--lg { padding: 1.5rem 1.2rem; }
    .pm-cell--type { display: none; }
    .pm-th:nth-child(3) { display: none; }
}
