/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Roboto', sans-serif;
    background: #0a0b0f;
    color: #e0e0e0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: #b39964; text-decoration: none; transition: color 0.2s; }
a:hover { color: #d4b87a; }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Top Bar */
.top-bar {
    background: #000;
    border-bottom: 1px solid rgba(179,153,100,0.2);
    padding: 8px 0;
    font-size: 13px;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar-text { color: #b39964; font-family: 'Sanchez', serif; }
.top-bar-links { display: flex; gap: 20px; }
.top-bar-links a { color: #8a8a8a; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.top-bar-links a:hover { color: #b39964; }

/* Header */
.header {
    background: rgba(10,11,15,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(179,153,100,0.15);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s;
}
.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-title { font-family: 'Sanchez', serif; font-size: 18px; color: #fff; font-weight: 400; }
.logo-tagline { font-size: 11px; color: #8a8a8a; letter-spacing: 0.5px; }
.nav { display: flex; gap: 24px; }
.nav a { color: #ccc; font-size: 14px; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; transition: color 0.2s; }
.nav a:hover { color: #b39964; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}
.btn-gold {
    background: linear-gradient(135deg, #b39964, #d4b87a);
    color: #000;
}
.btn-gold:hover { background: linear-gradient(135deg, #d4b87a, #e8cc8e); color: #000; transform: translateY(-1px); }
.btn-outline {
    background: transparent;
    border: 1px solid #b39964;
    color: #b39964;
}
.btn-outline:hover { background: rgba(179,153,100,0.1); color: #d4b87a; }

/* Hero */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(ellipse at center, #1a1520 0%, #0a0b0f 70%);
    overflow: hidden;
    padding: 36px 0 40px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b39964' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 {
    font-family: 'Sanchez', serif;
    font-size: 34px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 400;
    line-height: 1.2;
}
.hero-sub {
    font-size: 16px;
    color: #8a8a8a;
    margin-bottom: 16px;
}
.hero-alert {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(179,153,100,0.1);
    border: 1px solid rgba(179,153,100,0.3);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #b39964;
}
.alert-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Hero Top Row: Gold - Photo - Silver - Bronze, all same height */
.hero-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}
.hero-portrait {
    flex-shrink: 0;
    line-height: 0;
}
.hero-portrait img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: none;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 24px rgba(179,153,100,0.5));
    animation: portraitGlow 3s ease-in-out infinite alternate;
}
@keyframes portraitGlow {
    0% { filter: drop-shadow(0 0 18px rgba(179,153,100,0.4)); }
    100% { filter: drop-shadow(0 0 30px rgba(179,153,100,0.6)); }
}
.hero-name {
    font-family: 'Sanchez', serif;
    font-size: 18px;
    color: #d4b87a;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.hero-badge {
    width: 90px;
    height: 110px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero-badge .badge-inner {
    text-align: center;
}
.hero-badge .badge-year { font-size: 11px; letter-spacing: 2px; opacity: 0.8; }
.hero-badge .badge-award { font-size: 16px; font-weight: 700; letter-spacing: 2px; margin: 3px 0; }
.hero-badge .badge-label { font-size: 9px; letter-spacing: 2px; opacity: 0.7; }

.gold-badge {
    background: linear-gradient(145deg, #b39964, #8a7340);
    border: 2px solid #d4b87a;
    color: #fff;
    box-shadow: 0 0 30px rgba(179,153,100,0.3);
}
.silver-badge {
    background: linear-gradient(145deg, #a8a8a8, #707070);
    border: 2px solid #c0c0c0;
    color: #fff;
    box-shadow: 0 0 20px rgba(160,160,160,0.2);
}
.bronze-badge {
    background: linear-gradient(145deg, #a0724a, #6d4e33);
    border: 2px solid #b8845a;
    color: #fff;
    box-shadow: 0 0 20px rgba(160,114,74,0.2);
}

/* Framework */
.framework {
    padding: 80px 0;
    background: #000;
}
.section-title {
    font-family: 'Sanchez', serif;
    font-size: 32px;
    color: #fff;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 400;
}
.section-sub {
    text-align: center;
    color: #8a8a8a;
    font-size: 16px;
    margin-bottom: 48px;
}
.framework-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.framework-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(179,153,100,0.15);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}
.framework-card:hover {
    transform: translateY(-4px);
    border-color: rgba(179,153,100,0.4);
}
.framework-icon { margin-bottom: 20px; }
.framework-card h3 {
    font-family: 'Sanchez', serif;
    color: #b39964;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 400;
}
.framework-card p { color: #8a8a8a; font-size: 14px; line-height: 1.7; }

/* Winner Spotlight */
.winner-spotlight {
    padding: 80px 0;
    background: linear-gradient(180deg, #0a0b0f, #0f1015);
}
.spotlight-card {
    display: flex;
    gap: 48px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(179,153,100,0.2);
    border-radius: 16px;
    padding: 48px;
    align-items: center;
}
.spotlight-photo {
    flex-shrink: 0;
    text-align: center;
}
.spotlight-photo img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: none;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(179,153,100,0.3));
}
.spotlight-badges {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}
.mini-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}
.mini-badge.gold { background: linear-gradient(135deg, #b39964, #d4b87a); color: #000; }
.mini-badge.silver { background: linear-gradient(135deg, #a8a8a8, #d0d0d0); color: #000; }
.mini-badge.bronze { background: linear-gradient(135deg, #a0724a, #c09060); color: #000; }
.spotlight-info h3 {
    font-family: 'Sanchez', serif;
    font-size: 28px;
    color: #fff;
    margin-bottom: 4px;
    font-weight: 400;
}
.spotlight-role {
    color: #b39964;
    font-size: 16px;
    margin-bottom: 16px;
    font-style: italic;
}
.spotlight-desc {
    color: #aaa;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}
.spotlight-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
}
.stat {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-family: 'Lato', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #b39964;
}
.stat-label {
    font-size: 12px;
    color: #8a8a8a;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.spotlight-links { display: flex; gap: 16px; }

/* Categories */
.categories {
    padding: 80px 0;
    background: #000;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.category-card {
    background: #fff;
    border: 1px solid #b59967;
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(179,153,100,0.2);
}
.category-icon { margin-bottom: 16px; }
.category-card h3 {
    font-family: 'Sanchez', serif;
    font-size: 16px;
    color: #222;
    margin-bottom: 8px;
    font-weight: 400;
}
.category-count {
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
}
.category-winner-tag {
    display: inline-block;
    background: linear-gradient(135deg, #b39964, #d4b87a);
    color: #000;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Winners Table */
.winners {
    padding: 80px 0;
    background: #0a0b0f;
}
.winners-group {
    margin-bottom: 48px;
}
.group-title {
    font-family: 'Sanchez', serif;
    font-size: 22px;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(179,153,100,0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 400;
}
.group-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.gold-accent { background: #b39964; }
.winners-table {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(179,153,100,0.1);
    border-radius: 8px;
    overflow: hidden;
}
.winner-row {
    display: grid;
    grid-template-columns: 1fr 120px 200px;
    padding: 14px 24px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s;
}
.winner-row:last-child { border-bottom: none; }
.winner-row:not(.header-row):hover { background: rgba(179,153,100,0.05); }
.header-row {
    background: rgba(179,153,100,0.1);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #b39964;
    font-weight: 500;
}
.col-category { color: #ccc; font-size: 14px; }
.col-winner { color: #fff; font-weight: 500; font-size: 14px; }
.award-badge {
    display: inline-block;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}
.award-badge.gold {
    background: linear-gradient(135deg, #b39964, #d4b87a);
    color: #000;
}
.award-badge.silver {
    background: linear-gradient(135deg, #a8a8a8, #d0d0d0);
    color: #000;
}
.award-badge.bronze {
    background: linear-gradient(135deg, #a0724a, #c09060);
    color: #000;
}

/* Large Badges Section */
.badges-section {
    padding: 80px 0;
    background: #000;
}
.badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.badge-card p {
    margin-top: 16px;
    color: #8a8a8a;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.large-badge {
    width: 180px;
    height: 220px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.large-badge .badge-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}
.large-badge .badge-stars {
    font-size: 12px;
    letter-spacing: 4px;
    margin-bottom: 8px;
    opacity: 0.8;
}
.large-badge .badge-shield-icon {
    margin-bottom: 8px;
}
.large-badge .badge-text-main {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.4;
    margin-bottom: 8px;
    opacity: 0.9;
}
.large-badge .badge-year {
    font-size: 13px;
    letter-spacing: 3px;
    opacity: 0.8;
}
.large-badge .badge-award {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 4px;
    margin: 4px 0;
}
.large-badge .badge-label {
    font-size: 10px;
    letter-spacing: 3px;
    opacity: 0.7;
}
.finalist-badge {
    background: linear-gradient(145deg, #4a5568, #2d3748);
    border: 2px solid #718096;
    color: #fff;
    box-shadow: 0 0 20px rgba(113,128,150,0.2);
}

/* About */
.about {
    padding: 80px 0;
    background: #0a0b0f;
}
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}
.about-text p {
    color: #aaa;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}
.about-text strong { color: #b39964; }
.about-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.about-stat-card {
    background: rgba(179,153,100,0.05);
    border: 1px solid rgba(179,153,100,0.15);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
}
.about-stat-number {
    font-family: 'Lato', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: #b39964;
}
.about-stat-label {
    font-size: 11px;
    color: #8a8a8a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Contact */
.contact {
    padding: 60px 0;
    background: #000;
    text-align: center;
}
.contact-info {
    margin-top: 24px;
}
.contact-info a { font-size: 16px; }

/* Footer */
.footer {
    background: #000;
    border-top: 1px solid rgba(179,153,100,0.15);
    padding: 32px 0;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: 'Sanchez', serif;
    font-size: 14px;
    margin-bottom: 8px;
}
.footer-copy { font-size: 12px; color: #555; }
.footer-right { display: flex; gap: 20px; }
.footer-right a { color: #666; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.footer-right a:hover { color: #b39964; }

/* Responsive */
@media (max-width: 1024px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .badges-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .framework-grid { grid-template-columns: 1fr; }
    .spotlight-card { flex-direction: column; text-align: center; }
    .spotlight-stats { justify-content: center; }
    .spotlight-links { justify-content: center; }
    .about-content { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .top-bar-inner { flex-direction: column; gap: 4px; }
    .header-inner { flex-direction: column; gap: 12px; }
    .nav { flex-wrap: wrap; justify-content: center; gap: 12px; }
    .hero h1 { font-size: 20px; }
    .hero-top { gap: 10px; }
    .hero-badge { width: 60px; height: 72px; }
    .hero-badge .badge-award { font-size: 11px; }
    .hero-badge .badge-year { font-size: 8px; }
    .hero-badge .badge-label { font-size: 7px; }
    .hero-portrait img { width: 72px; height: 72px; }
    .hero-name { font-size: 13px; }
    .category-grid { grid-template-columns: 1fr; }
    .badges-grid { grid-template-columns: 1fr 1fr; }
    .winner-row { grid-template-columns: 1fr 80px 140px; padding: 12px 16px; }
    .col-category { font-size: 12px; }
    .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
    .footer-right { flex-wrap: wrap; justify-content: center; }
    .section-title { font-size: 24px; }
    .large-badge { width: 150px; height: 190px; }
}

/* Create Form */
.create-section {
    padding: 60px 0;
    background: #0a0b0f;
}
.create-form {
    max-width: 720px;
    margin: 0 auto;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(179,153,100,0.2);
    border-radius: 16px;
    padding: 40px;
}
.form-errors {
    max-width: 720px;
    margin: 0 auto 24px;
    background: rgba(220,38,38,0.1);
    border: 1px solid rgba(220,38,38,0.3);
    border-radius: 8px;
    padding: 16px 24px;
}
.form-errors ul { list-style: none; }
.form-errors li { color: #f87171; font-size: 14px; margin-bottom: 4px; }
.form-errors li::before { content: "! "; font-weight: 700; }
.form-group {
    margin-bottom: 24px;
}
.form-group label {
    display: block;
    font-size: 14px;
    color: #b39964;
    margin-bottom: 6px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.required { color: #f87171; }
.form-group input[type="text"],
.form-group input[type="url"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(179,153,100,0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b39964;
    box-shadow: 0 0 0 2px rgba(179,153,100,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
}
.form-group small,
.field-hint {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}
.form-group input[type="file"] {
    padding: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(179,153,100,0.3);
    border-radius: 8px;
    color: #aaa;
    width: 100%;
    cursor: pointer;
}
.category-fieldset {
    border: 1px solid rgba(179,153,100,0.15);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}
.category-fieldset legend {
    color: #b39964;
    font-family: 'Sanchez', serif;
    font-size: 15px;
    padding: 0 8px;
}
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #ccc;
    cursor: pointer;
    padding: 4px 0;
}
.checkbox-label input[type="checkbox"] {
    accent-color: #b39964;
    width: 16px;
    height: 16px;
}
.form-actions {
    text-align: center;
    margin-top: 32px;
}
.nav-cta {
    background: linear-gradient(135deg, #b39964, #d4b87a) !important;
    color: #000 !important;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 500;
}

/* 404 Page */
.not-found {
    padding: 120px 0;
    text-align: center;
}
.not-found h1 {
    font-family: 'Sanchez', serif;
    font-size: 80px;
    color: #b39964;
    margin-bottom: 16px;
}
.not-found p {
    color: #8a8a8a;
    font-size: 18px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .create-form { padding: 24px 16px; }
    .checkbox-grid { grid-template-columns: 1fr; }
}
