:root {
    --gold: #C9A844;
    --gold-light: #E8C96A;
    --gold-dark: #A07D20;
    --dark: #0D0B1E;
    --dark-2: #1A1430;
}

html { scroll-behavior: smooth; }

/* ── Hero ── */
.hero-dark {
    background: linear-gradient(160deg, #0D0B1E 0%, #1e1040 35%, #0f1a2e 70%, #1a0a2e 100%);
}

.hero-glow {
    background:
        radial-gradient(ellipse 70% 55% at 50% 40%, rgba(168,85,247,0.1) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 60%, rgba(201,168,68,0.08) 0%, transparent 70%);
}

.hero-grid {
    background-image:
        linear-gradient(rgba(201,168,68,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,68,0.035) 1px, transparent 1px);
    background-size: 60px 60px;
}

.gold-text {
    background: linear-gradient(135deg, #E8C96A 0%, #C9A844 50%, #A07D20 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gold-border {
    border: 1px solid rgba(201,168,68,0.35);
}

/* ── Nav glass ── */
nav {
    backdrop-filter: blur(16px);
    background: rgba(255,255,255,0.95) !important;
    border-bottom: 1px solid rgba(201,168,68,0.15);
}

/* ── Gold CTA button ── */
.btn-gold {
    background: linear-gradient(135deg, #D4B24A 0%, #C9A844 50%, #A07D20 100%);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px rgba(201,168,68,0.35);
    transition: all 0.25s ease;
}
.btn-gold:hover {
    background: linear-gradient(135deg, #E8C96A 0%, #D4B24A 100%);
    box-shadow: 0 8px 30px rgba(201,168,68,0.5);
    transform: translateY(-2px);
}

/* ── Category cards ── */
.category-card {
    transform: translateY(0);
    transition: all 0.3s ease;
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(201,168,68,0.15);
    border-color: rgba(201,168,68,0.4) !important;
}
.category-card:hover .cat-icon {
    background: linear-gradient(135deg, #D4B24A, #C9A844);
}
.category-card:hover .cat-icon svg {
    color: #fff;
}

/* ── Form focus ── */
input:focus, select:focus, textarea:focus { outline: none; }

/* ── Date input ── */
input[type="date"] {
    color-scheme: light;
    cursor: pointer;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.6;
    cursor: pointer;
    filter: invert(30%) sepia(80%) saturate(600%) hue-rotate(240deg);
}
input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }

/* ── Nomination type cards ── */
.nomination-type-card { transition: all 0.2s ease; }
.nomination-type-card:has(input:checked) {
    border-color: var(--gold);
    background: #fdf8ee;
}

/* ── Form sections ── */
.form-section { animation: fadeIn 0.35s ease-in-out; }

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

@keyframes checkmark {
    0%   { transform: scale(0); }
    50%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.file-item { animation: fadeIn 0.2s ease-in-out; }
#submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* ── Club / sponsor logo cards ── */
.org-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.25s ease;
}
.org-card:hover {
    border-color: rgba(201,168,68,0.5);
    box-shadow: 0 8px 32px rgba(201,168,68,0.12);
    transform: translateY(-3px);
}

.org-card-featured {
    background: #fff;
    border: 2px solid rgba(201,168,68,0.55);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(201,168,68,0.15);
    transition: all 0.25s ease;
}
.org-card-featured:hover {
    box-shadow: 0 16px 48px rgba(201,168,68,0.25);
    transform: translateY(-4px);
}

/* ── Section divider ── */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,68,0.4), transparent);
    border: none;
}

/* ── Powered-by badge ── */
.powered-by-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #1e0038, #2d006b);
    color: #e9d5ff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: opacity 0.2s;
}
.powered-by-badge:hover { opacity: 0.85; }
.powered-by-badge .fanisko-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #22c55e);
    flex-shrink: 0;
}

/* ── Footer ── */
footer {
    background: linear-gradient(135deg, #0D0B1E 0%, #1A1430 100%);
}

@media (max-width: 640px) {
    .hero-section { min-height: calc(100vh - 64px); }
}

/* ── No-scrollbar utility ── */
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ── Mobile form & layout improvements ── */
@media (max-width: 640px) {
    /* Form nav buttons */
    .flex.justify-between button,
    .flex.justify-between a {
        font-size: 0.85rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Nomination type cards — more compact */
    .nomination-type-card { padding: 1rem; gap: 0.75rem; }

    /* Reduce form section padding already handled via sm:p-8 */

    /* About grid: stack on mobile */
    #about .grid.md\\:grid-cols-2 { gap: 2rem; }

    /* Ceremony heading */
    #ceremony h2 { font-size: 2.25rem; }

    /* Sponsor placeholder cards — smaller on mobile */
    #sponsors .flex-wrap > div,
    #club-sponsors .flex-wrap > div {
        width: 140px !important;
        height: 90px !important;
    }

    /* Hero glow/ambient circles — reduce size */
    .absolute.top-20.left-1\\/4 { width: 180px; height: 180px; }
    .absolute.bottom-20.right-1\\/4 { width: 150px; height: 150px; }
}

/* ── Mobile nav gold strip: full height link targets ── */
@media (max-width: 767px) {
    #mobile-menu a { display: block; }
}
