/**
 * Dark "hobby collector" theme — Bootstrap 5.3 dark mode + warm accent display-case feel.
 */
.theme-hobby[data-bs-theme="dark"] {
    --bs-primary: #e8a849;
    --bs-primary-rgb: 232, 168, 73;
    --bs-link-color: #f0bc6a;
    --bs-link-hover-color: #ffd88a;
    --bs-body-bg: #0f0e12;
    --bs-body-color: #e8e4dc;
    --bs-secondary-color: #a39e94;
    --bs-tertiary-bg: #18161d;
    --bs-border-color: rgba(232, 168, 73, 0.22);
    --bs-border-color-translucent: rgba(232, 168, 73, 0.15);
    --bs-card-bg: #1a1822;
    --bs-card-border-color: rgba(232, 168, 73, 0.25);
}

.theme-hobby[data-bs-theme="dark"] body {
    font-family: "DM Sans", system-ui, sans-serif;
    min-height: 100vh;
    background-color: var(--bs-body-bg);
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(232, 168, 73, 0.12), transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(120, 90, 180, 0.08), transparent 40%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 24px,
            rgba(255, 255, 255, 0.02) 24px,
            rgba(255, 255, 255, 0.02) 25px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 24px,
            rgba(255, 255, 255, 0.02) 24px,
            rgba(255, 255, 255, 0.02) 25px
        );
    background-attachment: fixed;
}

.theme-hobby[data-bs-theme="dark"] h1,
.theme-hobby[data-bs-theme="dark"] h2,
.theme-hobby[data-bs-theme="dark"] h3,
.theme-hobby[data-bs-theme="dark"] h4,
.theme-hobby[data-bs-theme="dark"] .navbar-brand {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.theme-hobby[data-bs-theme="dark"] .navbar-hobby {
    background: linear-gradient(180deg, #14121a 0%, #0f0e12 100%) !important;
    border-bottom: 1px solid rgba(232, 168, 73, 0.28);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.theme-hobby[data-bs-theme="dark"] .navbar-hobby .nav-link {
    color: rgba(232, 228, 220, 0.92) !important;
}

.theme-hobby[data-bs-theme="dark"] .navbar-hobby .nav-link:hover,
.theme-hobby[data-bs-theme="dark"] .navbar-hobby .nav-link:focus {
    color: var(--bs-primary) !important;
}

.theme-hobby[data-bs-theme="dark"] .navbar-hobby .navbar-brand {
    color: #f4d49a !important;
    text-shadow: 0 0 24px rgba(232, 168, 73, 0.35);
}

.theme-hobby[data-bs-theme="dark"] .navbar-brand-logo {
    height: 40px;
    width: auto;
    max-width: min(240px, 52vw);
    object-fit: contain;
    display: block;
}

.theme-hobby[data-bs-theme="dark"] .navbar-hobby .navbar-brand-with-logo {
    text-shadow: none;
    color: inherit !important;
}

.theme-hobby[data-bs-theme="dark"] .navbar-brand-tagline {
    font-family: "Fraunces", Georgia, serif;
    color: rgba(212, 200, 180, 0.85) !important;
    text-shadow: none;
}

.theme-hobby[data-bs-theme="dark"] .footer-brand-logo {
    height: 28px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.theme-hobby[data-bs-theme="dark"] .footer-hobby {
    background: linear-gradient(0deg, #0c0b0f 0%, #121018 100%);
    border-top: 1px solid rgba(232, 168, 73, 0.2);
    color: var(--bs-secondary-color);
}

.theme-hobby[data-bs-theme="dark"] .card {
    border: 1px solid rgba(232, 168, 73, 0.2);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 1px 0 rgba(232, 168, 73, 0.08) inset;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.theme-hobby[data-bs-theme="dark"] .card:hover {
    border-color: rgba(232, 168, 73, 0.4);
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(232, 168, 73, 0.12) inset;
}

.theme-hobby[data-bs-theme="dark"] .card-header {
    background: rgba(232, 168, 73, 0.08);
    border-bottom-color: var(--bs-border-color);
    color: #f4ead8;
    font-family: "Fraunces", Georgia, serif;
}

.theme-hobby[data-bs-theme="dark"] .card-collectible {
    overflow: hidden;
}

.theme-hobby[data-bs-theme="dark"] .hero-panel {
    background: linear-gradient(135deg, #1f1a28 0%, #16141c 50%, #1a1620 100%) !important;
    border: 1px solid rgba(232, 168, 73, 0.25);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.theme-hobby[data-bs-theme="dark"] .btn-primary {
    --bs-btn-bg: #c9892e;
    --bs-btn-border-color: #d9a040;
    --bs-btn-hover-bg: #e8a849;
    --bs-btn-hover-border-color: #f0bc6a;
    color: #1a1208;
    font-weight: 600;
}

.theme-hobby[data-bs-theme="dark"] .btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: rgba(232, 168, 73, 0.55);
    --bs-btn-hover-bg: rgba(232, 168, 73, 0.15);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff5e0;
}

.theme-hobby[data-bs-theme="dark"] .table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(232, 168, 73, 0.06);
    --bs-table-hover-bg: rgba(232, 168, 73, 0.1);
    border-color: var(--bs-border-color);
}

.theme-hobby[data-bs-theme="dark"] .table > :not(caption) > * > * {
    border-bottom-color: rgba(232, 168, 73, 0.15);
}

.theme-hobby[data-bs-theme="dark"] .form-control,
.theme-hobby[data-bs-theme="dark"] .form-select {
    background-color: #14121a;
    border-color: rgba(232, 168, 73, 0.28);
    color: var(--bs-body-color);
}

.theme-hobby[data-bs-theme="dark"] .form-control:focus,
.theme-hobby[data-bs-theme="dark"] .form-select:focus {
    border-color: rgba(232, 168, 73, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(232, 168, 73, 0.2);
}

.theme-hobby[data-bs-theme="dark"] .dropdown-menu {
    background-color: #1a1822;
    border-color: rgba(232, 168, 73, 0.25);
}

.theme-hobby[data-bs-theme="dark"] .dropdown-item {
    color: var(--bs-body-color);
}

.theme-hobby[data-bs-theme="dark"] .dropdown-item:hover {
    background-color: rgba(232, 168, 73, 0.12);
    color: #fff5e0;
}

.theme-hobby[data-bs-theme="dark"] .badge.bg-secondary {
    background-color: rgba(120, 100, 160, 0.45) !important;
    color: #ece8ff;
}

.theme-hobby[data-bs-theme="dark"] .text-bg-light {
    background-color: rgba(232, 168, 73, 0.25) !important;
    color: #fff8e8 !important;
}

.theme-hobby[data-bs-theme="dark"] .alert-success {
    background-color: rgba(60, 140, 90, 0.25);
    border-color: rgba(100, 200, 130, 0.35);
    color: #c8f0d8;
}

.theme-hobby[data-bs-theme="dark"] .alert-danger {
    background-color: rgba(160, 60, 60, 0.25);
    border-color: rgba(220, 100, 100, 0.4);
    color: #ffc8c8;
}

.theme-hobby[data-bs-theme="dark"] .alert-info {
    background-color: rgba(70, 120, 180, 0.2);
    border-color: rgba(120, 170, 220, 0.35);
    color: #c8e0ff;
}

.theme-hobby[data-bs-theme="dark"] .alert-warning {
    background-color: rgba(180, 140, 40, 0.2);
    border-color: rgba(232, 168, 73, 0.4);
    color: #ffe8b8;
}

.theme-hobby[data-bs-theme="dark"] main.container {
    position: relative;
    z-index: 1;
}

.theme-hobby[data-bs-theme="dark"] .breadcrumb {
    --bs-breadcrumb-divider-color: rgba(232, 168, 73, 0.45);
}

.theme-hobby[data-bs-theme="dark"] .breadcrumb-item a {
    color: var(--bs-link-color);
}

.theme-hobby[data-bs-theme="dark"] .breadcrumb-item.active {
    color: var(--bs-secondary-color);
}

.theme-hobby[data-bs-theme="dark"] .list-group-item {
    background-color: var(--bs-card-bg);
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

.theme-hobby[data-bs-theme="dark"] .list-group-item-action:hover {
    background-color: rgba(232, 168, 73, 0.1);
    color: #fff5e0;
}

.theme-hobby[data-bs-theme="dark"] .text-success {
    color: #7fd9a8 !important;
}
