/* GodWeb · Yin-Yang Theme overlay
 * Loaded after style.css to repaint the design system into a deep-black /
 * warm-amber aesthetic without touching the structural rules.
 * --------------------------------------------------------------- */

:root {
    --primary-color: #f97316;
    --primary-dark: #b45309;
    --secondary-color: #fbbf24;
    --accent-color: #fde68a;
    --success-color: #4ade80;
    --danger-color: #ef4444;
    --warning-color: #fbbf24;
    --info-color: #fbd38d;
    --dark-color: #050505;
    --light-color: #0d0b08;
    --text-color: #f4ecd9;
    --text-light: #b8a787;
    --border-color: rgba(251, 191, 36, 0.18);
    --surface-color: #15110b;
    --surface-muted: #0f0d09;

    --amber-50: #fef3c7;
    --amber-100: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;

    --gradient-primary: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #fde68a 100%);
    --gradient-gold: linear-gradient(135deg, #f97316 0%, #fbbf24 60%, #fde68a 100%);
    --gradient-night: linear-gradient(140deg, #050505 0%, #14110a 45%, #1f160a 100%);
    --gradient-arc: conic-gradient(from 220deg, #f59e0b, #fde68a, #f97316, #b45309, #f59e0b);

    --glow-amber: 0 0 32px rgba(251, 191, 36, 0.35);
    --glow-amber-strong: 0 0 60px rgba(251, 191, 36, 0.55);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.6);
    --shadow: 0 8px 28px -16px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(251, 191, 36, 0.05);
    --shadow-md: 0 18px 38px -22px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(251, 191, 36, 0.07);
    --shadow-lg: 0 32px 70px -32px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(251, 191, 36, 0.08);

    --font-display: "Cinzel", "Space Grotesk", "Segoe UI", serif;
    --font-body: "Inter", "Source Sans 3", "Segoe UI", sans-serif;
    --font-brand: "Cinzel", "Playfair Display", serif;
}

/* Base canvas ------------------------------------------------------ */
html, body {
    background: var(--gradient-night);
    color: var(--text-color);
}

body {
    background:
        radial-gradient(1100px 700px at 12% -10%, rgba(249, 115, 22, 0.18), transparent 60%),
        radial-gradient(900px 600px at 95% 110%, rgba(251, 191, 36, 0.14), transparent 60%),
        radial-gradient(700px 500px at 50% 50%, rgba(15, 13, 9, 0.4), transparent 70%),
        var(--gradient-night);
    background-attachment: fixed;
    font-family: var(--font-body);
    color: var(--text-color);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(rgba(251, 191, 36, 0.08) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px, 110px 110px;
    background-position: 0 0, 30px 30px;
    pointer-events: none;
    z-index: -2;
    opacity: 0.6;
    mask-image: radial-gradient(circle at center, #000 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 80%);
}

/* Decorative orbs ------------------------------------------------- */
.fx-orb {
    filter: blur(80px);
    opacity: 0.55;
    mix-blend-mode: screen;
}
.fx-orb-1 { background: radial-gradient(circle, rgba(249, 115, 22, 0.85), rgba(249, 115, 22, 0)); }
.fx-orb-2 { background: radial-gradient(circle, rgba(251, 191, 36, 0.7), rgba(251, 191, 36, 0)); }
.fx-orb-3 { background: radial-gradient(circle, rgba(180, 83, 9, 0.55), rgba(180, 83, 9, 0)); }

@keyframes orbFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50%      { transform: translate3d(20px, -30px, 0) scale(1.08); }
}

/* Typography ------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--amber-100);
    letter-spacing: 0.01em;
    text-shadow: 0 2px 18px rgba(251, 191, 36, 0.15);
}

a { color: var(--amber-300); }
a:hover { color: var(--amber-100); }

p, span, label, li, td, th { color: var(--text-color); }
.text-light, .text-muted { color: var(--text-light) !important; }

/* Navbar ---------------------------------------------------------- */
.navbar {
    background:
        linear-gradient(180deg, rgba(5, 5, 5, 0.85) 0%, rgba(15, 13, 9, 0.7) 100%);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid rgba(251, 191, 36, 0.18);
    box-shadow: 0 16px 40px -28px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(251, 191, 36, 0.04);
}

.navbar-menu a,
.mobile-menu-links a {
    color: var(--text-color);
    position: relative;
    transition: color 220ms ease;
}
.navbar-menu a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 8px;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 280ms ease;
}
.navbar-menu a:hover { color: var(--amber-100); }
.navbar-menu a:hover::after { transform: scaleX(1); }
.navbar-menu a i, .mobile-menu-links a i { color: var(--amber-400); }

.navbar-brand .logo,
.brand-logo-svg {
    width: 48px;
    height: 48px;
    background: transparent;
    color: transparent;
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.5), 0 0 60px rgba(249, 115, 22, 0.25);
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: brandSpin 18s linear infinite;
    flex: 0 0 48px;
}
.navbar-brand .logo svg,
.brand-logo-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes brandSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.navbar-brand:hover .logo,
.navbar-brand:hover .brand-logo-svg {
    box-shadow: 0 0 42px rgba(251, 191, 36, 0.85), 0 0 80px rgba(249, 115, 22, 0.45);
    animation-duration: 6s;
}

.navbar-brand .brand-name {
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 1.65rem;
    letter-spacing: 0.06em;
    background: linear-gradient(120deg, #fef3c7 0%, #fbbf24 45%, #f97316 75%, #fef3c7 100%);
    background-size: 280% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: brandShimmer 6s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.25);
}
.navbar-brand .brand-name span {
    color: transparent;
    background: linear-gradient(120deg, #fde68a 0%, #fbbf24 50%, #fde68a 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

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

/* GodCoin pill */
.godcoin-balance {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(251, 191, 36, 0.12));
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: var(--amber-100);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.18) inset;
}
.godcoin-balance i { color: var(--amber-300); }

/* Buttons --------------------------------------------------------- */
.btn {
    border-radius: 14px;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.18) 50%, transparent 100%);
    transform: translateX(-130%);
    transition: transform 600ms ease;
    pointer-events: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -22px rgba(249, 115, 22, 0.6); }
.btn:hover::before { transform: translateX(130%); }
.btn:active { transform: translateY(0); }

.btn-primary,
.btn-secondary {
    background: var(--gradient-gold);
    color: #0a0a0c !important;
    border: none;
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover,
.btn-secondary:hover {
    color: #0a0a0c !important;
    box-shadow: var(--glow-amber-strong);
}

.btn-outline {
    background: rgba(15, 13, 9, 0.55);
    border: 1px solid rgba(251, 191, 36, 0.45) !important;
    color: var(--amber-100) !important;
    backdrop-filter: blur(8px);
}
.btn-outline:hover {
    background: rgba(251, 191, 36, 0.12);
    color: var(--amber-100) !important;
    box-shadow: var(--glow-amber);
}

.btn-success { background: linear-gradient(135deg, #16a34a, #4ade80); color: #052e16 !important; }
.btn-danger  { background: linear-gradient(135deg, #b91c1c, #ef4444); color: #fff !important; }
.btn-warning { background: linear-gradient(135deg, #d97706, #fbbf24); color: #1c1206 !important; }

/* Hero ------------------------------------------------------------ */
.hero {
    background: transparent;
    position: relative;
    isolation: isolate;
    padding-block: clamp(80px, 12vw, 160px);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: -10% -5%;
    background:
        radial-gradient(60% 80% at 50% 35%, rgba(249, 115, 22, 0.35), transparent 65%),
        radial-gradient(40% 50% at 75% 70%, rgba(251, 191, 36, 0.28), transparent 70%),
        radial-gradient(40% 50% at 22% 75%, rgba(180, 83, 9, 0.3), transparent 70%);
    filter: blur(20px);
    z-index: -1;
    animation: heroBreath 9s ease-in-out infinite;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(251, 191, 36, 0.5) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
    opacity: 0.35;
    z-index: -1;
}
@keyframes heroBreath {
    0%, 100% { transform: scale(1); opacity: 0.95; }
    50%      { transform: scale(1.05); opacity: 1; }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    line-height: 1.1;
    color: #fef3c7;
    text-shadow: 0 6px 36px rgba(251, 191, 36, 0.35);
    animation: fadeUp 700ms ease-out both;
}
.hero h1 span {
    background: linear-gradient(120deg, #fde68a, #f97316 60%, #fbbf24);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: brandShimmer 5s ease-in-out infinite;
}
.hero p {
    color: rgba(244, 236, 217, 0.86);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    max-width: 720px;
    margin-inline: auto;
    animation: fadeUp 700ms 120ms ease-out both;
}
.hero-buttons { animation: fadeUp 700ms 240ms ease-out both; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Floating yin-yang motif behind hero (decorative) */
.hero-content { position: relative; z-index: 2; }

/* Cards ----------------------------------------------------------- */
.card,
.feature-card,
.post-card,
.product-card,
.blog-card,
.dashboard-content,
.sidebar,
.search-bar,
.filter-bar {
    background: linear-gradient(160deg, rgba(21, 17, 11, 0.85), rgba(10, 9, 7, 0.92));
    border: 1px solid rgba(251, 191, 36, 0.14);
    border-radius: 18px;
    color: var(--text-color);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
    position: relative;
}
.card::before,
.feature-card::before,
.post-card::before,
.product-card::before,
.blog-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.4), transparent 60%, rgba(249, 115, 22, 0.25));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    opacity: 0.55;
    transition: opacity 280ms ease;
}
.card:hover,
.feature-card:hover,
.post-card:hover,
.product-card:hover,
.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.95), var(--glow-amber);
}
.card:hover::before { opacity: 1; }

.card-title { color: var(--amber-100); }
.card-text { color: rgba(244, 236, 217, 0.78); }

/* Feature icons (home page) */
.feature-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 24px !important;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fde68a, #f97316 70%, #b45309);
    color: #1c0d02 !important;
    box-shadow:
        0 0 0 1px rgba(251, 191, 36, 0.45) inset,
        0 0 30px rgba(251, 191, 36, 0.35),
        0 16px 30px -16px rgba(249, 115, 22, 0.6);
    position: relative;
    transition: transform 320ms ease, box-shadow 320ms ease;
}
.feature-icon::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px dashed rgba(251, 191, 36, 0.45);
    opacity: 0;
    transition: opacity 320ms ease, transform 320ms ease;
}
.feature-card:hover .feature-icon {
    transform: translateY(-4px) rotate(-6deg);
    box-shadow:
        0 0 0 1px rgba(251, 191, 36, 0.6) inset,
        0 0 50px rgba(251, 191, 36, 0.55),
        0 24px 50px -22px rgba(249, 115, 22, 0.7);
}
.feature-card:hover .feature-icon::after { opacity: 1; transform: rotate(20deg); }
.feature-icon.primary  { background: radial-gradient(circle at 30% 30%, #fef3c7, #fbbf24 65%, #d97706); }
.feature-icon.secondary { background: radial-gradient(circle at 30% 30%, #fed7aa, #f97316 65%, #b45309); }
.feature-icon.success  { background: radial-gradient(circle at 30% 30%, #fde68a, #f59e0b 65%, #b45309); }

/* Form controls --------------------------------------------------- */
.form-control,
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="search"], input[type="url"],
input[type="tel"], input[type="date"], input[type="time"],
select, textarea {
    background: rgba(10, 9, 7, 0.7);
    border: 1px solid rgba(251, 191, 36, 0.25);
    color: var(--text-color);
    border-radius: 12px;
    transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.form-control:focus,
input:focus, select:focus, textarea:focus {
    border-color: rgba(251, 191, 36, 0.7);
    background: rgba(15, 13, 9, 0.85);
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18), 0 0 24px rgba(251, 191, 36, 0.18) inset;
}
::placeholder { color: rgba(184, 167, 135, 0.6) !important; }

/* Filter / chip tags */
.filter-tag,
.filter-tag--compact,
.tag,
.badge {
    background: rgba(15, 13, 9, 0.7) !important;
    border: 1px solid rgba(251, 191, 36, 0.3) !important;
    color: var(--amber-100) !important;
    transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.filter-tag i { color: var(--amber-300); }
.filter-tag.active,
.filter-tag:hover {
    background: var(--gradient-gold) !important;
    color: #0a0a0c !important;
    border-color: transparent !important;
    box-shadow: 0 0 24px rgba(251, 191, 36, 0.45);
    transform: translateY(-1px);
}
.filter-tag.active i,
.filter-tag:hover i { color: #0a0a0c !important; }

/* Section title --------------------------------------------------- */
.section-title h2 {
    background: linear-gradient(120deg, #fef3c7, #f97316 70%, #fde68a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}
.section-title { position: relative; padding-block: 8px; }
.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    margin: 14px auto 0;
    background: var(--gradient-gold);
    border-radius: 99px;
    box-shadow: 0 0 24px rgba(251, 191, 36, 0.45);
}

/* Premium / crown badges */
.premium-badge {
    background: linear-gradient(135deg, #f59e0b, #fde68a);
    color: #1c1206;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
    font-weight: 700;
}

/* Footer ---------------------------------------------------------- */
.footer {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(5, 5, 5, 0.95));
    border-top: 1px solid rgba(251, 191, 36, 0.15);
    color: var(--text-light);
    position: relative;
}
.footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: var(--gradient-gold);
    opacity: 0.6;
}
.footer h4, .footer .brand-name { color: var(--amber-100); }
.footer a { color: var(--text-light); transition: color 220ms ease; }
.footer a:hover { color: var(--amber-100); }

/* Alerts ---------------------------------------------------------- */
.alert {
    border-radius: 14px;
    border: 1px solid currentColor;
    backdrop-filter: blur(8px);
}
.alert-success { background: rgba(16, 185, 129, 0.12); color: #4ade80; border-color: rgba(74, 222, 128, 0.4); }
.alert-error,
.alert-danger  { background: rgba(239, 68, 68, 0.12); color: #fca5a5; border-color: rgba(239, 68, 68, 0.4); }
.alert-info    { background: rgba(251, 191, 36, 0.12); color: var(--amber-100); border-color: rgba(251, 191, 36, 0.4); }

/* Tables ---------------------------------------------------------- */
table {
    background: rgba(15, 13, 9, 0.6);
    color: var(--text-color);
    border-collapse: separate;
    border-spacing: 0;
}
table th {
    background: rgba(251, 191, 36, 0.08);
    color: var(--amber-100);
    border-bottom: 1px solid rgba(251, 191, 36, 0.25);
}
table tr:hover td { background: rgba(251, 191, 36, 0.04); }
table td, table th { border-color: rgba(251, 191, 36, 0.08); }

/* Pagination ------------------------------------------------------ */
.pagination a, .pagination span {
    background: rgba(15, 13, 9, 0.7);
    color: var(--amber-100);
    border: 1px solid rgba(251, 191, 36, 0.2);
}
.pagination .active, .pagination a:hover {
    background: var(--gradient-gold);
    color: #0a0a0c;
    border-color: transparent;
    box-shadow: var(--glow-amber);
}

/* Dropdowns ------------------------------------------------------- */
.dropdown-menu {
    background: linear-gradient(160deg, rgba(15, 13, 9, 0.96), rgba(5, 5, 5, 0.98));
    border: 1px solid rgba(251, 191, 36, 0.25);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.95);
}
.dropdown-menu a {
    color: var(--text-color);
    transition: background 220ms ease, color 220ms ease;
}
.dropdown-menu a:hover {
    background: rgba(251, 191, 36, 0.1);
    color: var(--amber-100);
}
.dropdown-divider { border-color: rgba(251, 191, 36, 0.18); }
.notification-toggle { color: var(--amber-100); }
.notification-badge {
    background: var(--gradient-gold);
    color: #0a0a0c;
    font-weight: 800;
    box-shadow: 0 0 14px rgba(251, 191, 36, 0.6);
}

/* Auth pages ------------------------------------------------------ */
.auth-container {
    max-width: 480px;
    margin: 60px auto 80px;
    padding: 0 20px;
    position: relative;
}
.auth-container::before {
    content: "";
    position: absolute;
    inset: -40px;
    background:
        radial-gradient(60% 60% at 50% 30%, rgba(249, 115, 22, 0.25), transparent 70%),
        radial-gradient(50% 50% at 50% 90%, rgba(251, 191, 36, 0.18), transparent 70%);
    filter: blur(20px);
    z-index: -1;
}
.auth-card {
    background: linear-gradient(160deg, rgba(21, 17, 11, 0.95), rgba(10, 9, 7, 0.95));
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: 22px;
    padding: 44px 38px;
    box-shadow: 0 30px 70px -22px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(251, 191, 36, 0.06);
    backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
    animation: fadeUp 600ms ease-out both;
}
.auth-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-gold);
    box-shadow: 0 0 24px rgba(251, 191, 36, 0.6);
}
.auth-card h2 {
    color: var(--amber-100);
    font-family: var(--font-display);
    letter-spacing: 0.04em;
}
.auth-card .logo {
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 30% 30%, #fde68a, #f97316 60%, #b45309) !important;
    color: #0a0a0c !important;
    font-family: var(--font-brand) !important;
    font-weight: 800 !important;
    font-size: 32px !important;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
    box-shadow:
        0 0 0 1px rgba(251, 191, 36, 0.5) inset,
        0 0 30px rgba(251, 191, 36, 0.4),
        0 18px 32px -16px rgba(249, 115, 22, 0.6);
    position: relative;
    animation: brandSpin 14s linear infinite;
}

.auth-card .form-label {
    color: var(--amber-100);
    font-weight: 600;
    letter-spacing: 0.02em;
}
.auth-card .form-label i { color: var(--amber-400); margin-right: 6px; }
.auth-card a { color: var(--amber-300); }
.auth-card a:hover { color: var(--amber-100); }

/* Page header ----------------------------------------------------- */
.page-header,
.blog-header {
    background:
        radial-gradient(60% 80% at 30% 50%, rgba(249, 115, 22, 0.22), transparent 70%),
        radial-gradient(60% 80% at 80% 20%, rgba(251, 191, 36, 0.18), transparent 70%),
        rgba(10, 9, 7, 0.6);
    border-radius: 22px;
    border: 1px solid rgba(251, 191, 36, 0.18);
    margin-bottom: 28px;
}
.page-header h1, .blog-header h1 { color: var(--amber-100); }

/* Mobile menu polish --------------------------------------------- */
.mobile-menu {
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.98), rgba(15, 13, 9, 0.98));
    border-left: 1px solid rgba(251, 191, 36, 0.2);
}
.mobile-menu-overlay { background: rgba(0, 0, 0, 0.7); }

/* Theme toggle ---------------------------------------------------- */
.theme-toggle-btn {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--amber-100);
    transition: transform 240ms ease, background 240ms ease, box-shadow 240ms ease;
}
.theme-toggle-btn:hover {
    transform: rotate(-12deg);
    background: rgba(251, 191, 36, 0.18);
    box-shadow: var(--glow-amber);
}

/* Light-mode (when user toggles off the dark) -------------------- */
body:not(.dark-mode-disabled).light-mode {
    background: radial-gradient(circle at top, #fff7ed 0%, #fef3c7 50%, #fde68a 100%);
    color: #2d1b08;
}
body.light-mode .card,
body.light-mode .feature-card,
body.light-mode .post-card,
body.light-mode .product-card,
body.light-mode .blog-card {
    background: rgba(255, 255, 255, 0.85);
    color: #2d1b08;
    border-color: rgba(180, 83, 9, 0.18);
}
body.light-mode .navbar {
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.92), rgba(254, 243, 199, 0.85));
    border-bottom-color: rgba(180, 83, 9, 0.2);
}
body.light-mode .navbar-menu a,
body.light-mode p, body.light-mode li, body.light-mode label,
body.light-mode .card-text { color: #4a2e0a; }
body.light-mode h1, body.light-mode h2, body.light-mode h3,
body.light-mode h4, body.light-mode h5, body.light-mode h6 { color: #6b3403; }

/* Honor existing dark-mode toggle as a no-op (we're already dark) */
body.dark-mode { background: var(--gradient-night); }

/* Reduce motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0ms !important;
        animation-delay: 0ms !important;
        transition-duration: 80ms !important;
    }
}

/* Scrollbar ------------------------------------------------------- */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #0a0907; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #b45309, #f97316);
    border-radius: 99px;
    border: 2px solid #0a0907;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #f97316, #fbbf24); }

/* Selection */
::selection { background: rgba(251, 191, 36, 0.45); color: #0a0a0c; }

/* Subtle entry animation for everything --------------------------- */
.section, .container > .grid, .container > .card, .blog-card, .product-card {
    animation: sectionRise 600ms ease-out both;
}
@keyframes sectionRise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
