:root {
    --bg: #1e3c72;
    --bg-deep: #2a5298;
    --card: rgba(255, 255, 255, 0.02);
    --card-hover: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.18);
    --text: #ffffff;
    --text-dim: #b8c5d6;
    --gold: #ffd700;
    --gold-glow: rgba(255, 215, 0, 0.4);
    --green: #4ade80;
    --accent: #667eea;
    --accent-2: #764ba2;
}

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

html {
    scroll-behavior: smooth;
}

a {
    color: var(--text);
    text-decoration: underline;
}

body {
    font-family: 'Fira Code', monospace;
    background: #1e3c72;
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ----- Floating festive background ----- */
@keyframes confettiFall {
    0%   { transform: translateY(-20px) rotate(0deg); }
    100% { transform: translateY(110vh) rotate(720deg); }
}

/* ----- Layout ----- */
.page {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(1rem, 4vw, 3rem) clamp(1rem, 4vw, 2.5rem) 4rem;
}

.footer-note i {
    color: var(--gold);
}

.banner {
    text-align: center;
    padding: clamp(0.75rem, 2.5vw, 1.5rem) clamp(1rem, 4vw, 2rem);
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--card);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    margin-bottom: 2.5rem;
}

.banner .banner-logo {
    width: clamp(80px, 20vw, 150px);
    height: clamp(80px, 20vw, 150px);
    margin: -12px auto -6px auto;
    transform: scale(calc(1.39 * 1.1));
}

.banner .logo-link {
    display: block;
    width: max-content;
    margin: 0 auto;
    line-height: 0;
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
    text-decoration: none;
}

.banner .site-title {
    margin: 0;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.banner .raffle-title {
    font-size: clamp(2rem, 7vw, 3.4rem);
    font-weight: 700;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.75rem;
}

.banner .tagline {
    font-size: clamp(0.95rem, 3vw, 1.15rem);
    color: var(--text);
}

/* ----- Stat cards ----- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.6rem 1.4rem;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.stat-card .stat-icon {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-dim);
    margin-bottom: 0.35rem;
}

.stat-card .stat-value {
    font-size: clamp(1.7rem, 5vw, 2.4rem);
    font-weight: 700;
    color: var(--text);
}

.stat-card .stat-note {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-top: 0.35rem;
}

/* ----- Sections ----- */
.section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.8rem 1.6rem;
    margin-bottom: 1.6rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.section h2 {
    font-size: clamp(1.15rem, 3vw, 1.4rem);
    color: var(--text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.section h2 i {
    color: var(--gold);
}

.section p {
    margin-bottom: 0.9rem;
    color: var(--text);
}

.section p:last-child {
    margin-bottom: 0;
}

.section ul {
    list-style: none;
    margin-left: 0.4rem;
}

.section li {
    padding-left: 1.6rem;
    position: relative;
    margin-bottom: 0.6rem;
    color: var(--text);
}

.entries-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    list-style: none;
    margin-left: 0;
}

.entries-list li {
    padding: 0.4rem 0.9rem;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
}

.entries-list li::before {
    display: none;
}

.section li::before {
    content: '•';
    position: absolute;
    left: 0.2rem;
    color: var(--gold);
    font-size: 1rem;
    top: 0.05rem;
}

.highlight {
    color: var(--text);
    font-weight: 700;
}

.tbd {
    color: var(--green);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.gold-num {
    color: var(--text);
    font-weight: 700;
    font-size: 1.15em;
}

.section .tiny {
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* ----- Footer note ----- */
.footer-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 2.5rem;
}

.footer-note a {
    color: var(--text);
    text-decoration: underline;
}

.footer-note a:hover {
    text-decoration: underline;
}

/* ----- Responsive ----- */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 1.4rem 1.1rem;
    }
}
