/* ===== CSS Variables ===== */
:root {
    --primary: #6C3CE1;
    --primary-dark: #5429C7;
    --primary-light: #8B5CF6;
    --secondary: #F59E0B;
    --accent: #EC4899;
    --dark: #0F0A1A;
    --dark-2: #1A1225;
    --dark-3: #251B35;
    --text: #E8E0F0;
    --text-muted: #9B8FB5;
    --white: #FFFFFF;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --gradient: linear-gradient(135deg, #6C3CE1, #EC4899);
    --gradient-gold: linear-gradient(135deg, #F59E0B, #EF4444);
    --shadow: 0 4px 30px rgba(108, 60, 225, 0.15);
    --shadow-lg: 0 10px 60px rgba(108, 60, 225, 0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-shimmer {
    background-size: 200% auto;
    animation: gradientShimmer 3.5s linear infinite;
}
@keyframes gradientShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ===== Preloader ===== */
.preloader {
    position: fixed; inset: 0; z-index: 10000;
    background: var(--dark);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.loader { text-align: center; }
.loader-ring {
    width: 60px; height: 60px; margin: 0 auto 15px;
    border: 3px solid var(--dark-3);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.loader-text {
    font-size: 1.5rem; font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border: none; border-radius: 50px;
    font-family: var(--font); font-size: 0.95rem; font-weight: 600;
    cursor: pointer; transition: var(--transition); text-decoration: none;
}
.btn-primary {
    background: var(--gradient); color: var(--white);
    box-shadow: 0 4px 20px rgba(108, 60, 225, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 60, 225, 0.5);
    color: var(--white);
}
.btn-outline {
    background: transparent; color: var(--primary-light);
    border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--primary-dark); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-danger { background: var(--danger); color: var(--white); }

/* ===== Header ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: var(--transition); }
.header.scrolled { background: rgba(15, 10, 26, 0.95); backdrop-filter: blur(20px); box-shadow: 0 2px 30px rgba(0,0,0,0.3); }
.header-top {
    background: var(--dark-2); padding: 6px 0; font-size: 0.8rem;
    border-bottom: 1px solid rgba(108, 60, 225, 0.1);
}
.header-top .container { display: flex; justify-content: space-between; align-items: center; }
.header-top a { color: var(--text-muted); margin-right: 20px; }
.header-top a i { margin-right: 5px; color: var(--primary-light); }
.header-top-right { display: flex; align-items: center; gap: 12px; }
.header-top-right span { color: var(--text-muted); }
.header-top-right a {
    width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--dark-3); color: var(--text-muted); margin: 0;
    font-size: 0.75rem;
}
.header-top-right a:hover { background: var(--primary); color: var(--white); }

.navbar { padding: 12px 0; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--white); }
.logo:hover { color: var(--white); }
.logo-icon {
    width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
    background: var(--gradient); border-radius: 10px; font-size: 1.2rem;
}
.logo-text strong { display: block; font-size: 1.2rem; line-height: 1.2; }
.logo-text small { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }

.nav-menu { display: flex; list-style: none; gap: 8px; }
.nav-menu a {
    padding: 8px 16px; color: var(--text); border-radius: 8px;
    font-size: 0.9rem; font-weight: 500;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary-light); background: rgba(108, 60, 225, 0.1); }
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; min-width: 220px;
    background: var(--dark-2); border: 1px solid rgba(108, 60, 225, 0.2);
    border-radius: var(--radius); padding: 8px; opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: var(--transition); list-style: none;
    box-shadow: var(--shadow-lg);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; }
.dropdown-menu a i { color: var(--primary-light); width: 18px; flex-shrink: 0; }
.dropdown-menu-wide { min-width: 320px; max-height: 400px; overflow-y: auto; }
.dropdown-count {
    margin-left: auto; font-size: 0.75rem; font-weight: 700;
    color: var(--secondary); background: rgba(245, 158, 11, 0.1);
    padding: 2px 8px; border-radius: 50px;
}
.dropdown-divider { border-top: 1px solid rgba(108, 60, 225, 0.15); margin-top: 6px; padding-top: 6px; }
.dropdown-divider a { font-weight: 600; color: var(--primary-light) !important; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-btn {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: var(--dark-3); border: none; border-radius: 10px; color: var(--text);
    cursor: pointer; transition: var(--transition); position: relative; text-decoration: none;
}
.nav-btn:hover { background: var(--primary); color: var(--white); }
.login-btn { width: auto; padding: 0 16px; font-size: 0.85rem; font-weight: 600; gap: 6px; }
.cart-badge {
    position: absolute; top: -4px; right: -4px;
    width: 18px; height: 18px; background: var(--accent); color: var(--white);
    font-size: 0.65rem; font-weight: 700; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); transition: var(--transition); border-radius: 2px; }

/* ===== Cart Sidebar ===== */
.cart-sidebar {
    position: fixed; top: 0; right: -420px; width: 400px; max-width: 90vw; height: 100vh;
    background: var(--dark-2); z-index: 2000; transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column; border-left: 1px solid rgba(108, 60, 225, 0.2);
}
.cart-sidebar.open { right: 0; }
.cart-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1999;
    opacity: 0; visibility: hidden; transition: var(--transition);
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px; border-bottom: 1px solid rgba(108, 60, 225, 0.15);
}
.cart-header h3 { font-size: 1.1rem; }
.cart-close { background: none; border: none; color: var(--text); font-size: 1.2rem; cursor: pointer; }
.cart-body { flex: 1; overflow-y: auto; padding: 20px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.cart-empty i { font-size: 3rem; margin-bottom: 15px; display: block; opacity: 0.3; }
.cart-item {
    display: flex; align-items: center; gap: 12px; padding: 14px;
    background: var(--dark-3); border-radius: var(--radius); margin-bottom: 10px;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.cart-item-info { flex: 1; }
.cart-item-info strong { display: block; font-size: 0.95rem; }
.cart-item-info small { color: var(--text-muted); font-size: 0.8rem; }
.cart-item-price { font-weight: 700; color: var(--secondary); white-space: nowrap; }
.cart-item-remove { background: none; border: none; color: var(--danger); cursor: pointer; padding: 5px; }
.cart-footer { padding: 20px; border-top: 1px solid rgba(108, 60, 225, 0.15); }
.cart-subtotal { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 1.1rem; }
.cart-footer .btn { margin-bottom: 8px; }

/* ===== Hero ===== */
.hero {
    min-height: 88vh; position: relative;
    padding: 0; overflow: hidden;
}
.hero-slider {
    position: absolute; inset: 0;
}
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    display: flex; align-items: center;
    padding: 140px 0 120px;
}
.hero-slide.active {
    opacity: 1; visibility: visible; z-index: 1;
}
.hero-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15, 10, 26, 0.88) 0%, rgba(15, 10, 26, 0.55) 50%, rgba(108, 60, 225, 0.25) 100%);
}
.hero-slide-inner {
    position: relative; z-index: 2;
    max-width: 720px;
}
.hero-item {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(8px);
}
.hero-slide.active .hero-item {
    animation: heroItemIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-slide.active .hero-item:nth-child(1) { animation-delay: 0.05s; }
.hero-slide.active .hero-item:nth-child(2) { animation-delay: 0.18s; }
.hero-slide.active .hero-item:nth-child(3) { animation-delay: 0.32s; }
.hero-slide.active .hero-item:nth-child(4) { animation-delay: 0.46s; }
.hero-slide.active .hero-item:nth-child(5) { animation-delay: 0.58s; }
@keyframes heroItemIn {
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero-badge {
    display: inline-block; padding: 8px 20px; background: rgba(108, 60, 225, 0.25);
    border: 1px solid rgba(108, 60, 225, 0.4); border-radius: 50px;
    font-size: 0.9rem; color: var(--primary-light); margin-bottom: 22px;
    backdrop-filter: blur(8px);
}
.hero h1 {
    font-family: var(--font-display); font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    line-height: 1.12; margin-bottom: 20px; color: var(--white);
}
.hero p { font-size: 1.2rem; color: rgba(232, 224, 240, 0.85); margin-bottom: 32px; max-width: 540px; line-height: 1.7; }

.hero-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(26, 18, 37, 0.7); border: 1px solid rgba(108, 60, 225, 0.3);
    color: var(--white); cursor: pointer; transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(8px);
}
.hero-nav:hover { background: var(--primary); border-color: var(--primary); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

.hero-dots {
    position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%);
    z-index: 5; display: flex; gap: 10px;
}
.hero-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.3); border: none; cursor: pointer;
    transition: var(--transition); padding: 0;
}
.hero-dot.active { background: var(--primary-light); width: 32px; border-radius: 6px; }

.scroll-indicator {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
    text-align: center; color: var(--text-muted); font-size: 0.8rem; z-index: 5;
    animation: bounce 2s infinite;
}
.scroll-arrow { margin-top: 5px; }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ===== Stats Section ===== */
.stats-section {
    position: relative;
    z-index: 6;
    padding: 0 0 20px;
    margin-top: -72px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stat-card {
    background: var(--dark-2);
    border: 1px solid rgba(108, 60, 225, 0.22);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 60, 225, 0.45);
    box-shadow: var(--shadow-lg);
}
.stat-card-icon {
    width: 54px; height: 54px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: rgba(108, 60, 225, 0.14);
    border: 1px solid rgba(108, 60, 225, 0.2);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-light);
    font-size: 1.25rem;
}
.stat-card-value {
    display: block;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    line-height: 1.2;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.stat-card-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== Search Section ===== */
.search-section { padding: 0 0 80px; margin-top: 24px; position: relative; z-index: 10; }
.search-card {
    background: var(--dark-2); border: 1px solid rgba(108, 60, 225, 0.2);
    border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg);
}
.search-tabs { display: flex; gap: 8px; margin-bottom: 25px; flex-wrap: wrap; }
.search-tab {
    padding: 10px 20px; background: var(--dark-3); border: 1px solid transparent;
    border-radius: 50px; color: var(--text-muted); font-size: 0.85rem; font-weight: 500;
    cursor: pointer; transition: var(--transition); font-family: var(--font);
}
.search-tab:hover, .search-tab.active {
    background: rgba(108, 60, 225, 0.15); border-color: var(--primary); color: var(--primary-light);
}
.search-panel { display: none; animation: fadeIn 0.3s ease; }
.search-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.search-form .form-group { margin-bottom: 15px; }
.search-form label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; }
.search-form input, .search-form select {
    width: 100%; padding: 12px 16px; background: var(--dark-3); border: 1px solid rgba(108, 60, 225, 0.2);
    border-radius: var(--radius); color: var(--text); font-family: var(--font); font-size: 0.95rem;
    transition: var(--transition);
}
.search-form input:focus, .search-form select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108, 60, 225, 0.15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-hint { color: var(--text-muted); margin-bottom: 15px; font-size: 0.9rem; }

/* Advanced Search */
.advanced-search-form .form-group label {
    text-align: center; font-weight: 600; color: var(--text); font-size: 0.9rem;
}
.advanced-search-row {
    display: grid; gap: 16px; margin-bottom: 20px;
}
.advanced-search-row-3 { grid-template-columns: repeat(3, 1fr); }
.advanced-search-row-4 { grid-template-columns: repeat(4, 1fr); }
.advanced-search-form input {
    text-align: center; padding: 14px 16px; font-size: 0.95rem;
    background: var(--dark); border: 1px solid rgba(108, 60, 225, 0.25);
}
.advanced-search-form input::placeholder { color: var(--text-muted); opacity: 0.7; }
.search-hint {
    display: block; margin-top: 8px; padding: 10px 12px;
    background: var(--dark); border: 1px solid rgba(108, 60, 225, 0.15);
    border-radius: var(--radius); text-align: center;
    font-size: 0.78rem; color: var(--text-muted); line-height: 1.4;
}
.advanced-search-btn { margin-top: 8px; }

/* ===== Section Headers ===== */
.section-header { text-align: center; margin-bottom: 50px; }
.section-badge {
    display: inline-block; padding: 5px 16px; background: rgba(108, 60, 225, 0.1);
    border-radius: 50px; font-size: 0.8rem; color: var(--primary-light); margin-bottom: 12px;
}
.section-header h2 {
    font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--white); margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.section-header.aos-animate h2::after {
    content: '';
    position: absolute;
    left: 50%; bottom: -6px;
    width: 0; height: 3px;
    background: var(--gradient);
    border-radius: 3px;
    transform: translateX(-50%);
    animation: titleUnderline 0.8s ease 0.3s forwards;
}
@keyframes titleUnderline {
    to { width: 72px; }
}
.section-header p { color: var(--text-muted); max-width: 500px; margin: 0 auto; }

/* ===== Number Cards (Portrait) ===== */
.numbers-section { padding: 80px 0; }
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
    justify-items: stretch;
    align-items: stretch;
}
@media (min-width: 992px) {
    .numbers-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 576px) and (max-width: 991px) {
    .numbers-grid { grid-template-columns: repeat(2, 1fr); }
}

.ncard {
    width: 100%; max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.ncard:hover { transform: translateY(-6px); }
.ncard-inner {
    background: var(--dark-2);
    border: 1px solid rgba(108, 60, 225, 0.25);
    border-radius: var(--radius-lg);
    padding: 18px 16px 16px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow);
    min-height: 390px;
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.ncard:hover .ncard-inner {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}
.ncard-vvip .ncard-inner { border-color: rgba(245, 158, 11, 0.55); }
.ncard-vvip:hover .ncard-inner { border-color: var(--secondary); }
.ncard-vvip .ncard-header { padding-top: 1.5em; }
.ncard-vvip-tag {
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    background: var(--gradient-gold);
    color: #fff; width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; box-shadow: 0 2px 12px rgba(245, 158, 11, 0.4);
}

.ncard-header {
    display: flex; justify-content: center; align-items: center;
    margin-bottom: 8px; min-height: 72px;
}
.ncard-pricing {
    display: flex; flex-direction: column; align-items: center;
    gap: 6px; width: 100%;
}
.ncard-price-row {
    display: flex; align-items: center; justify-content: center;
    gap: 0.85em; width: 100%;
}
.ncard-old-row {
    display: flex; align-items: center; justify-content: center;
    gap: 0.5em; flex-wrap: wrap;
}
.ncard-old-price {
    font-size: 0.85rem; color: var(--text-muted);
    text-decoration: line-through; font-weight: 600;
    white-space: nowrap;
}
.ncard-discount {
    display: inline-block;
    background: var(--gradient-gold); color: #fff;
    font-size: 0.72rem; font-weight: 700;
    padding: 2px 8px; border-radius: 3px;
    flex-shrink: 0;
}
.ncard-price {
    font-size: 1.3rem; font-weight: 800;
    color: var(--primary-light); line-height: 1.2;
    white-space: nowrap;
    position: relative; display: inline-block; overflow: hidden;
}
.ncard-price::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
    transform: translateX(-120%);
    animation: priceShine 4.5s ease-in-out infinite;
}
@keyframes priceShine {
    0%, 70%, 100% { transform: translateX(-120%); }
    85% { transform: translateX(120%); }
}
.ncard-timer-slot {
    min-height: 28px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ncard-timer {
    display: flex; align-items: center; justify-content: center; gap: 0.85em;
    color: var(--accent); font-size: 0.82rem; font-weight: 600;
}
.ncard-timer i { font-size: 0.9rem; }
.ncard-timer-label { color: var(--accent); }

.ncard-number {
    font-size: 1.35rem; font-weight: 800; color: var(--white);
    letter-spacing: 1px; line-height: 1.45;
    margin: 8px 0 10px;
    text-align: center;
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap;
    flex: 1;
    min-height: 52px;
}
.ncard-number .num-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(16px) scale(0.82);
    transform-origin: center bottom;
}
.ncard-number.anim-ready .num-char,
.number-display-animated.anim-ready .num-char {
    animation: digitPop 0.5s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
    animation-delay: calc(var(--ci, 0) * 55ms);
}
.ncard-number .num-char.num-space {
    width: 0.35em;
    animation: none;
    opacity: 1;
    transform: none;
}
.ncard-number.anim-ready .num-char.num-space,
.number-display-animated.anim-ready .num-char.num-space {
    animation: none;
    opacity: 1;
    transform: none;
}
@keyframes digitPop {
    0% { opacity: 0; transform: translateY(16px) scale(0.82); }
    70% { transform: translateY(-3px) scale(1.06); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.ncard-number .num-highlight,
.ncard-number .num-glow {
    color: var(--primary-light);
    font-weight: 900;
    text-shadow:
        0 0 8px rgba(139, 92, 246, 0.85),
        0 0 18px rgba(108, 60, 225, 0.55),
        0 0 28px rgba(236, 72, 153, 0.35);
}
.ncard-number.anim-ready .num-glow .num-char,
.number-display-animated.anim-ready .num-glow .num-char {
    animation: digitPopGlow 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) forwards,
               numGlowPulse 2.4s ease-in-out infinite;
    animation-delay: calc(var(--ci, 0) * 55ms), calc(var(--ci, 0) * 55ms + 0.5s);
}
@keyframes digitPopGlow {
    0% { opacity: 0; transform: translateY(16px) scale(0.82); }
    70% { transform: translateY(-4px) scale(1.1); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes numGlowPulse {
    0%, 100% {
        text-shadow:
            0 0 6px rgba(139, 92, 246, 0.7),
            0 0 14px rgba(108, 60, 225, 0.4);
    }
    50% {
        text-shadow:
            0 0 12px rgba(139, 92, 246, 1),
            0 0 24px rgba(108, 60, 225, 0.75),
            0 0 36px rgba(236, 72, 153, 0.5);
    }
}

.ncard-sum {
    font-size: 0.88rem; color: var(--text-muted); font-weight: 600;
    margin: 0 0 6px; text-align: center;
}
.ncard-circle {
    font-size: 0.75rem; color: var(--text-muted); margin: 0 0 12px;
    min-height: 26px;
    display: flex; justify-content: center; align-items: center;
    gap: 6px; flex-wrap: wrap;
}
.ncard-circle span {
    background: var(--dark-3); padding: 2px 8px; border-radius: 4px;
    border: 1px solid rgba(108, 60, 225, 0.15);
}

.ncard-actions {
    display: flex; flex-direction: column; gap: 8px; margin-top: auto;
}
.ncard-btn {
    display: block; width: 100%; padding: 10px 12px;
    border-radius: 8px; font-size: 0.9rem; font-weight: 700;
    text-align: center; text-decoration: none; cursor: pointer;
    border: none; font-family: var(--font); transition: var(--transition);
}
.ncard-btn-detail {
    background: var(--gradient); color: var(--white);
    box-shadow: 0 4px 15px rgba(108, 60, 225, 0.35);
}
.ncard-btn-detail:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--white); }
.ncard-btn-buy {
    background: transparent; color: var(--primary-light);
    border: 2px solid var(--primary);
}
.ncard-btn-buy:hover { background: var(--primary); color: var(--white); }
.ncard-btn-sold {
    background: var(--dark-3); color: var(--text-muted); cursor: not-allowed;
    border: 1px solid rgba(108, 60, 225, 0.15);
}

.text-center { text-align: center; }

/* ===== Categories ===== */
.categories-section { padding: 80px 0; background: var(--dark-2); }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.categories-grid-compact { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.category-card {
    background: var(--dark-3); border: 1px solid rgba(108, 60, 225, 0.1);
    border-radius: var(--radius-lg); padding: 22px; position: relative;
    transition: var(--transition); color: var(--text); display: block;
}
.category-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.category-count-badge {
    background: rgba(245, 158, 11, 0.15); color: var(--secondary);
    font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 50px;
    white-space: nowrap;
}
.category-card:hover { transform: translateY(-4px); border-color: var(--primary); color: var(--text); box-shadow: var(--shadow); }
.category-icon {
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    background: rgba(108, 60, 225, 0.15); border-radius: 12px; font-size: 1.2rem;
    color: var(--primary-light); transition: var(--transition);
}
.category-card:hover .category-icon { background: var(--gradient); color: var(--white); }
.category-card h3 { font-size: 0.95rem; color: var(--white); margin-bottom: 0; line-height: 1.4; padding-right: 24px; }
.category-card p { font-size: 0.85rem; color: var(--text-muted); }
.category-arrow {
    position: absolute; bottom: 22px; right: 22px; color: var(--text-muted);
    transition: var(--transition);
}
.category-card:hover .category-arrow { color: var(--primary-light); transform: translateX(4px); }

/* Categories List Page */
.categories-list-grid { display: flex; flex-direction: column; gap: 12px; }
.category-list-card {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 22px; background: var(--dark-2); border: 1px solid rgba(108, 60, 225, 0.12);
    border-radius: var(--radius-lg); color: var(--text); transition: var(--transition);
}
.category-list-card:hover {
    border-color: rgba(108, 60, 225, 0.35); transform: translateX(4px);
    color: var(--text); box-shadow: var(--shadow);
}
.category-list-left { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
.category-list-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(108, 60, 225, 0.12); border-radius: 10px;
    color: var(--primary-light); font-size: 1.1rem;
}
.category-list-card h3 { font-size: 1rem; color: var(--white); margin-bottom: 2px; }
.category-list-card p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.category-list-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.category-list-right .category-count-badge { font-size: 0.9rem; padding: 6px 14px; }
.category-list-right i { color: var(--text-muted); font-size: 0.85rem; }
.category-list-card:hover .category-list-right i { color: var(--primary-light); }

/* ===== Best Offer Banner ===== */
.best-offer-section { padding: 0 0 80px; }
.best-offer-banner {
    position: relative; min-height: 420px;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(ellipse at 20% 50%, rgba(180, 140, 60, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(180, 140, 60, 0.12) 0%, transparent 50%),
                linear-gradient(135deg, #0a0a0a 0%, #1a1510 40%, #0d0d0d 100%);
    background-size: cover; background-position: center;
    border-radius: var(--radius-lg); overflow: hidden;
    margin: 0 20px; max-width: 1280px; margin-left: auto; margin-right: auto;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.best-offer-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.55) 100%);
}
.best-offer-glow {
    position: absolute; width: 280px; height: 280px; border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    filter: blur(40px); pointer-events: none;
    animation: offerGlowPulse 4s ease-in-out infinite;
}
.best-offer-glow-right { animation-delay: 2s; }
@keyframes offerGlowPulse {
    0%, 100% { opacity: 0.55; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.18); }
}
.best-offer-glow-left { left: -80px; top: 50%; transform: translateY(-50%); }
.best-offer-glow-right { right: -80px; top: 50%; transform: translateY(-50%); }
.best-offer-content {
    position: relative; z-index: 2; text-align: center; padding: 60px 30px;
}
.best-offer-title {
    font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--white); font-weight: 700; margin-bottom: 20px;
    letter-spacing: 1px;
}
.offer-title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(22px);
    filter: blur(6px);
}
.best-offer-section.aos-animate .offer-title-word {
    animation: offerWordIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--wi, 0) * 0.14s);
}
@keyframes offerWordIn {
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.best-offer-number {
    font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; color: var(--white);
    letter-spacing: 6px; margin-bottom: 16px; line-height: 1.2;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 0;
}
.best-offer-number .num-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(24px) scale(0.78);
    transform-origin: center bottom;
}
.best-offer-number.anim-ready .num-char {
    animation: offerDigitPop 0.62s cubic-bezier(0.34, 1.45, 0.64, 1) forwards;
    animation-delay: calc(0.35s + var(--ci, 0) * 65ms);
}
.best-offer-number .num-char.num-space {
    width: 0.42em;
    opacity: 1;
    transform: none;
    animation: none;
}
.best-offer-number.anim-ready .num-char.num-space {
    animation: none;
    opacity: 1;
    transform: none;
}
@keyframes offerDigitPop {
    0% { opacity: 0; transform: translateY(24px) scale(0.78); }
    65% { transform: translateY(-5px) scale(1.08); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.best-offer-number .num-glow .num-char {
    color: #f5d76e;
    font-weight: 900;
}
.best-offer-number.anim-ready .num-glow .num-char {
    animation: offerDigitPop 0.62s cubic-bezier(0.34, 1.45, 0.64, 1) forwards,
               offerGoldGlow 2.6s ease-in-out infinite;
    animation-delay: calc(0.35s + var(--ci, 0) * 65ms), calc(0.9s + var(--ci, 0) * 65ms);
}
@keyframes offerGoldGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(245, 215, 110, 0.6), 0 0 22px rgba(212, 175, 55, 0.35);
    }
    50% {
        text-shadow: 0 0 18px rgba(245, 215, 110, 1), 0 0 36px rgba(212, 175, 55, 0.65), 0 0 48px rgba(255, 200, 80, 0.35);
    }
}
.best-offer-price {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem); color: rgba(255, 255, 255, 0.9);
    font-weight: 600; margin-bottom: 28px;
    opacity: 0;
    transform: translateY(12px);
}
.best-offer-section.aos-animate .best-offer-price {
    animation: offerPriceIn 0.7s ease 1.05s forwards;
}
@keyframes offerPriceIn {
    to { opacity: 1; transform: translateY(0); }
}
.best-offer-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 40px; background: var(--white); color: #111;
    font-size: 0.95rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; border: none; border-radius: 4px;
    cursor: pointer; transition: var(--transition); text-decoration: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(14px);
}
.best-offer-section.aos-animate .best-offer-btn {
    animation: offerBtnIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) 1.25s forwards;
}
@keyframes offerBtnIn {
    to { opacity: 1; transform: translateY(0); }
}
.best-offer-btn span { font-weight: 400; opacity: 0.6; }
.best-offer-btn:hover {
    transform: translateY(-3px); box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
    color: #111;
}

/* ===== Features ===== */
.features-section { padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.feature-card {
    text-align: center; padding: 36px 24px; background: var(--dark-2);
    border: 1px solid rgba(108, 60, 225, 0.1); border-radius: var(--radius-lg);
    transition: var(--transition);
}
.feature-card:hover { border-color: rgba(108, 60, 225, 0.3); transform: translateY(-4px); }
.feature-icon {
    width: 64px; height: 64px; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(108, 60, 225, 0.1); border-radius: 16px;
    font-size: 1.5rem; color: var(--primary-light);
}
.feature-card h3 { color: var(--white); margin-bottom: 8px; font-size: 1.05rem; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ===== How It Works ===== */
.how-it-works { padding: 80px 0; background: var(--dark-2); }
.steps-grid { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.step-card {
    flex: 1; min-width: 200px; max-width: 260px; text-align: center; padding: 30px 20px;
    background: var(--dark-3); border-radius: var(--radius-lg); border: 1px solid rgba(108, 60, 225, 0.1);
    transition: var(--transition);
}
.step-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.step-number {
    width: 48px; height: 48px; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient); border-radius: 50%; font-weight: 700; color: var(--white);
}
.step-card h3 { color: var(--white); margin-bottom: 8px; font-size: 1rem; }
.step-card p { color: var(--text-muted); font-size: 0.85rem; }
.step-connector { color: var(--primary); font-size: 1.2rem; opacity: 0.5; }

/* ===== Blogs ===== */
.blogs-section { padding: 80px 0; }
.blogs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.blog-card {
    background: var(--dark-2); border: 1px solid rgba(108, 60, 225, 0.1);
    border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(108, 60, 225, 0.3); }
.blog-image { height: 180px; overflow: hidden; }
.blog-placeholder {
    height: 100%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--dark-3), var(--primary-dark));
    font-size: 3rem; color: rgba(108, 60, 225, 0.3);
}
.blog-content { padding: 24px; }
.blog-content h3 { margin-bottom: 10px; font-size: 1.05rem; }
.blog-content h3 a { color: var(--white); }
.blog-content h3 a:hover { color: var(--primary-light); }
.blog-content p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { font-size: 0.85rem; font-weight: 600; color: var(--primary-light); }
.read-more i { transition: transform 0.3s; }
.read-more:hover i { transform: translateX(4px); }

/* ===== CTA ===== */
.cta-section { padding: 80px 0; }
.cta-card {
    text-align: center; padding: 60px 40px;
    background: var(--gradient); border-radius: var(--radius-lg);
    position: relative; overflow: hidden;
}
.cta-card::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-card h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--white); margin-bottom: 12px; position: relative; }
.cta-card .gradient-text { -webkit-text-fill-color: var(--secondary); background: none; }
.cta-card p { color: rgba(255,255,255,0.8); margin-bottom: 24px; position: relative; }

/* ===== Footer ===== */
.footer { position: relative; margin-top: 0; }

/* ===== Contact Section ===== */
.contact-section {
    padding: 80px 0 40px;
    background: var(--dark-2);
    border-top: 1px solid rgba(108, 60, 225, 0.12);
}
.contact-alert { max-width: 640px; margin: 0 auto 24px; text-align: center; }
.contact-form-wrap {
    max-width: 640px;
    margin: 0 auto;
}
.contact-form-card {
    background: var(--dark-3);
    border: 1px solid rgba(108, 60, 225, 0.18);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}
.contact-form .form-group { margin-bottom: 16px; }
.contact-form label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--dark);
    border: 1px solid rgba(108, 60, 225, 0.2);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 60, 225, 0.15);
}

.map-section {
    padding: 0 0 50px;
    background: var(--dark-2);
}
.map-wrap {
    width: 100%;
    height: 380px;
    min-height: 260px;
    background: var(--dark-3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(108, 60, 225, 0.15);
    box-shadow: var(--shadow);
}
.map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(20%) contrast(1.05);
}

.footer-wave { color: var(--dark-2); margin-top: -1px; }
.footer-wave svg { display: block; width: 100%; height: 60px; }
.footer-main { background: var(--dark-2); padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo strong { color: var(--white); display: block; }
.footer-logo small { color: var(--text-muted); font-size: 0.75rem; }
.footer-col p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.footer-col h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--primary-light); }
.footer-contact li { display: flex; gap: 10px; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 10px; }
.footer-contact i { color: var(--primary-light); margin-top: 4px; width: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    background: var(--dark-3); border-radius: 8px; color: var(--text-muted); font-size: 0.85rem;
}
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-bottom { background: var(--dark); padding: 20px 0; }
.footer-bottom-inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a { color: var(--text-muted); font-size: 0.85rem; }
.footer-legal a:hover { color: var(--primary-light); }

/* Policy Pages */
.policy-page { max-width: 860px; margin: 0 auto; }
.policy-content h2 {
    color: var(--white); font-size: 1.15rem; margin: 28px 0 12px;
    padding-bottom: 8px; border-bottom: 1px solid rgba(108, 60, 225, 0.15);
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content p { color: var(--text-muted); line-height: 1.85; margin-bottom: 14px; }
.policy-content ul { margin: 0 0 16px 20px; color: var(--text-muted); }
.policy-content li { margin-bottom: 8px; line-height: 1.7; }
.policy-nav {
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; padding-top: 24px;
    border-top: 1px solid rgba(108, 60, 225, 0.15);
}
.policy-nav a {
    padding: 8px 16px; border-radius: 50px; font-size: 0.85rem;
    background: var(--dark-3); color: var(--text-muted); border: 1px solid rgba(108, 60, 225, 0.15);
}
.policy-nav a:hover, .policy-nav a.active {
    background: rgba(108, 60, 225, 0.15); color: var(--primary-light); border-color: var(--primary);
}

/* ===== Scroll Top ===== */
.scroll-top {
    position: fixed; bottom: 86px; right: 30px; width: 44px; height: 44px;
    background: var(--gradient); border: none; border-radius: 50%; color: var(--white);
    font-size: 1rem; cursor: pointer; opacity: 0; visibility: hidden;
    transition: var(--transition); z-index: 999; box-shadow: var(--shadow);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); }

/* ===== Floating WhatsApp ===== */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; width: 56px; height: 56px;
    background: #25D366; border-radius: 50%; color: #fff; font-size: 1.75rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 999; transition: var(--transition); text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
    color: #fff;
}
.whatsapp-float i { position: relative; z-index: 2; }
.whatsapp-float-pulse {
    position: absolute; inset: 0; border-radius: 50%;
    background: #25D366; animation: whatsapp-pulse 2s ease-out infinite;
    z-index: 1;
}
@keyframes whatsapp-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ===== Page Layouts ===== */
.page-header {
    padding: 140px 0 60px; text-align: center;
    background: radial-gradient(ellipse at center, rgba(108, 60, 225, 0.1) 0%, transparent 70%), var(--dark);
}
.page-header h1 { font-family: var(--font-display); font-size: 2.2rem; color: var(--white); margin-bottom: 8px; }
.page-header p { color: var(--text-muted); }
.page-content { padding: 60px 0 80px; }

/* ===== Auth Pages ===== */
.auth-container {
    max-width: 440px; margin: 0 auto; padding: 40px;
    background: var(--dark-2); border: 1px solid rgba(108, 60, 225, 0.2);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.auth-container h2 { text-align: center; color: var(--white); margin-bottom: 8px; }
.auth-container .subtitle { text-align: center; color: var(--text-muted); margin-bottom: 30px; font-size: 0.9rem; }
.auth-form .form-group { margin-bottom: 18px; }
.auth-form label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; }
.auth-form input {
    width: 100%; padding: 12px 16px; background: var(--dark-3);
    border: 1px solid rgba(108, 60, 225, 0.2); border-radius: var(--radius);
    color: var(--text); font-family: var(--font); font-size: 0.95rem;
}
.auth-form input:focus { outline: none; border-color: var(--primary); }
.auth-form .btn { width: 100%; justify-content: center; margin-top: 10px; }
.auth-link { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--text-muted); }
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.9rem; }
.alert-success { background: rgba(16, 185, 129, 0.15); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.3); }
.alert-error { background: rgba(239, 68, 68, 0.15); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.3); }

/* ===== Profile ===== */
.profile-grid { display: grid; grid-template-columns: 280px 1fr; gap: 30px; }
.profile-sidebar {
    background: var(--dark-2); border: 1px solid rgba(108, 60, 225, 0.15);
    border-radius: var(--radius-lg); padding: 30px; height: fit-content;
}
.profile-avatar {
    width: 80px; height: 80px; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient); border-radius: 50%; font-size: 2rem; color: var(--white);
}
.profile-sidebar h3 { text-align: center; color: var(--white); margin-bottom: 4px; }
.profile-sidebar .phone { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; }
.profile-nav { list-style: none; }
.profile-nav a {
    display: flex; align-items: center; gap: 10px; padding: 12px 16px;
    color: var(--text-muted); border-radius: var(--radius); transition: var(--transition);
}
.profile-nav a:hover, .profile-nav a.active { background: rgba(108, 60, 225, 0.1); color: var(--primary-light); }
.profile-content {
    background: var(--dark-2); border: 1px solid rgba(108, 60, 225, 0.15);
    border-radius: var(--radius-lg); padding: 30px;
}
.profile-content h2 { color: var(--white); margin-bottom: 24px; font-size: 1.3rem; }
.profile-section-title {
    color: var(--white); font-size: 1rem; margin: 28px 0 16px; padding-bottom: 8px;
    border-bottom: 1px solid rgba(108, 60, 225, 0.15);
}
.profile-section-title:first-of-type { margin-top: 0; }
.profile-section-title i { color: var(--primary-light); margin-right: 8px; }
.form-row-3 { grid-template-columns: repeat(3, 1fr); }
.checkout-form .form-check { display: flex; align-items: center; gap: 10px; }
.checkout-form .form-check input { width: auto; }
.checkout-form .form-check label { margin: 0; }

/* ===== Checkout ===== */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 30px; }
.checkout-form .form-group { margin-bottom: 18px; }
.checkout-form label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; }
.checkout-form input, .checkout-form textarea, .checkout-form select {
    width: 100%; padding: 12px 16px; background: var(--dark-3);
    border: 1px solid rgba(108, 60, 225, 0.2); border-radius: var(--radius);
    color: var(--text); font-family: var(--font);
}
.checkout-form input:focus, .checkout-form textarea:focus { outline: none; border-color: var(--primary); }
.order-summary {
    background: var(--dark-2); border: 1px solid rgba(108, 60, 225, 0.15);
    border-radius: var(--radius-lg); padding: 30px; height: fit-content; position: sticky; top: 100px;
}
.order-summary h3 { color: var(--white); margin-bottom: 20px; }
.summary-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(108, 60, 225, 0.1); font-size: 0.9rem; }
.summary-total { display: flex; justify-content: space-between; padding: 16px 0; font-size: 1.2rem; font-weight: 700; color: var(--secondary); }

/* ===== Orders Table ===== */
.table-responsive { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid rgba(108, 60, 225, 0.1); }
.data-table th { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.data-table td { font-size: 0.9rem; }
.status-badge {
    padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600;
}
.status-pending { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.status-paid, .status-completed { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.status-cancelled { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.status-processing { background: rgba(108, 60, 225, 0.15); color: var(--primary-light); }

/* ===== Toast ===== */
.toast {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
    background: var(--dark-2); border: 1px solid rgba(108, 60, 225, 0.3);
    padding: 14px 24px; border-radius: 50px; color: var(--white); font-size: 0.9rem;
    z-index: 3000; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }

.stat-card-value.stat-text-animate {
    opacity: 0;
}
.stat-card.aos-animate .stat-card-value.stat-text-animate {
    animation: statTextPop 0.7s cubic-bezier(0.34, 1.4, 0.64, 1) 0.2s forwards;
}
@keyframes statTextPop {
    0% { opacity: 0; transform: scale(0.6); }
    100% { opacity: 1; transform: scale(1); }
}

/* ===== AOS Animations ===== */
[data-aos] { opacity: 0; transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-down"] { transform: translateY(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos].aos-animate { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .hero-item,
    .ncard-number .num-char,
    .gradient-shimmer,
    .ncard-price::after,
    .stat-card-value,
    .best-offer-glow,
    .offer-title-word,
    .best-offer-number .num-char,
    .best-offer-price,
    .best-offer-btn { animation: none !important; }
    .hero-item { opacity: 1; transform: none; filter: none; }
    .ncard-number .num-char { opacity: 1; transform: none; }
    .offer-title-word,
    .best-offer-price,
    .best-offer-btn { opacity: 1; transform: none; filter: none; }
    .best-offer-number .num-char { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .checkout-grid { grid-template-columns: 1fr; }
    .profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 992px) {
    .advanced-search-row-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .header-top { display: none; }
    .nav-menu {
        position: fixed; top: 0; left: -100%; width: 280px; height: 100vh;
        background: var(--dark-2); flex-direction: column; padding: 80px 20px 20px;
        transition: left 0.3s ease; z-index: 1001; border-right: 1px solid rgba(108, 60, 225, 0.2);
    }
    .nav-menu.open { left: 0; }
    .hamburger { display: flex; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .hero { min-height: 82vh; }
    .hero-slide { padding: 110px 0 130px; }
    .hero-nav { display: none; }
    .scroll-indicator { display: none; }
    .hero h1 { font-size: clamp(1.65rem, 7.5vw, 2.2rem); margin-bottom: 14px; }
    .hero p { font-size: 0.95rem; margin-bottom: 22px; }
    .hero-slide-inner .btn-lg {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }
    .hero-dots { bottom: 32px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stats-section { margin-top: 0; padding: 20px 0 12px; z-index: 2; }
    .stat-card { padding: 20px 14px; border-radius: 16px; }
    .stat-card-icon { width: 46px; height: 46px; font-size: 1.1rem; margin-bottom: 12px; }
    .stat-card-value { font-size: 1.5rem; }
    .stat-card-label { font-size: 0.82rem; }
    .search-section { margin-top: 16px; }
    .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .advanced-search-row-3,
    .advanced-search-row-4 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .form-row-3 { grid-template-columns: 1fr; }
    .steps-grid { flex-direction: column; }
    .step-connector { transform: rotate(90deg); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .footer-legal { justify-content: center; }
    .search-tabs { flex-direction: column; }
    .contact-form-card { padding: 20px 16px; }
    .map-wrap { height: 280px; }
}

/* ===== Shop Page ===== */
.page-header-compact { padding: 120px 0 40px; }
.shop-section { padding: 0 0 80px; }

/* Shop top search box — matches site theme */
.shop-search-box {
    background: var(--dark-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid rgba(108, 60, 225, 0.2);
}
.shop-search-tabs {
    display: flex; flex-wrap: wrap;
    background: var(--dark-3);
    border-bottom: 1px solid rgba(108, 60, 225, 0.15);
    gap: 6px;
    padding: 10px 10px 0;
}
.shop-search-tab {
    flex: 1; min-width: 120px;
    padding: 12px 12px; border: none;
    background: transparent;
    color: var(--text-muted); font-family: var(--font); font-size: 0.82rem; font-weight: 600;
    cursor: pointer; transition: var(--transition);
    border-radius: 8px 8px 0 0;
    border: 1px solid transparent;
}
.shop-search-tab:last-child { border-right: none; }
.shop-search-tab:hover {
    background: rgba(108, 60, 225, 0.1);
    color: var(--primary-light);
}
.shop-search-tab.active {
    background: rgba(108, 60, 225, 0.15);
    border-color: var(--primary);
    color: var(--primary-light);
}
.shop-search-panel { display: none; padding: 24px; background: var(--dark-2); }
.shop-search-panel.active { display: block; animation: fadeIn 0.25s ease; }

.shop-search-inline-form {
    display: flex; gap: 0; align-items: stretch;
    border: 1px solid rgba(108, 60, 225, 0.2); border-radius: var(--radius); overflow: hidden;
}
.shop-search-input, .shop-search-select {
    flex: 1; border: none; padding: 16px 18px;
    font-family: var(--font); font-size: 0.95rem; color: var(--text);
    background: var(--dark-3); min-width: 0;
}
.shop-search-input:focus, .shop-search-select:focus {
    outline: none; box-shadow: inset 0 0 0 2px rgba(108, 60, 225, 0.25);
}
.shop-search-input::placeholder { color: var(--text-muted); }
.shop-search-select { max-width: 140px; border-left: 1px solid rgba(108, 60, 225, 0.2); }
.shop-search-btn {
    background: var(--gradient); color: var(--white); border: none;
    padding: 0 32px; font-weight: 700; font-size: 0.9rem;
    letter-spacing: 1px; cursor: pointer; transition: var(--transition);
    font-family: var(--font); white-space: nowrap;
    box-shadow: 0 4px 15px rgba(108, 60, 225, 0.35);
}
.shop-search-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.shop-search-btn-block { width: 100%; padding: 14px; border-radius: var(--radius); margin-top: 12px; }

.shop-advanced-form { border: none; }
.shop-advanced-form .form-group label { color: var(--text); }
.shop-advanced-form input {
    background: var(--dark-3); border-color: rgba(108, 60, 225, 0.2); color: var(--text);
}
.shop-advanced-form .search-hint {
    background: var(--dark-3); border-color: rgba(108, 60, 225, 0.15); color: var(--text-muted);
}

.shop-search-price-form .shop-search-input { border-right: 1px solid rgba(108, 60, 225, 0.2); }
.shop-search-family-form .shop-search-select { flex: 0 0 130px; }

.shop-toolbar {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
    gap: 12px; margin-bottom: 20px; padding-bottom: 12px;
    border-bottom: 1px solid rgba(108, 60, 225, 0.12);
}
.shop-breadcrumb {
    font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.5px;
}
.shop-breadcrumb a { color: var(--primary-light); font-weight: 600; }
.shop-breadcrumb span { color: var(--text-muted); margin: 0 6px; }
.shop-sort { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 0.85rem; }
.shop-sort-label { color: var(--text-muted); font-weight: 600; }
.shop-sort a { color: var(--text-muted); text-decoration: none; }
.shop-sort a:hover, .shop-sort a.active { color: var(--primary-light); font-weight: 600; }
.shop-sort-sep { color: var(--text-muted); opacity: 0.4; }

.shop-filter-toggle { display: none; margin-bottom: 20px; }
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.shop-overlay { display: none; }

.shop-sidebar {
    background: var(--dark-2); border: 1px solid rgba(108, 60, 225, 0.15);
    border-radius: var(--radius-lg); padding: 0; position: sticky; top: 90px;
    max-height: calc(100vh - 110px); overflow-y: auto;
}
.shop-sidebar-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 20px; border-bottom: 1px solid rgba(108, 60, 225, 0.12);
    position: sticky; top: 0; background: var(--dark-2); z-index: 2;
}
.shop-sidebar-header h3 { color: var(--white); font-size: 1rem; margin: 0; }
.shop-sidebar-close { display: none; background: none; border: none; color: var(--text); font-size: 1.1rem; cursor: pointer; }
.shop-filter-form { padding: 20px; }
.shop-filter-group { margin-bottom: 16px; }
.shop-filter-group label { display: block; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 6px; font-weight: 500; }
.shop-filter-group input, .shop-filter-group select {
    width: 100%; padding: 10px 12px; background: var(--dark-3);
    border: 1px solid rgba(108, 60, 225, 0.2); border-radius: 8px;
    color: var(--text); font-family: var(--font); font-size: 0.9rem;
}
.shop-filter-group input:focus, .shop-filter-group select:focus { outline: none; border-color: var(--primary); }
.shop-filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shop-filter-check { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 0.9rem; cursor: pointer; }
.shop-filter-check input { width: auto; }
.shop-filter-submit { margin-top: 8px; margin-bottom: 8px; }
.shop-filter-reset { justify-content: center; text-align: center; }

.shop-results { min-width: 0; }
.shop-numbers-grid { justify-content: flex-start; }
.shop-empty {
    text-align: center; padding: 80px 20px; background: var(--dark-2);
    border-radius: var(--radius-lg); border: 1px solid rgba(108, 60, 225, 0.1);
}
.shop-empty i { font-size: 3rem; color: var(--text-muted); opacity: 0.3; margin-bottom: 16px; }
.shop-empty h3 { color: var(--white); margin-bottom: 8px; }
.shop-empty p { color: var(--text-muted); }
.shop-limit-note { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-top: 24px; }

@media (max-width: 992px) {
    .shop-search-tab { min-width: 50%; font-size: 0.75rem; padding: 12px 8px; }
    .shop-search-inline-form { flex-wrap: wrap; }
    .shop-search-btn { width: 100%; padding: 14px; }
    .shop-search-family-form .shop-search-select { max-width: none; flex: 1; border-left: none; border-top: 1px solid rgba(108, 60, 225, 0.2); }
    .shop-filter-toggle { display: inline-flex; }
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar {
        position: fixed; top: 0; left: -320px; width: 300px; max-width: 88vw;
        height: 100vh; max-height: 100vh; z-index: 2000; transition: left 0.35s ease;
        border-radius: 0; border-left: none;
    }
    .shop-sidebar.open { left: 0; }
    .shop-sidebar-close { display: block; }
    .shop-overlay {
        display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.55);
        z-index: 1999; opacity: 0; visibility: hidden; transition: var(--transition);
    }
    .shop-overlay.open { opacity: 1; visibility: visible; }
}
