/* =========================================
   Chairman's Club Black & Gold Theme
========================================= */

body {
    min-height: 100vh;

    color: #ffffff;

    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.08), transparent 30%),
        radial-gradient(circle at top right, rgba(255, 215, 100, 0.06), transparent 28%),
        linear-gradient(180deg, #020202 0%, #070707 45%, #0b0b0b 100%);

    background-attachment: fixed;

    font-family:
        Inter,
        "Segoe UI",
        sans-serif;
}

/* =========================================
   Navbar
========================================= */

.navbar {
    background: rgba(5, 5, 5, 0.92);

    border-bottom:
        1px solid rgba(212, 175, 55, 0.22) !important;

    backdrop-filter: blur(10px);
}

.navbar-brand {
    color: #f3d98b !important;

    font-weight: 700;
}

/* =========================================
   Hero
========================================= */

.hero {
    border:
        1px solid rgba(212, 175, 55, 0.22);

    background:
        linear-gradient(
            135deg,
            rgba(212, 175, 55, 0.08),
            rgba(255, 215, 100, 0.03)
        ),
        rgba(10, 10, 10, 0.88);

    box-shadow:
        0 0 40px rgba(212, 175, 55, 0.06),
        inset 0 0 20px rgba(255, 215, 100, 0.03);

    border-radius: 24px;
}

.text-glow {
    color: #f3d98b;

    text-shadow:
        0 0 12px rgba(212, 175, 55, 0.35),
        0 0 24px rgba(212, 175, 55, 0.12);
}

/* =========================================
   Cards
========================================= */

.gallery-card,
.admin-card {
    background: rgba(8, 8, 8, 0.94);

    border:
        1px solid rgba(212, 175, 55, 0.16);

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 0 24px rgba(0, 0, 0, 0.5),
        0 0 18px rgba(212, 175, 55, 0.04);
}

.gallery-card img,
.gallery-card video {
    width: 100%;
    height: 260px;

    object-fit: cover;

    background: #000;

    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

.gallery-card:hover img,
.gallery-card:hover video {
    transform: scale(1.02);

    filter: brightness(1.08);
}

.compact-card-body {
    min-height: 96px !important;
}

/* =========================================
   Media Links
========================================= */

.media-card-link {
    display: block;

    color: inherit;

    text-decoration: none;

    position: relative;
}

.media-wrap {
    position: relative;

    background: #000;
}

.media-pill,
.badge-space {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;

    background:
        rgba(212, 175, 55, 0.12) !important;

    color:
        #f3d98b !important;

    border:
        1px solid rgba(212, 175, 55, 0.35) !important;
}

.play-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 4rem;

    color:
        rgba(255, 230, 150, 0.95);

    text-shadow:
        0 0 18px rgba(212, 175, 55, 0.45);

    background:
        radial-gradient(
            circle,
            rgba(0,0,0,0.05),
            rgba(0,0,0,0.45)
        );

    pointer-events: none;
}

/* =========================================
   Media Detail Page
========================================= */

.media-detail-player,
.media-detail-image {
    width: 100%;

    max-height: 72vh;

    object-fit: contain;

    background: #000;

    border:
        1px solid rgba(212, 175, 55, 0.14);

    box-shadow:
        0 0 30px rgba(0, 0, 0, 0.55),
        0 0 20px rgba(212, 175, 55, 0.05);
}

.media-detail-text {
    background:
        rgba(10, 10, 10, 0.92);

    border:
        1px solid rgba(212, 175, 55, 0.14);

    color: #ffffff;

    white-space: normal;
}

.media-detail-text .fs-5 {
    white-space: pre-wrap;
}

/* =========================================
   Admin Preview Thumbnails
========================================= */

.admin-media-thumb {
    position: relative;

    width: 120px;
    height: 70px;

    overflow: hidden;

    border-radius: 12px;

    background: #000;

    border:
        1px solid rgba(212, 175, 55, 0.15);
}

.admin-preview-image,
.admin-preview-video {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    background: #000;
}

.admin-video-icon {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 2rem;

    color:
        rgba(255, 230, 150, 0.95);

    text-shadow:
        0 0 10px rgba(212, 175, 55, 0.45);

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(0,0,0,0.05),
            rgba(0,0,0,0.45)
        );
}

/* =========================================
   Forms
========================================= */

.form-control,
.form-select,
textarea {
    background-color: #111 !important;

    color: #ffffff !important;

    border-color:
        rgba(212, 175, 55, 0.2) !important;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    background-color: #111 !important;

    color: #fff !important;

    border-color:
        #d4af37 !important;

    box-shadow:
        0 0 0 .2rem rgba(212, 175, 55, 0.12) !important;
}

::placeholder {
    color:
        rgba(255,255,255,0.45) !important;
}

/* =========================================
   Buttons
========================================= */

.btn-info,
.btn-primary {
    background:
        linear-gradient(
            180deg,
            #d4af37 0%,
            #a67c1b 100%
        ) !important;

    border: none !important;

    color: #111 !important;

    font-weight: 600;
}

.btn-info:hover,
.btn-primary:hover {
    filter: brightness(1.08);

    transform: translateY(-1px);
}

.btn-outline-info {
    border-color:
        rgba(212, 175, 55, 0.45) !important;

    color:
        #f3d98b !important;
}

.btn-outline-info:hover {
    background:
        rgba(212, 175, 55, 0.12) !important;

    border-color:
        #d4af37 !important;

    color: #ffffff !important;
}

/* =========================================
   Pagination
========================================= */

.pagination .page-link {
    background: #0d0d0d;

    color: #ffffff;

    border-color:
        rgba(212, 175, 55, 0.18);
}

.pagination .page-link:hover {
    background:
        rgba(212, 175, 55, 0.12);

    color: #ffffff;
}

.pagination .active .page-link {
    background: #d4af37;

    color: #111;

    border-color: #d4af37;
}

.pagination .disabled .page-link {
    background:
        rgba(3, 3, 3, 0.45);

    color:
        rgba(255,255,255,0.3);

    border-color:
        rgba(212, 175, 55, 0.12);
}

/* =========================================
   Tables
========================================= */

.table {
    --bs-table-bg: transparent;
    --bs-table-color: #ffffff;
    --bs-table-border-color: rgba(212, 175, 55, 0.14);
}

/* =========================================
   Footer
========================================= */

footer {
    color:
        rgba(255,255,255,0.55) !important;
}

/* =========================================
   Force White Text
========================================= */

body,
p,
span,
div,
small,
label,
td,
th,
li,
ul,
ol,
a,
h1,
h2,
h3,
h4,
h5,
h6,
.card,
.card-body,
.table,
.table td,
.table th,
.navbar,
.navbar-brand,
.form-label,
.form-text,
.pagination,
.alert,
.modal,
.dropdown-menu {
    color: #ffffff !important;
}

.text-secondary,
.text-muted,
.small {
    color:
        rgba(255,255,255,0.78) !important;
}

a {
    color:
        #f3d98b !important;
}

a:hover {
    color:
        #ffffff !important;
}