/* Icon in Motion Awards 2027
   Brand: black background, gold (#d4af37) accents, elegant serif headings.
   Fashion awards — no other accent colour. */

:root {
    --gold: #d4af37;
    --gold-bright: #f0d47a;
    --gold-deep: #9a7b1e;
    --bg: #0a0a0c;
    --panel: #141318;
    --panel-2: #1b1922;
    --text: #f3efe6;
    --muted: #b8b2a3;
    --error: #ff7a7a;
    --ok: #8fe3a8;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

h1, h2, h3, .brand-name {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--gold);
    font-weight: 700;
}

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

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 18px 48px;
}

/* Header / footer */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 22px;
    border-bottom: 2px solid var(--gold);
    background: #000;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand-logo { height: 54px; width: auto; display: block; }
.brand-name { font-size: 1.35rem; letter-spacing: 0.04em; }
.site-nav a {
    color: var(--text);
    text-decoration: none;
    margin-left: 18px;
    font-weight: 600;
}
.site-nav a:hover { color: var(--gold); }

.site-footer {
    border-top: 1px solid #333;
    text-align: center;
    padding: 26px 16px 34px;
    color: var(--muted);
    font-size: 0.92rem;
}
.site-footer p { margin: 4px 0; }

/* Hero + titles */
.hero { text-align: center; padding: 30px 10px 10px; }
.hero-eyebrow {
    display: inline-block;
    font-family: Georgia, serif;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1405;
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    border-radius: 999px;
    padding: 7px 20px;
    margin: 0 0 14px;
}
.hero h1 { font-size: 2.6rem; margin: 8px 0 4px; }
.tagline {
    font-family: Georgia, serif;
    font-style: italic;
    color: var(--gold-bright);
    font-size: 1.25rem;
    margin: 0 0 14px;
}
.hero-text { max-width: 720px; margin: 0 auto 18px; color: var(--text); }
.hero-note { max-width: 720px; margin: 0 auto 18px; color: var(--muted); font-style: italic; }
.page-title { font-size: 2.1rem; margin: 10px 0 6px; text-align: center; }
.page-intro { text-align: center; color: var(--muted); max-width: 720px; margin: 0 auto 22px; }
.section-title {
    font-size: 1.6rem;
    margin: 36px 0 16px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 8px;
}
.sub-title { color: var(--gold); margin: 20px 0 12px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* Closing call to action */
.closing-cta {
    text-align: center;
    background: var(--panel);
    border: 1px solid var(--gold);
    border-radius: 14px;
    padding: 30px 20px;
    margin: 40px 0 10px;
}
.closing-cta h2 { margin-top: 0; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    margin: 4px 2px;
    background: #222;
    color: var(--text);
}
.btn-gold { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: #1a1405; }
.btn-gold:hover { color: #000; filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-big { font-size: 1.12rem; padding: 13px 30px; }
.btn-small { padding: 5px 12px; font-size: 0.88rem; }

/* Stages */
.stages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.stage-card {
    background: var(--panel);
    border: 1px solid #2c2a33;
    border-top: 3px solid var(--gold);
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
}
.stage-num {
    width: 44px; height: 44px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: var(--gold);
    color: #1a1405;
    font-family: Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.stage-card h3 { margin: 4px 0 8px; font-size: 1.15rem; }
.stage-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Panels + forms */
.panel {
    background: var(--panel);
    border: 1px solid #2c2a33;
    border-radius: 14px;
    padding: 24px;
    margin: 22px auto;
    max-width: 680px;
}
.panel.narrow { max-width: 440px; }
.panel h2 { margin-top: 0; }
label {
    display: block;
    margin: 14px 0;
    font-weight: 600;
    color: var(--text);
}
input[type="text"], input[type="email"], input[type="password"],
select, textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 11px 12px;
    border-radius: 8px;
    border: 1px solid #3a3742;
    background: var(--panel-2);
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
}
input[type="file"] { display: block; margin-top: 6px; color: var(--muted); }
textarea { resize: vertical; }
.inline-form { display: inline-block; margin-top: 10px; }

/* Alerts */
.alert {
    border-radius: 10px;
    padding: 12px 16px;
    margin: 14px auto;
    max-width: 760px;
    text-align: center;
    font-weight: 600;
}
.alert-error { background: #3a1420; border: 1px solid var(--error); color: #ffd7d7; }
.alert-ok { background: #12301c; border: 1px solid #2f7d46; color: var(--ok); }
.alert-info { background: #26221a; border: 1px solid var(--gold); color: var(--gold-bright); }

/* Search + cards */
.search-form {
    display: flex;
    gap: 10px;
    max-width: 560px;
    margin: 0 auto 20px;
}
.search-form input { flex: 1; margin-top: 0; }
.search-form .btn { margin: 0; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.nominee-card {
    background: var(--panel);
    border: 1px solid #2c2a33;
    border-radius: 14px;
    padding: 18px;
    text-align: center;
}
.nominee-thumb {
    width: 120px; height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--gold);
    margin: 0 auto 10px;
    display: block;
}
.monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #241d08;
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 2.2rem;
    font-weight: 700;
}
.nominee-card .monogram { display: flex; }
.nominee-card h3 { margin: 6px 0 2px; font-size: 1.2rem; }
.card-cat { color: var(--gold-bright); font-weight: 700; margin: 2px 0; }
.card-city { color: var(--muted); margin: 2px 0; }

/* Badges + counts */
.badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid var(--gold);
    color: var(--gold-bright);
}
.badge-official { border-color: var(--gold-bright); color: var(--gold-bright); }
.badge-finalist { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.badge-winner { background: var(--gold); border-color: var(--gold); color: #1a1405; }
.support-count { color: var(--text); font-weight: 700; margin-left: 6px; }
.support-count.big { font-size: 1.25rem; color: var(--gold-bright); }

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}
.category-tile {
    background: var(--panel);
    border: 1px solid #2c2a33;
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.category-num {
    flex: 0 0 auto;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--gold);
    color: #1a1405;
    font-family: Georgia, serif;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem;
}
.category-name { font-weight: 600; flex: 1; }
.category-count { color: var(--muted); font-size: 0.88rem; white-space: nowrap; }

/* Previous Winners gallery — images dropped into assets/gallery/ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}
.gallery-item {
    margin: 0;
    background: var(--panel);
    border: 1px solid #2c2a33;
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
}
.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}
.gallery-item figcaption {
    padding: 12px 10px;
    font-weight: 700;
    color: var(--gold-bright);
    font-family: Georgia, serif;
}

/* Nominee page */
.nominee-hero { text-align: center; padding-top: 12px; }
.nominee-photo {
    width: 240px; height: 240px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--gold);
    box-shadow: 0 0 0 3px var(--gold-deep);
    margin: 0 auto;
    display: block;
    font-size: 4rem;
}
.nominee-cat {
    font-family: Georgia, serif;
    color: var(--gold-bright);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 4px 0;
}
.nominee-city { color: var(--muted); margin: 2px 0 10px; }
.story {
    max-width: 640px;
    margin: 22px auto;
    padding: 18px 22px;
    background: var(--panel);
    border-left: 4px solid var(--gold);
    border-radius: 0 12px 12px 0;
    text-align: left;
}
.story p { font-style: italic; margin: 0 0 8px; }
.story cite { color: var(--muted); font-style: normal; font-size: 0.9rem; }

/* Share row */
.share-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}
.share-label { color: var(--muted); font-weight: 700; }
.share-btn {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #444;
    background: var(--panel-2);
    color: var(--text);
    cursor: pointer;
}
.share-btn.fb { border-color: #1877f2; }
.share-btn.x { border-color: #888; }
.share-btn.wa { border-color: #25d366; }
.share-btn:hover { border-color: var(--gold); color: var(--gold-bright); }
.share-link-label { color: var(--muted); margin-bottom: 2px; }
.share-link { word-break: break-all; font-size: 1.05rem; }
.confirmation { text-align: center; }
.poster-link { margin-top: 16px; }

/* Poster */
.poster-panel { text-align: center; max-width: 760px; }
.poster-canvas {
    width: 100%;
    max-width: 520px;
    height: auto;
    border: 2px solid var(--gold);
    border-radius: 8px;
    background: #000;
}

/* Admin */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0 8px;
}
.stat {
    flex: 1 1 120px;
    background: var(--panel);
    border: 1px solid #2c2a33;
    border-top: 3px solid var(--gold);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}
.stat-num { display: block; font-size: 1.7rem; font-weight: 700; color: var(--gold-bright); font-family: Georgia, serif; }
.stat-label { color: var(--muted); font-size: 0.88rem; }
.table-wrap { overflow-x: auto; }
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--panel);
    border-radius: 10px;
    overflow: hidden;
    font-size: 0.95rem;
}
.admin-table th, .admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #2c2a33;
    text-align: left;
    vertical-align: middle;
}
.admin-table th { background: #000; color: var(--gold); font-family: Georgia, serif; }
.admin-table td.center { text-align: center; }
.admin-thumb {
    width: 44px; height: 44px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--gold);
    vertical-align: middle;
    margin-right: 8px;
    display: inline-block;
}
span.admin-thumb.monogram { font-size: 1rem; }
.stage-form { display: flex; gap: 6px; align-items: center; }
.stage-form select { margin-top: 0; width: auto; padding: 7px 8px; }

/* Responsive */
@media (max-width: 900px) {
    .stages { grid-template-columns: repeat(2, 1fr); }
    .card-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .stages, .card-grid, .category-grid, .gallery-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .site-header { justify-content: center; text-align: center; }
    .site-nav a { margin: 0 8px; }
    .search-form { flex-direction: column; }
    .nominee-photo { width: 180px; height: 180px; }
}

/* Homescreen hero banner (Fashion Icon Awards artwork supplied by Jey). */
.hero-banner { width: 100%; height: auto; display: block; border: 1px solid #d4af37; border-radius: 12px; margin-bottom: 1.5rem; }
