/* ══════════════════════════════════════════════════════════════
   ShieldCheats — Premium Dark Theme
   Hand-crafted design system. NO AI look allowed.
   ══════════════════════════════════════════════════════════════ */

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

.hidden {
    display: none !important;
}

/* ── Custom Properties ──────────────────────────────────────── */
:root {
    --bg-base: #08080d;
    --bg-surface: #0e0e16;
    --bg-elevated: #16161f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --text-primary: #e8e8ed;
    --text-secondary: #6b6b7b;
    --text-muted: #45455a;

    --accent-start: #a78bfa;
    --accent-end: #f472b6;
    --accent-solid: #a78bfa;
    --accent-glow: rgba(167, 139, 250, 0.15);

    --success: #34d399;
    --warning: #fbbf24;
    --danger: #f87171;
    --info: #60a5fa;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-smooth: 0.4s var(--ease-out-expo);
    --transition-slow: 0.6s var(--ease-out-expo);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Global ─────────────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Subtle radial glow at bottom */
body::after {
    content: '';
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(167, 139, 250, 0.04), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

a {
    color: var(--accent-solid);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-end);
}

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

.main-content {
    position: relative;
    z-index: 1;
    min-height: 80vh;
    padding-top: 80px;
}


/* ══════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(8, 8, 13, 0.8);
    backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--border-subtle);
    transition: background var(--transition-smooth);
}

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

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

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

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

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

.lang-btn {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

/* Language Switcher Dropdown */
.lang-switcher {
    position: relative;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: all var(--transition-fast);
    min-width: 80px;
    z-index: 1001;
}

.lang-dropdown.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.lang-option {
    display: block;
    width: 100%;
    padding: 8px 14px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
}

.lang-option:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}


/* ══════════════════════════════════════════════════════════════
   SOCIAL BAR (fixed top-right)
   ══════════════════════════════════════════════════════════════ */
.social-bar {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-whatsapp:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: #25D366;
    color: #25D366;
}

.social-discord:hover {
    background: rgba(88, 101, 242, 0.15);
    border-color: #5865F2;
    color: #5865F2;
}

.social-telegram:hover {
    background: rgba(0, 136, 204, 0.15);
    border-color: #0088cc;
    color: #0088cc;
}


/* ══════════════════════════════════════════════════════════════
   LIVE SUPPORT WIDGET (fixed bottom-right)
   ══════════════════════════════════════════════════════════════ */
.live-support {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.live-support-toggle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    position: relative;
}

.live-support-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.3);
}

.support-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--danger);
    position: absolute;
    top: 4px;
    right: 4px;
    border: 2px solid var(--bg-base);
}

.support-dot.online {
    background: var(--success);
}

.live-support-panel {
    position: absolute;
    bottom: 64px;
    right: 0;
    width: 320px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    pointer-events: none;
    transition: all var(--transition-smooth);
}

.live-support-panel.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.support-header {
    padding: 14px 16px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

.support-header .support-dot {
    position: static;
    border: none;
}

.support-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
}

.support-body {
    padding: 20px 16px;
}

.support-offline {
    color: var(--text-secondary);
    font-size: 0.875rem;
}


/* ══════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════ */
.hero {
    text-align: center;
    padding: 80px 24px 48px;
    max-width: 720px;
    margin: 0 auto;
}

.hero-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-solid);
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}


/* ── Trust Badges ───────────────────────────────────────────── */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    padding: 0 24px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.trust-badge span {
    font-size: 0.9rem;
}


/* ── Stat Counters ──────────────────────────────────────────── */
.stats-strip {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    padding: 32px 24px;
    margin-bottom: 64px;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

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

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-top: 4px;
}


/* ══════════════════════════════════════════════════════════════
   PRODUCT CARDS GRID
   ══════════════════════════════════════════════════════════════ */
.section-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 32px;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-solid);
    margin-bottom: 8px;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Featured (first) card takes more space */
.products-grid .cheat-card:first-child {
    grid-column: span 2;
}

.cheat-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
}

.cheat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.5);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.card-game {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 20px;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-undetected {
    background: rgba(52, 211, 153, 0.1);
    color: var(--success);
}

.status-undetected::before {
    background: var(--success);
}

.status-updating {
    background: rgba(251, 191, 36, 0.1);
    color: var(--warning);
}

.status-updating::before {
    background: var(--warning);
}

.status-detected {
    background: rgba(248, 113, 113, 0.1);
    color: var(--danger);
}

.status-detected::before {
    background: var(--danger);
}

.status-offline {
    background: rgba(69, 69, 90, 0.2);
    color: var(--text-muted);
}

.status-offline::before {
    background: var(--text-muted);
}

.card-name {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
    flex: 1;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.feature-tag {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.cheat-card:hover .feature-tag {
    border-color: var(--border-hover);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.card-price {
    font-size: 1.35rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-cta {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition-fast);
}

.cheat-card:hover .card-cta {
    color: var(--accent-solid);
}


/* ══════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ══════════════════════════════════════════════════════════════ */
.detail-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.detail-video {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
}

.detail-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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

.detail-video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.detail-video-placeholder span {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.detail-video-placeholder p {
    font-size: 0.8rem;
}

.detail-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-game {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-solid);
}

.detail-name {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.detail-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.detail-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-features .feature-tag {
    font-size: 0.75rem;
    padding: 6px 14px;
}

.detail-price {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.btn {
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    color: #fff;
}

.btn-accent:hover {
    opacity: 0.9;
    transform: scale(1.01);
    color: #fff;
}

.btn-whatsapp {
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25D366;
}

.btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    color: #25D366;
}


/* ── Reviews Section ────────────────────────────────────────── */
.reviews-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.reviews-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.reviews-avg {
    font-size: 1.5rem;
    font-weight: 700;
}

.reviews-stars {
    color: var(--warning);
    font-size: 1.1rem;
}

.reviews-count {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
}

.review-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-user {
    font-weight: 600;
    font-size: 0.9rem;
}

.review-verified {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--success);
    background: rgba(52, 211, 153, 0.1);
    padding: 3px 8px;
    border-radius: 20px;
}

.review-stars {
    color: var(--warning);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.review-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 10px;
}


/* ══════════════════════════════════════════════════════════════
   STATUS PAGE
   ══════════════════════════════════════════════════════════════ */
.status-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.status-page .section-title {
    margin-bottom: 32px;
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast);
}

.status-item:hover {
    border-color: var(--border-hover);
}

.status-product {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.status-product-name {
    font-weight: 600;
}

.status-product-game {
    font-size: 0.75rem;
    color: var(--text-muted);
}


/* ══════════════════════════════════════════════════════════════
   FAQ PAGE
   ══════════════════════════════════════════════════════════════ */
.faq-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.faq-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.faq-cat-btn {
    padding: 8px 18px;
    border-radius: 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-cat-btn:hover,
.faq-cat-btn.active {
    border-color: var(--accent-solid);
    color: var(--accent-solid);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.faq-item.open .faq-question::after {
    content: '−';
    color: var(--accent-solid);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
}

.faq-answer-inner {
    padding: 0 24px 18px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
}


/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-surface);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 32px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-logo {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 6px;
}

.footer-links,
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a,
.footer-social a {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding: 20px 24px;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.75rem;
}


/* ══════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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


/* ══════════════════════════════════════════════════════════════
   NAV CONTACT BUTTON + AUTH BUTTONS
   ══════════════════════════════════════════════════════════════ */
.nav-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(244, 114, 182, 0.15));
    border: 1px solid rgba(167, 139, 250, 0.3);
    color: var(--accent-solid) !important;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.nav-contact-btn:hover {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.25), rgba(244, 114, 182, 0.25));
    border-color: var(--accent-solid);
    transform: scale(1.02);
}

.nav-user {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.btn-ghost {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

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

.btn-sm {
    padding: 6px 16px;
    font-size: 0.8rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}


/* ══════════════════════════════════════════════════════════════
   AUTH PAGES (Login / Register)
   ══════════════════════════════════════════════════════════════ */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 40px 24px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 28px;
}

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

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

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select,
.form-input {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.875rem;
    transition: border-color var(--transition-fast);
    outline: none;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group select {
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 0.83rem;
    color: var(--text-muted);
}

.auth-switch a {
    font-weight: 600;
}


/* ══════════════════════════════════════════════════════════════
   FLASH MESSAGES
   ══════════════════════════════════════════════════════════════ */
.flash {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.flash-error {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.25);
    color: var(--danger);
}

.flash-success {
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.25);
    color: var(--success);
}


/* ══════════════════════════════════════════════════════════════
   TICKET SYSTEM
   ══════════════════════════════════════════════════════════════ */
.tickets-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.tickets-actions {
    margin-bottom: 24px;
}

.tickets-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ticket-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.ticket-item:hover {
    border-color: var(--border-hover);
    transform: translateX(2px);
    color: var(--text-primary);
}

.ticket-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ticket-id {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-solid);
    font-family: monospace;
}

.ticket-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ticket-subject {
    font-weight: 600;
    font-size: 0.9rem;
}

.ticket-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

.ticket-status {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 20px;
}

.ticket-open {
    background: rgba(96, 165, 250, 0.1);
    color: var(--info);
}

.ticket-closed {
    background: rgba(69, 69, 90, 0.2);
    color: var(--text-muted);
}

.ticket-replies {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Ticket Detail */
.ticket-header {
    margin-bottom: 24px;
}

.ticket-back {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    display: inline-block;
}

.ticket-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.ticket-meta-detail {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Messages Thread */
.ticket-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.message-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px 20px;
}

.message-admin {
    border-color: rgba(167, 139, 250, 0.2);
    background: rgba(167, 139, 250, 0.03);
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.message-user {
    font-weight: 600;
    font-size: 0.85rem;
}

.admin-badge {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    color: #fff;
    margin-left: 8px;
}

.message-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.message-body {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Ticket Reply Form */
.ticket-reply-form {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
}

.ticket-closed-msg {
    text-align: center;
    color: var(--text-muted);
    padding: 20px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-muted);
}

.empty-state .btn {
    margin-top: 16px;
}


/* ══════════════════════════════════════════════════════════════
   INLINE EDITOR (admin only)
   ══════════════════════════════════════════════════════════════ */
.edit-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 10000;
    padding: 10px 20px;
    border-radius: 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font);
}

.edit-toggle:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.edit-toggle.active {
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    border-color: transparent;
    color: #fff;
}

/* Edit mode highlights */
.edit-mode [data-editable] {
    outline: 1px dashed rgba(167, 139, 250, 0.4);
    outline-offset: 3px;
    cursor: pointer;
    transition: outline-color var(--transition-fast);
}

.edit-mode [data-editable]:hover {
    outline-color: var(--accent-solid);
    outline-style: solid;
}

/* Saved flash */
.edit-saved {
    animation: editSavedFlash 1.2s ease;
}

@keyframes editSavedFlash {
    0% {
        outline: 2px solid var(--success);
        outline-offset: 3px;
    }

    100% {
        outline: 2px solid transparent;
        outline-offset: 3px;
    }
}

/* Edit Modal */
.edit-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.edit-modal.open {
    opacity: 1;
    pointer-events: all;
}

.edit-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.edit-modal-content {
    position: relative;
    width: 90%;
    max-width: 480px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transform: translateY(10px);
    transition: transform var(--transition-smooth);
}

.edit-modal.open .edit-modal-content {
    transform: translateY(0);
}

.edit-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.edit-modal-header h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.edit-key {
    font-size: 0.7rem;
    font-family: monospace;
    color: var(--text-muted);
    background: var(--bg-elevated);
    padding: 2px 8px;
    border-radius: 4px;
}

.edit-modal-body {
    padding: 16px 20px;
}

.edit-modal-body textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.875rem;
    outline: none;
    resize: vertical;
}

.edit-modal-body textarea:focus {
    border-color: var(--accent-solid);
}

.edit-modal-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}


/* ══════════════════════════════════════════════════════════════
   PURCHASES PAGE
   ══════════════════════════════════════════════════════════════ */
.purchases-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.purchases-admin-bar {
    margin-bottom: 24px;
}

.purchases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.purchase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color var(--transition-fast);
}

.purchase-card:hover {
    border-color: var(--border-hover);
}

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

.purchase-product {
    font-size: 1.1rem;
    font-weight: 700;
}

.purchase-status {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 20px;
}

.purchase-active {
    background: rgba(52, 211, 153, 0.1);
    color: var(--success);
}

.purchase-updating {
    background: rgba(251, 191, 36, 0.1);
    color: var(--warning);
    text-align: center;
    padding: 12px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.purchase-suspended {
    background: rgba(248, 113, 113, 0.08);
    color: var(--danger);
    text-align: center;
    padding: 12px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.purchase-user-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 6px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.purchase-user-label {
    font-weight: 600;
    margin-right: 6px;
}

.purchase-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.purchase-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.83rem;
}

.purchase-label {
    color: var(--text-muted);
}

.purchase-value {
    font-weight: 600;
}

.lifetime-badge {
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.purchase-actions {
    margin-top: auto;
}

.nav-purchases {
    color: var(--accent-solid) !important;
    font-weight: 600 !important;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

/* Pending Orders */
.pending-section {
    margin-bottom: 32px;
}

.pending-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--warning);
}

.pending-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pending-card {
    background: var(--bg-card);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pending-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pending-product {
    font-weight: 700;
    font-size: 0.95rem;
}

.pending-amount {
    color: var(--success);
    font-weight: 700;
    font-size: 0.85rem;
}

.pending-user {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.pending-date {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.pending-id {
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.pending-status {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pending-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--warning);
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.1);
}

.btn-success {
    background: var(--success) !important;
    color: #000 !important;
    font-weight: 700;
}

.btn-danger {
    background: var(--danger) !important;
    color: #fff !important;
    font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════
   ADMIN DASHBOARD
   ══════════════════════════════════════════════════════════════ */
.admin-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.admin-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.admin-tab {
    padding: 10px 18px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.admin-tab:hover {
    color: var(--text-primary);
}

.admin-tab.active {
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    color: #000;
}

.admin-panel.hidden {
    display: none;
}

/* Stat Cards */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.admin-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
}

.admin-stat-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.admin-stat-value {
    font-size: 1.2rem;
    font-weight: 800;
}

.admin-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Sections & Tables */
.admin-section {
    margin-bottom: 24px;
}

.admin-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.admin-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-sm);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

/* Product Form */
.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
}

.form-file-input {
    width: 100%;
    padding: 10px;
    border: 1px dashed var(--border-subtle);
    border-radius: var(--radius-sm);
    background: var(--bg-body);
    color: var(--text-primary);
}

.form-hint {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.file-exists {
    font-size: 0.7rem;
    color: var(--success);
    margin-left: 8px;
}

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


.admin-table thead {
    background: rgba(255, 255, 255, 0.03);
}

.admin-table th {
    padding: 10px 12px;
    text-align: left;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--border-subtle);
}

.admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.admin-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-active {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.badge-open {
    background: rgba(251, 191, 36, 0.15);
    color: var(--warning);
}

.badge-closed {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.badge-admin {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.badge-user {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.badge-updating {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.badge-suspended {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

/* Text Utilities */
.text-success {
    color: var(--success);
}

.text-bold {
    font-weight: 700;
}

.btn-xs {
    padding: 3px 8px !important;
    font-size: 0.7rem !important;
}

/* Summary */
.admin-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-top: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-subtle);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-total {
    font-size: 1rem;
    padding-top: 12px;
}

.admin-empty {
    color: var(--text-muted);
    text-align: center;
    padding: 32px;
}

/* Logs */
.log-time {
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.log-detail {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Admin Nav Button */
.nav-admin-btn {
    background: linear-gradient(135deg, #a855f7, #6366f1) !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 6px 14px !important;
    border-radius: var(--radius-sm) !important;
    font-size: 0.75rem !important;
}


/* ══════════════════════════════════════════════════════════════
   CHECKOUT PAGE
   ══════════════════════════════════════════════════════════════ */
.checkout-page {
    max-width: 540px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.checkout-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.checkout-header {
    text-align: center;
    padding: 32px 24px 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.checkout-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.checkout-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.checkout-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

.checkout-product {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-product-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.checkout-bold {
    font-weight: 700;
}

.checkout-price {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.checkout-payment {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.checkout-payment-label {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.payment-icon {
    font-size: 1rem;
}

.checkout-wallet {
    margin-bottom: 12px;
}

.checkout-wallet label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wallet-amount {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--success);
}

.wallet-address {
    background: var(--bg-body);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-family: monospace;
    font-size: 0.8rem;
    word-break: break-all;
    user-select: all;
}

.copy-btn {
    margin-top: 6px;
    font-size: 0.75rem !important;
}

.btn-sm {
    padding: 4px 12px !important;
    font-size: 0.75rem !important;
}

.checkout-warning {
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.78rem;
    color: var(--warning);
    margin-top: 12px;
}

.checkout-confirm {
    padding: 20px 24px;
}

.checkout-confirm-text {
    font-size: 0.83rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.checkout-contact-notice {
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    margin-bottom: 16px;
}

.contact-notice-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.contact-notice-text {
    font-size: 0.9rem;
    color: var(--warning);
    line-height: 1.5;
    margin: 0;
}

.contact-notice-text strong {
    color: #fff;
}

.checkout-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.btn-lg {
    padding: 14px 24px !important;
    font-size: 1rem !important;
}

.checkout-back {
    display: block;
    text-align: center;
    padding: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-subtle);
    transition: color var(--transition-fast);
}

.checkout-back:hover {
    color: var(--text-primary);
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-grid .cheat-card:first-child {
        grid-column: span 1;
    }

    .detail-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stats-strip {
        gap: 24px;
    }

    .trust-badges {
        gap: 16px;
    }

    .social-bar {
        top: auto;
        bottom: 80px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-icon svg {
        width: 16px;
        height: 16px;
    }

    .hero {
        padding: 48px 24px 32px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .nav-links {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
    }

    .ticket-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .auth-card {
        padding: 28px 20px;
    }
}

/* ══════════════════════════════════════════════════════════════
   DISCOUNT / FIYAT İNDİRİM
   ══════════════════════════════════════════════════════════════ */
/* Card */
.card-price-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.card-price-old {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.7;
}

.card-discount {
    font-size: 0.6rem;
    font-weight: 800;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    padding: 2px 6px;
    border-radius: 4px;
    animation: discountPulse 2s infinite;
}

/* Detail Page */
.detail-price-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.detail-price-old {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.6;
}

.detail-discount {
    font-size: 0.75rem;
    font-weight: 800;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    padding: 3px 10px;
    border-radius: 6px;
    animation: discountPulse 2s infinite;
}

@keyframes discountPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* ══════════════════════════════════════════════════════════════
   CANLI DESTEK — ADMIN PANELİ
   ══════════════════════════════════════════════════════════════ */
.livechat-admin-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1px;
    background: var(--border-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    min-height: 500px;
    overflow: hidden;
}

.livechat-sidebar {
    background: var(--bg-surface);
    display: flex;
    flex-direction: column;
}

.livechat-sidebar-header {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.chat-session-list {
    flex: 1;
    overflow-y: auto;
    max-height: 440px;
}

.chat-session-item {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: background 0.15s;
}

.chat-session-item:hover,
.chat-session-item.active {
    background: rgba(139, 92, 246, 0.08);
}

.chat-session-item.active {
    border-left: 3px solid var(--accent);
}

.chat-session-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.chat-session-user {
    font-weight: 600;
    font-size: 0.85rem;
}

.chat-session-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.chat-session-preview {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.chat-session-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.chat-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.chat-status-dot.waiting {
    background: #f59e0b;
}

.chat-status-dot.active {
    background: #22c55e;
}

.chat-status-dot.closed {
    background: #6b7280;
}

.chat-unread-badge {
    background: #ef4444;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 99px;
    margin-left: auto;
}

.livechat-main {
    background: var(--bg-body);
    display: flex;
    flex-direction: column;
}

.livechat-main-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    background: var(--bg-surface);
}

.chat-active-user {
    font-weight: 700;
}

.chat-messages-area {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    max-height: 380px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-msg {
    display: flex;
}

.chat-msg.user {
    justify-content: flex-end;
}

.chat-msg.admin {
    justify-content: flex-start;
}

.chat-msg-bubble {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.83rem;
    line-height: 1.4;
}

.chat-msg.user .chat-msg-bubble {
    background: var(--accent);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-msg.admin .chat-msg-bubble {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-bottom-left-radius: 4px;
}

.chat-msg-time {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.chat-msg.admin .chat-msg-time {
    color: var(--text-muted);
}

.chat-msg-text {
    word-break: break-word;
}

.chat-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 20px;
    font-size: 0.85rem;
}

.chat-reply-area {
    padding: 12px 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 8px;
    background: var(--bg-surface);
}

.chat-reply-area input {
    flex: 1;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: var(--bg-body);
    color: var(--text-primary);
    font-size: 0.83rem;
}

/* ══════════════════════════════════════════════════════════════
   CANLI DESTEK — KULLANICI WIDGET
   ══════════════════════════════════════════════════════════════ */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.chat-widget-btn {
    padding: 12px 20px;
    border-radius: 50px;
    background: var(--accent);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    white-space: nowrap;
}

.chat-btn-icon {
    font-size: 1.2rem;
}

.chat-btn-label {
    letter-spacing: 0.02em;
}

.chat-widget-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(139, 92, 246, 0.5);
}

.chat-widget-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-widget-box {
    position: absolute;
    bottom: 68px;
    right: 0;
    width: 340px;
    max-height: 460px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: chatSlideUp 0.25s ease;
}

@keyframes chatSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

.chat-widget-header {
    padding: 14px 16px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-widget-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0.8;
}

.chat-widget-close:hover {
    opacity: 1;
}

.chat-widget-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    max-height: 300px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-widget-input {
    padding: 10px 12px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 8px;
    background: var(--bg-body);
}

.chat-widget-input input {
    flex: 1;
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 0.8rem;
}

.chat-widget-send {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-widget-send:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .livechat-admin-layout {
        grid-template-columns: 1fr;
    }

    .chat-widget-box {
        width: 300px;
        right: -8px;
    }
}

/* Quick Reply Buttons */
.chat-quick-replies {
    padding: 8px 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    background: var(--bg-surface);
}

.quick-btn {
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-body);
    color: var(--text-secondary);
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.quick-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ── Chat Offline Overlay ── */
.chat-offline-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    text-align: center;
    min-height: 250px;
}

.chat-offline-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.chat-offline-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.chat-offline-text {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.chat-offline-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.chat-offline-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
}

/* Offline Toast */
.chat-offline-toast {
    position: absolute;
    bottom: 60px;
    right: 0;
    background: #1e1e2e;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(239, 68, 68, 0.3);
    animation: toastIn 0.3s ease;
    min-width: 220px;
}

.chat-toast-title {
    color: #ef4444;
    font-weight: 600;
    margin-bottom: 10px;
}

.chat-toast-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-toast-links a {
    color: #cbd5e1;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.82rem;
    transition: background 0.2s;
}

.chat-toast-links a:hover {
    background: rgba(139, 92, 246, 0.2);
    color: #fff;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

.chat-offline-btn:hover {
    border-color: var(--accent-solid);
    background: var(--accent-glow);
}

.chat-offline-btn.whatsapp:hover {
    border-color: #25d366;
    background: rgba(37, 211, 102, 0.1);
}

/* ── Profile Dropdown ──────────────────────────── */
.nav-profile-wrap {
    position: relative;
}

.nav-profile-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition-fast);
}

.nav-profile-btn:hover {
    border-color: var(--accent-solid);
    background: var(--accent-glow);
}

.nav-profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    min-width: 180px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition-fast);
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.nav-profile-wrap.open .nav-profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-profile-dropdown a {
    display: block;
    padding: 8px 14px;
    color: var(--text-primary);
    font-size: 13px;
    text-decoration: none;
    transition: background 0.15s;
}

.nav-profile-dropdown a:hover {
    background: var(--bg-card);
}