:root {
    --ink: #07070a;
    --gold-50: #fff6d8;
    --gold-100: #ffefc2;
    --gold-200: #f6d88a;
    --gold-300: #eac86d;
    --gold-400: #d9b75a;
    --gold-500: #cda84a;
    --gold-600: #b58f34;
    --gold-700: #8e6e23;
    --gold-800: #6a5116;
    --gold-900: #3b2c0c;
    --ring: rgba(255, 214, 122, 0.18);
    --brand-black: #0f0f10;
    --brand-charcoal: #16171b;
    --brand-gold: #d4a019;
    --brand-amber: #f1b72b;
    --brand-forest: #0d1213;
    --brand-pine: #1f2a23;
    --brand-leaf: #2f3f35;
    --brand-cream: #f6f1e6;
}

@font-face {
    font-family: "Cinzel";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/Cinzel-400.woff2") format("woff2");
}

@font-face {
    font-family: "Cinzel";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/Cinzel-600.woff2") format("woff2");
}

@font-face {
    font-family: "Cinzel";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/Cinzel-700.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/Inter.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/Inter.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/Inter.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/Inter.woff2") format("woff2");
}

body.page-body,
body.admin-body {
    background: var(--ink);
    color: #ffffff;
    font-family: "Inter", "ui-sans-serif", system-ui, sans-serif;
}

body.page-body ::selection,
body.admin-body ::selection {
    background: rgba(217, 183, 90, 0.3);
    color: #ffffff;
}

.font-display {
    font-family: "Cinzel", serif;
}

.honey-drip {
    background: linear-gradient(180deg, var(--brand-amber) 0%, var(--brand-gold) 100%);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 120"><path fill="white" d="M0,64L60,69.3C120,75,240,85,360,101.3C480,117,600,139,720,138.7C840,139,960,117,1080,96C1200,75,1320,53,1380,42.7L1440,32L1440,0L1380,0C1320,0,1200,0,1080,0C960,0,840,0,720,0C600,0,480,0,360,0C240,0,120,0,60,0L0,0Z"/></svg>')
        center/cover no-repeat;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 120"><path fill="white" d="M0,64L60,69.3C120,75,240,85,360,101.3C480,117,600,139,720,138.7C840,139,960,117,1080,96C1200,75,1320,53,1380,42.7L1440,32L1440,0L1380,0C1320,0,1200,0,1080,0C960,0,840,0,720,0C600,0,480,0,360,0C240,0,120,0,60,0L0,0Z"/></svg>')
        center/cover no-repeat;
}

.luxe-ring {
    box-shadow: 0 0 0 1px var(--ring) inset;
}

.shadow-luxe {
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
}

.shadow-glow {
    box-shadow: 0 0 0 1px rgba(255, 214, 122, 0.15), 0 20px 80px rgba(0, 0, 0, 0.6);
}

.gold-text {
    background: linear-gradient(180deg, #fff6d8 0%, #eac86d 30%, #b58f34 60%, #ffefc2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hairline {
    background: linear-gradient(90deg, transparent, rgba(255, 214, 122, 0.55), transparent);
    height: 1px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: inset 0 0 0 1px var(--ring);
}

.btn-sm {
    padding: 0.5rem 1rem;
}

.btn-md {
    padding: 0.75rem 1rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background-color: rgba(205, 168, 74, 0.18);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: rgba(205, 168, 74, 0.24);
}

.btn-secondary {
    background-color: rgba(0, 0, 0, 0.25);
    color: rgba(255, 255, 255, 0.85);
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.35);
    color: #ffffff;
}

.btn-ghost {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.8);
}

.btn-ghost:hover {
    background-color: rgba(0, 0, 0, 0.35);
    color: #ffffff;
}

.btn-danger {
    background-color: rgba(239, 68, 68, 0.15);
    color: #ffffff;
}

.btn-danger:hover {
    background-color: rgba(239, 68, 68, 0.22);
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: inset 0 0 0 1px var(--ring);
}

.badge-gold {
    background-color: rgba(205, 168, 74, 0.15);
    color: #ffffff;
}

.input-field {
    width: 100%;
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 0 0 1px var(--ring);
    color: #ffffff;
    font-size: 0.875rem;
    outline: none;
}

.input-field:focus {
    box-shadow: inset 0 0 0 1px var(--ring), 0 0 0 2px rgba(217, 183, 90, 0.3);
}

.accordion-item {
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.35);
    box-shadow: inset 0 0 0 1px rgba(255, 214, 122, 0.12);
    overflow: hidden;
}

.accordion-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
    position: relative;
}

.accordion-summary::-webkit-details-marker {
    display: none;
}

.accordion-summary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 214, 122, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accordion-item[open] .accordion-summary::after,
.accordion-summary:hover::after {
    opacity: 1;
}

.accordion-title {
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.accordion-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 0 0 1px rgba(255, 214, 122, 0.2);
    color: rgba(255, 255, 255, 0.75);
    transition: transform 0.3s ease, color 0.3s ease;
}

.accordion-icon svg {
    width: 1rem;
    height: 1rem;
}

.accordion-item[open] .accordion-icon {
    transform: rotate(180deg);
    color: #f6d88a;
}

.accordion-panel {
    padding: 0 1rem 1rem;
    animation: accordionFade 0.25s ease;
}

@keyframes accordionFade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.admin-body {
    background: #f5f7fb;
    color: #0f172a;
}

body.admin-body ::selection {
    background: rgba(37, 99, 235, 0.2);
    color: #0f172a;
}

body.admin-body .luxe-ring {
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
}

body.admin-body .shadow-luxe {
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

body.admin-body .shadow-glow {
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08), 0 20px 50px rgba(15, 23, 42, 0.08);
}

body.admin-body .hairline {
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.6), transparent);
}

body.admin-body .btn {
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
}

body.admin-body .btn-primary {
    background-color: #2563eb;
    color: #ffffff;
}

body.admin-body .btn-primary:hover {
    background-color: #1d4ed8;
}

body.admin-body .btn-secondary {
    background-color: #e2e8f0;
    color: #1f2937;
}

body.admin-body .btn-secondary:hover {
    background-color: #cbd5e1;
    color: #0f172a;
}

body.admin-body .btn-ghost {
    color: #475569;
}

body.admin-body .btn-ghost:hover {
    background-color: rgba(148, 163, 184, 0.25);
    color: #0f172a;
}

body.admin-body .btn-danger {
    background-color: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

body.admin-body .btn-danger:hover {
    background-color: rgba(239, 68, 68, 0.18);
}

body.admin-body .badge-gold {
    background-color: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
}

body.admin-body .input-field {
    background-color: #ffffff;
    color: #0f172a;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
}

body.admin-body .input-field:focus {
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.45), 0 0 0 3px rgba(37, 99, 235, 0.2);
}

body.admin-body [class*="bg-black/"] {
    background-color: #f8fafc !important;
}

body.admin-body [class*="bg-ink/"] {
    background-color: #ffffff !important;
}

body.admin-body [class*="border-white/"] {
    border-color: rgba(15, 23, 42, 0.08) !important;
}

body.admin-body [class*="text-white/"] {
    color: #64748b !important;
}

body.admin-body .text-white {
    color: #0f172a !important;
}

body.admin-body [class*="bg-red-500/"] {
    background-color: rgba(248, 113, 113, 0.14) !important;
}

body.admin-body [class*="bg-gold-500/"] {
    background-color: rgba(37, 99, 235, 0.08) !important;
}

body.admin-body header {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(15, 23, 42, 0.08);
}

body.admin-body #adminMobileMenu {
    background-color: rgba(255, 255, 255, 0.98);
}

body.admin-body .accordion-item {
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

body.admin-body .accordion-summary {
    color: #475569;
}

body.admin-body .accordion-summary::after {
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.1), transparent 60%);
}

body.admin-body .accordion-icon {
    background: rgba(148, 163, 184, 0.2);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
    color: #475569;
}

body.admin-body .accordion-item[open] .accordion-icon {
    color: #1d4ed8;
}
