/* ==========================================
   VERSION 5: SACRA ELETTORALE EDITORIAL
   Design System & Styling
   ========================================== */

:root {
    --color-bg: #0a0a0c;
    --color-bg-alt: #121216;
    --color-card-bg: rgba(22, 22, 28, 0.75);
    --color-text: #f5f0e8;
    --color-text-muted: #c8c0b5;
    --color-gold: #c9a84c;
    --color-gold-hover: #e0be63;
    --color-gold-light: rgba(201, 168, 76, 0.15);
    --color-burgundy: #5c1a1a;
    --color-burgundy-light: rgba(92, 26, 26, 0.3);
    --color-ballot-bg: #eaf2eb;
    --color-ballot-text: #1c2b20;
    --color-ballot-border: #4a6b53;
    --color-border: rgba(201, 168, 76, 0.25);
    --font-heading: 'Cinzel Decorative', serif;
    --font-body: 'Cinzel', serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 99;
}

/* Ambient Glows */
.candlelight-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(160px);
    pointer-events: none;
    z-index: 0;
}
#glow-1 {
    background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
    top: -15%;
    left: -10%;
}
#glow-2 {
    background: radial-gradient(circle, rgba(92, 26, 26, 0.15) 0%, transparent 70%);
    bottom: 10%;
    right: -10%;
}
#glow-center {
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    top: 45%;
    left: 30%;
}

/* Top Propaganda Bar */
.top-propaganda-bar {
    background: linear-gradient(90deg, var(--color-burgundy), #3d1010, var(--color-burgundy));
    color: var(--color-gold);
    text-align: center;
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-gold);
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Container & Typography */
.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--color-text);
    text-transform: uppercase;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-gold);
    margin-top: 0.5rem;
}

/* Dividers */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 300px;
    margin: 2rem auto;
    position: relative;
    z-index: 2;
}
.section-divider .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}
.section-divider .ornament {
    color: var(--color-gold);
    margin: 0 1.2rem;
    font-size: 1.3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: 1px solid var(--color-gold);
}
.btn-solid {
    background: linear-gradient(135deg, var(--color-gold), #a38234);
    color: #0a0a0c;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}
.btn-solid:hover {
    background: linear-gradient(135deg, var(--color-gold-hover), var(--color-gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 168, 76, 0.5);
}
.btn-outline {
    background: transparent;
    color: var(--color-gold);
}
.btn-outline:hover {
    background: rgba(201, 168, 76, 0.1);
    color: var(--color-gold-hover);
    transform: translateY(-2px);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    min-height: calc(100vh - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 2;
    background-color: rgb(245, 240, 232); /* Cream paper background */
    color: #0a0a0c;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

/* Hero Details v1 Style (Always Stacked Vertically) */
.hero-details {
    display: flex;
    flex-direction: column !important;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
    margin-top: 1.2rem;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #121216; /* Dark text */
    width: 100%;
}

@media (min-width: 992px) {
    .hero-details {
        align-items: flex-start;
    }
}

.hero-detail-separator {
    display: none;
}

@media (min-width: 600px) {
    .hero-detail-separator {
        display: block;
        color: var(--color-gold);
        font-weight: bold;
    }
}

.hero-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-icon {
    font-size: 1.2rem;
}

.detail-text {
    letter-spacing: 0.03em;
}

/* Hero Split Layout */
.hero-split-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    width: 100%;
}

.hero-header-group,
.hero-footer-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-split-layout {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        grid-template-areas:
            "header image"
            "footer image";
        align-items: center;
        column-gap: 3rem;
        row-gap: 1.5rem;
    }
    .hero-header-group {
        grid-area: header;
        text-align: left;
        align-items: flex-start;
    }
    .hero-image-side {
        grid-area: image;
        display: flex;
        justify-content: flex-end;
    }
    .hero-footer-group {
        grid-area: footer;
        text-align: left;
        align-items: flex-start;
    }
}

.hero-badge {
    color: var(--color-gold);
    font-size: 0.9rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: clamp(2.0rem, 3.5vw, 2.9rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.02em;
    margin-bottom: 1.2rem;
    color: #0a0a0c; /* Black text */
}

.hero-slogan {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: clamp(1.0rem, 1.8vw, 1.4rem);
    font-weight: 400;
    color: #5c1a1a; /* Burgundy text for contrast */
    line-height: 1.4;
    margin-bottom: 0.8rem;
    text-shadow: none; /* Removed text shadow on white background */
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-cta-wrapper {
    margin-top: 1rem;
}

/* Santino Frame Image Styling */
.santino-frame {
    position: relative;
    max-width: 375px;
    width: 100%;
    background: #ffffff; /* White card frame */
    border: 2px solid var(--color-gold);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 0 20px rgba(201, 168, 76, 0.15);
    text-align: center;
}

.santino-halo {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.santino-arch {
    border-radius: 180px 180px 12px 12px;
    overflow: hidden;
    border: 2px solid var(--color-gold);
    position: relative;
    aspect-ratio: 576/820; /* 80% height crop aspect ratio to keep hands and face perfectly framed */
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 65%; /* Centers crop to keep hands and face in frame */
    display: block;
    transition: transform 0.6s ease;
}
.santino-frame:hover .hero-img {
    transform: scale(1.03);
}

.santino-stamp {
    margin-top: 1.2rem;
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border: 2px dashed var(--color-gold);
    border-radius: 50px;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transform: rotate(-2deg);
}

/* Scroll Arrow */
.scroll-indicator {
    margin-top: 1.5rem;
    animation: bounce 2s infinite;
}
.scroll-arrow {
    color: var(--color-gold);
    font-size: 1.8rem;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ==========================================
   PROGRAMMA V3 STYLE TIMELINE
   ========================================== */
.timeline-cards-v3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .timeline-cards-v3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.program-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    padding: 2.5rem 1.8rem;
    border-radius: 8px;
    position: relative;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid rgba(201, 168, 76, 0.08);
    pointer-events: none;
}

.program-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 0 20px rgba(201, 168, 76, 0.2);
}

.highlight-card {
    border-color: rgba(201, 168, 76, 0.5);
    background: rgba(30, 25, 20, 0.85);
}

.card-time-badge {
    background: var(--color-burgundy);
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--color-gold);
    margin-bottom: 1.2rem;
}

.card-icon-wrapper {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 0.8rem;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ==========================================
   LOGISTICA SECTION
   ========================================== */
.logistics-content {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    padding: 2.5rem;
    border-radius: 8px;
    backdrop-filter: blur(12px);
}

.logistics-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.logistics-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.logistics-bullet {
    font-size: 1.3rem;
    color: var(--color-gold);
    line-height: 1;
    margin-top: 2px;
}

.step-badge {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-gold);
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.15);
}

.logistics-list strong {
    color: var(--color-text);
    font-size: 1.1rem;
}

.logistics-list p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.tip-item {
    background: rgba(201, 168, 76, 0.08);
    border-left: 3px solid var(--color-gold);
    padding: 1rem 1.2rem;
    border-radius: 0 6px 6px 0;
}
.text-gold {
    color: var(--color-gold) !important;
}

.btn-wrapper {
    text-align: center;
}

/* ==========================================
   RSVP SCHEDA DI PARTECIPAZIONE (BALLOT PAPER)
   ========================================== */
.rsvp-card {
    max-width: 750px;
    margin: 0 auto;
}

.ballot-paper {
    background: var(--color-ballot-bg);
    color: var(--color-ballot-text);
    padding: 3rem 2.5rem;
    border-radius: 6px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8), inset 0 0 100px rgba(0,0,0,0.05);
    border: 3px double var(--color-ballot-border);
    position: relative;
}

.ballot-header {
    text-align: center;
    border-bottom: 2px solid var(--color-ballot-border);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.ballot-header h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #122417;
}

.ballot-header p {
    font-size: 0.95rem;
    color: #385240;
    font-style: italic;
    margin-top: 0.3rem;
}

/* Charity Banner Trigger inside Ballot Paper */
.charity-notice-banner {
    background: #dceada;
    border: 1px dashed var(--color-ballot-border);
    padding: 1.1rem 1.6rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.2rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}
.charity-notice-banner:hover {
    background: #cfdfcd;
    transform: translateY(-1px);
}
.banner-icon {
    font-size: 1.4rem;
}
.banner-text {
    font-size: 1.1rem;
    color: #1c2b20;
    line-height: 1.4;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1c2b20;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: #ffffff;
    border: 1px solid #9bb5a1;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #1c2b20;
    transition: border-color 0.3s ease;
}
.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2b4f35;
    box-shadow: 0 0 0 3px rgba(43, 79, 53, 0.15);
}

.presence-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.4rem;
}
@media (min-width: 576px) {
    .presence-options {
        flex-direction: row;
    }
}

.ballot-choice-card {
    flex: 1;
    cursor: pointer;
}

.ballot-choice-card input[type="radio"] {
    display: none;
}

.choice-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: #ffffff;
    border: 2px solid #9bb5a1;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.ballot-checkbox {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: 2px solid #4a6b53;
    border-radius: 4px;
    background: #f4f9f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.2s ease;
}

.choice-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.choice-main {
    font-size: 0.95rem;
    font-weight: 700;
    color: #122417;
    letter-spacing: 0.04em;
}

.choice-sub {
    font-size: 0.82rem;
    color: #4a6b53;
}

/* Hover & Selected States */
.ballot-choice-card:hover .choice-content {
    border-color: #2b4f35;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.ballot-choice-card input[type="radio"]:checked + .choice-content {
    background: #dceada;
    border-color: #1c3523;
    box-shadow: 0 4px 15px rgba(28, 53, 35, 0.15);
}

.ballot-choice-card input[type="radio"]:checked + .choice-content .ballot-checkbox {
    background: #1c3523;
    border-color: #1c3523;
}

.ballot-choice-card input[type="radio"]:checked + .choice-content .ballot-checkbox::after {
    content: "✓";
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
}

.deadline-notice {
    text-align: center;
    background: rgba(43, 79, 53, 0.08);
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #1e3624;
}

.btn-submit {
    width: 100%;
    margin-top: 0.5rem;
    background: #2b4f35;
    color: #ffffff;
    border: 1px solid #1c3523;
    box-shadow: 0 4px 15px rgba(43, 79, 53, 0.4);
}
.btn-submit:hover {
    background: #1e3825;
    box-shadow: 0 6px 20px rgba(43, 79, 53, 0.6);
}

#ballot-paper-form-wrapper.hidden {
    display: none !important;
}

.rsvp-result-message {
    text-align: center;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
.rsvp-result-message.hidden {
    display: none !important;
}
.result-text {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    color: #122417;
    line-height: 1.4;
}

.video-wrapper {
    width: 100%;
    max-width: 600px;
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(43, 79, 53, 0.2);
    border: 2px solid var(--color-ballot-border);
    background: #000000;
}

.success-video-player {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    object-fit: contain;
}

/* ==========================================
   CHARITY OVERLAY MODAL
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    box-sizing: border-box;
    opacity: 1;
    transition: opacity 0.4s ease;
}
.modal-overlay.hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.modal-card {
    position: relative;
    z-index: 2;
    background: var(--color-bg-alt);
    border: 2px solid var(--color-gold);
    max-width: 480px;
    width: 100%;
    margin: auto;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 40px rgba(201, 168, 76, 0.2);
    box-sizing: border-box;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: transparent;
    border: none;
    color: var(--color-gold);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 0.8rem;
}

.modal-divider {
    width: 80px;
    height: 1px;
    background: var(--color-gold);
    margin: 0 auto 1.5rem auto;
}

.modal-text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}
.modal-text strong {
    color: var(--color-gold);
}

.modal-actions {
    margin-top: 2rem;
}

/* ==========================================
   FOOTER & ADMIN PANEL
   ========================================== */
.footer-section {
    text-align: center;
    padding: 4rem 1.5rem 3rem;
    position: relative;
    z-index: 2;
}

.footer-divider {
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-border), transparent);
    margin: 0 auto 2rem auto;
}

.footer-date {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.footer-monade {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.footer-monade a {
    color: var(--color-text);
    text-decoration: underline;
}

.footer-ornament {
    margin-top: 1.5rem;
    color: var(--color-gold);
    font-size: 1.4rem;
    cursor: pointer;
    user-select: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.footer-ornament:hover {
    opacity: 1;
}

/* Admin Panel Modal */
.admin-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1.5rem;
}
.admin-panel.hidden {
    display: none;
}

.admin-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
}

.admin-content {
    position: relative;
    z-index: 2;
    background: #141418;
    border: 1px solid var(--color-gold);
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    padding: 2.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
}

.admin-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--color-gold);
    font-size: 2rem;
    cursor: pointer;
}

.admin-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-gold);
    text-align: center;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.admin-stats {
    display: flex;
    gap: 2rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}

.stat-count {
    font-weight: bold;
}

.admin-table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}
.admin-table th, .admin-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-table th {
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

/* Global utility for hiding elements */
.hidden {
    display: none !important;
}

.admin-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Scroll reveal helper */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   MOBILE & TABLET RESPONSIVE OVERRIDES
   ========================================== */
@media (max-width: 768px) {
    .top-propaganda-bar {
        font-size: 0.78rem;
        letter-spacing: 0.12em;
        padding: 0.45rem 0.6rem;
    }

    .section-container {
        padding: 3.5rem 1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-section {
        padding: 2rem 1rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-slogan {
        font-size: 1.0rem;
    }

    .hero-details {
        font-size: 1.05rem;
        background: transparent;
        border: none;
        padding: 0.5rem 0;
        box-shadow: none;
    }

    .hero-cta {
        width: 100%;
        font-size: 1rem;
        padding: 0.9rem 1rem;
    }

    .santino-frame {
        max-width: 320px;
        padding: 1rem;
    }

    .program-card {
        padding: 1.8rem 1.2rem;
    }

    .logistics-content {
        padding: 1.5rem 1rem;
    }

    .ballot-paper {
        padding: 1.8rem 1.2rem;
        border-width: 2px;
    }

    .ballot-header h3 {
        font-size: 1.6rem;
    }

    .form-group input[type="text"],
    .form-group textarea {
        font-size: 16px !important; /* Prevents iOS Safari auto-zoom */
        padding: 0.8rem;
    }

    .choice-content {
        padding: 1rem;
        gap: 0.75rem;
    }

    .choice-main {
        font-size: 0.9rem;
    }

    .choice-sub {
        font-size: 0.78rem;
    }

    .modal-card {
        padding: 2rem 1.2rem;
        width: 92%;
        max-height: 85vh;
        overflow-y: auto;
    }

    .modal-title {
        font-size: 1.7rem;
    }

    .modal-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .top-propaganda-bar {
        font-size: 0.68rem;
        letter-spacing: 0.08em;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .santino-frame {
        max-width: 280px;
    }
}
