/* =========================================
   VOTECHAIN — REDESIGNED UI
   Dark cyber-minimal theme
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Syne:wght@400;600;700;800&display=swap');

:root {
    --bg: #0a0c10;
    --surface: #111318;
    --surface2: #181b22;
    --surface3: #1f232c;
    --border: rgba(255,255,255,0.07);
    --border-hover: rgba(255,255,255,0.14);
    --green: #63e6b6;
    --green-dim: rgba(99,230,182,0.1);
    --green-mid: rgba(99,230,182,0.3);
    --amber: #f5c842;
    --amber-dim: rgba(245,200,66,0.1);
    --amber-mid: rgba(245,200,66,0.3);
    --red: #f55e5e;
    --red-dim: rgba(245,94,94,0.1);
    --blue: #5ea8f5;
    --blue-dim: rgba(94,168,245,0.1);
    --text: #e2e4ec;
    --text-secondary: #7a7f8e;
    --text-muted: #4a4f5e;
    --font-display: 'Syne', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --radius: 12px;
    --radius-sm: 8px;
    --nav-h: 68px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-display);
    min-height: 100vh;
    overflow-x: hidden;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(10,12,16,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 1000;
    transition: background 0.3s;
}

.navbar.scrolled {
    background: rgba(10,12,16,0.97);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon { display: flex; align-items: center; }

.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.nav-center { flex: 1; display: flex; justify-content: center; }

.chain-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 5px 14px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.chain-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: background 0.3s;
}
.chain-dot.active { background: var(--green); box-shadow: 0 0 6px var(--green); }

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-btn:hover { border-color: var(--border-hover); color: var(--text); background: var(--surface2); }

.wallet-btn {
    background: var(--green-dim);
    border-color: var(--green-mid);
    color: var(--green);
}
.wallet-btn:hover { background: rgba(99,230,182,0.18); }
.wallet-btn.connected { background: rgba(99,230,182,0.15); }

.outline-btn { border-color: var(--border-hover); }

.primary-btn {
    background: var(--green);
    border-color: var(--green);
    color: #0a0c10;
    font-weight: 700;
}
.primary-btn:hover { background: #7ff0c7; border-color: #7ff0c7; color: #0a0c10; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: 0.3s;
}

/* MOBILE MENU */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}
.mobile-menu.open { display: flex; }
.full-width { width: 100%; justify-content: center; }

/* =========================================
   ALERTS
   ========================================= */
.alerts-container {
    position: fixed;
    top: calc(var(--nav-h) + 12px);
    right: 1.5rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.alert {
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    animation: slideIn 0.3s ease;
    max-width: 360px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert.success { background: rgba(99,230,182,0.15); border: 1px solid var(--green-mid); color: var(--green); }
.alert.error { background: var(--red-dim); border: 1px solid rgba(245,94,94,0.3); color: var(--red); }
.alert.info { background: var(--blue-dim); border: 1px solid rgba(94,168,245,0.3); color: var(--blue); }

@keyframes slideIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* =========================================
   HERO
   ========================================= */
.hero-section {
    min-height: 100vh;
    padding-top: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 6vw;
    padding-right: 6vw;
    position: relative;
    overflow: hidden;
    gap: 4rem;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99,230,182,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,230,182,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-dim);
    border: 1px solid var(--green-mid);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--green);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.tag-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 1.4rem;
}

.accent { color: var(--green); }

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.2rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 28px;
    background: var(--green);
    color: #0a0c10;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-hero-primary:hover { background: #7ff0c7; transform: translateY(-1px); }

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-hero-ghost:hover { background: var(--surface2); border-color: var(--border-hover); }

.hero-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 7px 14px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}
.stat-pill i { color: var(--green); font-size: 0.72rem; }

/* HERO VISUAL */
.hero-visual {
    position: relative;
    width: 340px;
    height: 340px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hex-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(99,230,182,0.15);
    animation: rotate 20s linear infinite;
}
.ring-1 { width: 200px; height: 200px; animation-duration: 15s; }
.ring-2 { width: 280px; height: 280px; animation-duration: 25s; animation-direction: reverse; border-style: dashed; }
.ring-3 { width: 340px; height: 340px; animation-duration: 40s; opacity: 0.5; }

@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hex-center {
    z-index: 2;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 120px; height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   CONNECT BANNER
   ========================================= */
.connect-banner {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1rem 6vw;
}

.banner-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.banner-icon {
    font-size: 1.6rem;
    color: var(--text-muted);
}

.banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.banner-text strong { font-size: 0.9rem; color: var(--text); }
.banner-text span { font-size: 0.82rem; color: var(--text-secondary); }

.btn-connect-now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--green);
    color: #0a0c10;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.btn-connect-now:hover { background: #7ff0c7; }

/* =========================================
   MAIN / SECTIONS
   ========================================= */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

.section { margin-bottom: 5rem; }

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 6px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}

.section-meta {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-secondary);
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 100px;
}

/* =========================================
   CANDIDATES GRID
   ========================================= */
.candidates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.candidate-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}
.candidate-card:hover {
    border-color: var(--green-mid);
    transform: translateY(-3px);
}

.candidate-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background: var(--surface2);
}

.candidate-info {
    padding: 1.2rem;
}

.candidate-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.candidate-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.vote-btn {
    width: 100%;
    padding: 10px;
    background: var(--green-dim);
    border: 1px solid var(--green-mid);
    border-radius: var(--radius-sm);
    color: var(--green);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.vote-btn:hover { background: rgba(99,230,182,0.18); }

/* SKELETON */
.skeleton-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    height: 340px;
    animation: shimmer 1.5s infinite;
    background: linear-gradient(90deg, var(--surface) 25%, var(--surface2) 50%, var(--surface) 75%);
    background-size: 200% 100%;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =========================================
   RESULTS DASHBOARD
   ========================================= */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.result-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem;
}

.winner-card {
    border-color: rgba(245,200,66,0.2);
}

.result-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.result-card-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.blue-icon { background: var(--blue-dim); color: var(--blue); border: 1px solid rgba(94,168,245,0.2); }
.amber-icon { background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(245,200,66,0.2); }

.result-card-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}
.result-card-header p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.result-action-btn {
    width: 100%;
    padding: 11px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1.2rem;
}
.blue-btn { background: var(--blue-dim); border: 1px solid rgba(94,168,245,0.25); color: var(--blue); }
.blue-btn:hover { background: rgba(94,168,245,0.18); }
.amber-btn { background: var(--amber-dim); border: 1px solid rgba(245,200,66,0.25); color: var(--amber); }
.amber-btn:hover { background: rgba(245,200,66,0.18); }

.results-display { margin-top: 0.5rem; }

.results-display h3 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.vote-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    font-size: 0.88rem;
}

.vote-result-item span:first-child { color: var(--text); font-weight: 600; }
.vote-count {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--blue);
    background: var(--blue-dim);
    padding: 3px 10px;
    border-radius: 100px;
}

.winner-announcement {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--amber-dim);
    border: 1px solid rgba(245,200,66,0.2);
    border-radius: var(--radius-sm);
    padding: 1.2rem;
    margin-top: 0.5rem;
}

.winner-trophy {
    font-size: 2rem;
    color: var(--amber);
}

.winner-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--amber);
}
.winner-details p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 3px;
    font-family: var(--font-mono);
}

/* =========================================
   ADMIN PANEL
   ========================================= */
.admin-tag { color: var(--amber); }

.admin-warning {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    color: var(--amber);
    background: var(--amber-dim);
    border: 1px solid rgba(245,200,66,0.2);
    padding: 6px 14px;
    border-radius: 100px;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.2rem;
}

.admin-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: border-color 0.2s;
}
.admin-card:hover { border-color: var(--border-hover); }

.admin-card-icon {
    width: 40px; height: 40px;
    background: var(--green-dim);
    border: 1px solid var(--green-mid);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.amber-admin-icon { background: var(--amber-dim); border-color: rgba(245,200,66,0.2); color: var(--amber); }
.red-admin-icon { background: var(--red-dim); border-color: rgba(245,94,94,0.2); color: var(--red); }

.admin-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.admin-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.mono-text {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
    word-break: break-all;
    line-height: 1.6;
}

.admin-btn {
    width: 100%;
    padding: 9px 14px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.admin-btn:hover { border-color: var(--border-hover); color: var(--text); background: var(--surface3); }
.amber-admin-btn { color: var(--amber); border-color: rgba(245,200,66,0.2); background: var(--amber-dim); }
.amber-admin-btn:hover { background: rgba(245,200,66,0.18); }
.red-admin-btn { color: var(--red); border-color: rgba(245,94,94,0.2); background: var(--red-dim); }
.red-admin-btn:hover { background: rgba(245,94,94,0.18); }

/* =========================================
   FOOTER
   ========================================= */
.footer {
    border-top: 1px solid var(--border);
    padding: 2rem 6vw;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
}

.footer-note {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* =========================================
   MODALS
   ========================================= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal.open { display: flex; }

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius);
    width: 100%;
    max-width: 480px;
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from { transform: translateY(20px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 1.5rem 0;
    margin-bottom: 1.5rem;
}

.modal-icon {
    width: 42px; height: 42px;
    background: var(--green-dim);
    border: 1px solid var(--green-mid);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1rem;
    flex-shrink: 0;
}
.amber-modal-icon { background: var(--amber-dim); border-color: rgba(245,200,66,0.25); color: var(--amber); }

.modal-title-group { flex: 1; }
.modal-title-group h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}
.modal-title-group p { font-size: 0.8rem; color: var(--text-secondary); }

.close-btn {
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1rem;
    padding: 4px;
    transition: color 0.2s;
    flex-shrink: 0;
}
.close-btn:hover { color: var(--text); }

.modal-body { padding: 0 1.5rem 1.5rem; }

.form-group { margin-bottom: 1.2rem; }

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-group input {
    width: 100%;
    padding: 11px 14px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 0.9rem;
    transition: border-color 0.2s;
    outline: none;
}
.form-group input::placeholder { color: var(--text-muted); }
.form-group input:focus { border-color: var(--green-mid); background: var(--surface3); }

.error-message {
    color: var(--red);
    font-size: 0.75rem;
    margin-top: 4px;
    display: block;
    min-height: 1rem;
}

.submit-btn {
    width: 100%;
    padding: 13px;
    background: var(--green);
    border: none;
    border-radius: var(--radius-sm);
    color: #0a0c10;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0.5rem;
}
.submit-btn:hover { background: #7ff0c7; }

.amber-submit {
    background: var(--amber);
    color: #0a0c10;
}
.amber-submit:hover { background: #f7d46a; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
    .hero-visual { display: none; }
    .hero-section { justify-content: center; padding: 6rem 6vw 4rem; }
    .hero-content { max-width: 100%; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-tag { margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
    .nav-buttons { display: none; }
    .nav-center { display: none; }
    .hamburger { display: flex; }
    .navbar { padding: 0 1.2rem; }
    .hero-title { font-size: 2.4rem; }
    main { padding: 2rem 1.2rem; }
    .results-grid { grid-template-columns: 1fr; }
    .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-stats { flex-direction: column; align-items: center; }
    .candidates-grid { grid-template-columns: 1fr; }
    .connect-banner { padding: 1rem 1.2rem; }
    .banner-inner { flex-direction: column; text-align: center; }
}