:root {
    --gh-bg: #090909;
    --gh-card: #161616;
    --gh-card-soft: #202020;
    --gh-text: #f5f0e6;
    --gh-muted: #c8bfae;
    --gh-gold: #d4af37;
    --gh-gold-soft: #f1d27a;
    --gh-border: rgba(212, 175, 55, 0.35);
}

html,
body {
    min-height: 100%;
}

body {
    background:
        radial-gradient(circle at top, rgba(212, 175, 55, 0.16), transparent 35%),
        var(--gh-bg);
    color: var(--gh-text);
}

a {
    color: var(--gh-gold-soft);
}

a:hover {
    color: var(--gh-gold);
}

.navbar {
    background: rgba(0, 0, 0, 0.85) !important;
    border-bottom: 1px solid var(--gh-border);
}

.navbar-brand,
.nav-link {
    color: var(--gh-text) !important;
}

.nav-link:hover {
    color: var(--gh-gold-soft) !important;
}

.card {
    background: var(--gh-card);
    color: var(--gh-text);
    border: 1px solid var(--gh-border);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.35);
}

.btn-primary {
    background-color: var(--gh-gold);
    border-color: var(--gh-gold);
    color: #111;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--gh-gold-soft);
    border-color: var(--gh-gold-soft);
    color: #111;
}

.form-control,
.form-select {
    background-color: var(--gh-card-soft);
    color: var(--gh-text);
    border-color: var(--gh-border);
}

.form-control:focus,
.form-select:focus {
    background-color: var(--gh-card-soft);
    color: var(--gh-text);
    border-color: var(--gh-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

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

.gh-hero {
    padding: 5rem 1rem;
}

.gh-gold {
    color: var(--gh-gold-soft);
}

.gh-countdown {
    color: var(--gh-gold-soft);
    text-shadow: 0 0 1.5rem rgba(212, 175, 55, 0.35);
}
.card-img-top {
    height: 220px;
    object-fit: cover;
}

.gh-photo-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.gh-lightbox[hidden] {
    display: none;
}

.gh-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.92);
}

.gh-lightbox img {
    max-width: 95vw;
    max-height: 85vh;
    object-fit: contain;
    border: 1px solid var(--gh-border);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.75);
}

.gh-lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    border: 0;
    background: transparent;
    color: var(--gh-text);
    font-size: 3rem;
    line-height: 1;
}

.gh-lightbox-caption {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    color: var(--gh-text);
    text-align: center;
}

.gh-lightbox-open {
    overflow: hidden;
}

.gh-hero-card {
    max-width: 1100px;
    padding: 3rem;
    border: 1px solid var(--gh-border);
    border-radius: 1.5rem;
    background: linear-gradient(
        145deg,
        rgba(22, 22, 22, 0.95),
        rgba(9, 9, 9, 0.95)
    );
    box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.5);
}

.gh-kicker {
    color: var(--gh-gold-soft);
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

.gh-info-box {
    height: 100%;
    padding: 1.25rem;
    border: 1px solid var(--gh-border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 768px) {
    .gh-hero-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 0.95rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    h1,
    .display-3,
    .display-4 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    .btn,
    .form-control,
    .form-select {
        min-height: 44px;
    }

    .card-body {
        padding: 1rem;
    }

    .card-img-top {
        height: 260px;
    }

    .gh-hero {
        padding: 2rem 0.25rem;
    }

    .gh-hero-card {
        padding: 1.25rem;
        border-radius: 1rem;
    }

    .gh-kicker {
        font-size: 0.85rem;
        letter-spacing: 0.12rem;
    }

    .gh-info-box {
        padding: 1rem;
    }

    .gh-lightbox {
        padding: 0.75rem;
    }

    .gh-lightbox img {
        max-width: 100vw;
        max-height: 80vh;
    }

    .gh-lightbox-close {
        top: 0.5rem;
        right: 1rem;
        font-size: 2.5rem;
    }

    .gh-lightbox-caption {
        bottom: 0.5rem;
        font-size: 0.9rem;
    }
}

.gh-rotate-body {
    margin: 0;
    overflow: hidden;
    background: #000;
}

.gh-rotate-page {
    width: 100vw;
    height: 100vh;
    background: #000;
}

.gh-rotate-empty {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gh-text);
    font-size: 2rem;
}

.gh-rotate-slideshow {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.gh-rotate-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.gh-rotate-slide.is-active {
    opacity: 1;
}

.gh-rotate-slide img {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
}

.gh-rotate-caption {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    text-align: center;
    font-size: 1.25rem;
}

.gh-rotate-controls {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    z-index: 3000;
    display: flex;
    gap: 0.75rem;
    transform: translateX(-50%);
    opacity: 0.25;
    transition: opacity 0.2s ease-in-out;
}

.gh-rotate-controls:hover {
    opacity: 1;
}

.gh-rotate-control {
    width: 56px;
    height: 56px;
    border: 1px solid var(--gh-border);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    color: var(--gh-text);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gh-rotate-control:hover {
    background: rgba(212, 175, 55, 0.25);
}

@media (max-width: 576px) {
    .gh-rotate-controls {
        left: 0.75rem;
        right: 0.75rem;
        right: 0.75rem;
        justify-content: center;
        transform: none;
    }

    .gh-rotate-control {
        min-width: 0;
        flex: 1;
        padding: 0.7rem 0.5rem;
    }
}

.toast {
    min-width: 320px;
    border-radius: 1rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.35);
}

.toast-body {
    font-size: 0.95rem;
}

@media (max-width: 576px) {
    .toast {
        min-width: auto;
        width: calc(100vw - 1.5rem);
    }
}

.gh-toast-container {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    z-index: 5000;
}

.toast {
    min-width: 320px;
    max-width: min(90vw, 700px);
    border-radius: 1rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.35);
}

.toast-body {
    text-align: center;
    font-size: 0.95rem;
}

@media (max-width: 576px) {
    .gh-toast-container {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        transform: none;
    }

    .toast {
        min-width: auto;
        width: 100%;
    }
}

.gh-toast-success {
    background: #198754;
    color: #fff;
}

.gh-toast-error {
    background: #dc3545;
    color: #fff;
}

.gh-toast-success .btn-close,
.gh-toast-error .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.gh-single-timeline {
    max-width: 720px;
    margin: 0 auto;
}

.gh-single-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--gh-border);
    border-radius: 1rem;
    overflow: hidden;
    background: var(--gh-card);
}

.gh-single-image-button {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
}

.gh-single-image-button img {
    width: 100%;
    height: auto;
    display: block;
}

.gh-single-meta {
    padding: 0.75rem 1rem;
    color: var(--gh-muted);
}

.gh-single-lightbox[hidden] {
    display: none;
}

.gh-single-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
}

.gh-single-lightbox img {
    max-width: 100vw;
    max-height: 90vh;
    object-fit: contain;
}

.gh-single-close,
.gh-single-nav,
.gh-single-download {
    position: fixed;
    z-index: 4100;
    border: 1px solid var(--gh-border);
    background: rgba(0, 0, 0, 0.7);
    color: var(--gh-text);
}

.gh-single-close {
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    font-size: 2rem;
}

.gh-single-nav {
    top: 50%;
    width: 48px;
    height: 64px;
    transform: translateY(-50%);
    font-size: 3rem;
}

.gh-single-prev {
    left: 0.5rem;
}

.gh-single-next {
    right: 0.5rem;
}

.gh-single-download {
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
}

.gh-upload-preview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gh-upload-preview-image-wrapper {
    width: 100%;
    min-height: 260px;
    max-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gh-upload-preview-item img {
    display: block;
    max-width: 100%;
    max-height: min(55vh, 420px);
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    background: #000;
    border-radius: 0.75rem;
    transform-origin: center center;
}

.gh-upload-preview-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.75rem;
}

.gh-upload-preview-actions button {
    min-width: 72px;
    min-height: 56px;
}

.gh-upload-preview-actions button {
    font-size: 1.8rem;
}

.gh-upload-preview-item {
    padding: 0.75rem;
    border: 1px solid var(--gh-border);
    border-radius: 1rem;
    background: var(--gh-card-soft);
    text-align: center;
}