/* ============================================
   GIVEAWAY PAGE v3 — Premium gaming lootbox feel
   ============================================ */

.giveaway-page {
    min-height: 100vh;
    padding: 0;
    position: relative;
    overflow: hidden;
    background: #0a0c10 !important;
}

/* Animated background */
.giveaway-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.07) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
                #0a0c10 !important;
}

.giveaway-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}
.giveaway-orb-1 { width: 400px; height: 400px; background: rgba(0,212,255,0.12) !important; top: -100px; left: -100px; animation: ga-f1 8s ease-in-out infinite alternate; }
.giveaway-orb-2 { width: 300px; height: 300px; background: rgba(168,85,247,0.1) !important; bottom: -50px; right: -50px; animation: ga-f2 10s ease-in-out infinite alternate; }
.giveaway-orb-3 { width: 200px; height: 200px; background: rgba(0,212,255,0.08) !important; top: 40%; right: 20%; animation: ga-f3 6s ease-in-out infinite alternate; }
@keyframes ga-f1 { 0% { transform: translate(0,0); } 100% { transform: translate(60px,40px); } }
@keyframes ga-f2 { 0% { transform: translate(0,0); } 100% { transform: translate(-40px,-60px); } }
@keyframes ga-f3 { 0% { transform: translate(0,0); } 100% { transform: translate(-30px,30px); } }

.giveaway-content {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* ===== HERO BANNER ===== */
.giveaway-hero-banner {
    position: relative;
    z-index: 1;
    padding: 60px 24px 48px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 32px;
}

.giveaway-hero-inner {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.giveaway-hero-text {
    text-align: left;
}

.giveaway-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.giveaway-badge.live {
    background: rgba(0,212,255,0.1) !important;
    color: #00d4ff !important;
    border: 1px solid rgba(0,212,255,0.2) !important;
}
.giveaway-badge.live::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #00d4ff !important;
    animation: ga-dot 1.5s ease-in-out infinite;
}
@keyframes ga-dot { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.3; transform:scale(0.6); } }
.giveaway-badge.ended {
    background: rgba(255,255,255,0.05) !important;
    color: rgba(255,255,255,0.35) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}

.giveaway-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: #ffffff !important;
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -1px;
}
.giveaway-title-accent {
    background: linear-gradient(135deg, #00d4ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.giveaway-subtitle {
    color: rgba(255,255,255,0.45) !important;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 420px;
}

.giveaway-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Chest visual */
.giveaway-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.giveaway-chest-wrap {
    position: relative;
    width: 260px;
    height: 240px;
}

.giveaway-chest-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 40px rgba(0,212,255,0.2)) drop-shadow(0 0 80px rgba(168,85,247,0.1));
    animation: ga-chest-float 4s ease-in-out infinite;
}

@keyframes ga-chest-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== BUTTONS ===== */
.giveaway-discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff !important;
    background: linear-gradient(135deg, #5865F2, #4752c4) !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(88,101,242,0.3);
}
.giveaway-discord-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(88,101,242,0.45);
}

.giveaway-enter-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff !important;
    background: linear-gradient(135deg, #00d4ff, #0a7ea4) !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}
.giveaway-enter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,212,255,0.45);
}
.giveaway-enter-btn:disabled, .giveaway-discord-btn:disabled {
    opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none;
}

.giveaway-entered-pill {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    background: rgba(34,197,94,0.1) !important;
    color: #22c55e !important;
    border: 1px solid rgba(34,197,94,0.2) !important;
}

/* ===== SUCCESS CARD + CONFETTI ===== */
.giveaway-success-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(34,197,94,0.08), rgba(0,212,255,0.04)) !important;
    border: 1px solid rgba(34,197,94,0.2) !important;
    border-radius: 16px;
    padding: 40px 32px 32px;
    text-align: center;
    min-width: 320px;
    animation: ga-success-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.giveaway-success-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #00d4ff);
    border-radius: 16px 16px 0 0;
}
@keyframes ga-success-in {
    0% { opacity: 0; transform: scale(0.9) translateY(10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.giveaway-success-check {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(34,197,94,0.12) !important;
    border: 2px solid rgba(34,197,94,0.3) !important;
    display: inline-flex; align-items: center; justify-content: center;
    color: #22c55e !important;
    margin-bottom: 16px;
    animation: ga-check-pop 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
@keyframes ga-check-pop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.giveaway-success-title {
    font-size: 1.6rem; font-weight: 900; color: #22c55e !important;
    margin-bottom: 4px; letter-spacing: -0.5px;
}
.giveaway-success-name {
    font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.6) !important;
    margin-bottom: 8px;
}
.giveaway-success-sub {
    font-size: 0.78rem; color: rgba(255,255,255,0.3) !important; line-height: 1.5;
}

/* Confetti */
.giveaway-confetti-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}
.giveaway-confetti-piece {
    position: absolute;
    width: 8px; height: 8px;
    top: -10px;
    left: calc(2% + (var(--ci) * 2.4%));
    border-radius: 2px;
    opacity: 0;
    animation: ga-confetti-fall 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) calc(var(--ci) * 0.05s) forwards;
}
.giveaway-confetti-piece:nth-child(5n+1) { background: #22c55e !important; width: 6px; height: 10px; }
.giveaway-confetti-piece:nth-child(5n+2) { background: #00d4ff !important; width: 8px; height: 6px; border-radius: 50%; }
.giveaway-confetti-piece:nth-child(5n+3) { background: #a855f7 !important; width: 5px; height: 12px; }
.giveaway-confetti-piece:nth-child(5n+4) { background: #facc15 !important; width: 7px; height: 7px; border-radius: 50%; }
.giveaway-confetti-piece:nth-child(5n+5) { background: #f472b6 !important; width: 9px; height: 5px; }

@keyframes ga-confetti-fall {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(280px) rotate(calc(360deg + var(--ci) * 45deg)) scale(0.4);
    }
}

/* ===== USER STRIP ===== */
.giveaway-user-strip {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.03) !important;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding: 10px 24px;
}
.giveaway-user-strip-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}
.giveaway-user-avatar { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(0,212,255,0.3) !important; }
.giveaway-user-name { font-weight: 600; color: #ffffff !important; font-size: 0.85rem; }
.giveaway-guild-badge {
    font-size: 0.6rem; padding: 2px 8px; border-radius: 10px; font-weight: 700;
    background: rgba(34,197,94,0.1) !important; color: #22c55e !important; border: 1px solid rgba(34,197,94,0.2) !important;
}
.giveaway-join-hint-inline {
    font-size: 0.75rem; color: rgba(255,255,255,0.3) !important; margin-left: auto;
}

/* Messages */
.giveaway-success {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(34,197,94,0.08) !important; border: 1px solid rgba(34,197,94,0.2) !important;
    border-radius: 10px; padding: 14px 24px; color: #22c55e !important; font-weight: 600; font-size: 0.9rem;
}
.giveaway-error {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(239,68,68,0.08) !important; border: 1px solid rgba(239,68,68,0.2) !important;
    border-radius: 10px; padding: 14px 24px; color: #ef4444 !important; font-weight: 600; font-size: 0.9rem;
}

/* ===== INFO ROW (stats + countdown) ===== */
.giveaway-info-row {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}
.giveaway-info-card {
    background: rgba(255,255,255,0.02) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
}
.giveaway-info-card:hover {
    border-color: rgba(255,255,255,0.1) !important;
}
.giveaway-info-label {
    font-size: 0.6rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    color: rgba(255,255,255,0.3) !important; margin-bottom: 10px;
}
.giveaway-info-value {
    font-size: 1.8rem; font-weight: 900; font-variant-numeric: tabular-nums;
}
.giveaway-info-cyan { color: #00d4ff !important; }
.giveaway-info-purple { color: #a855f7 !important; }

/* Countdown card — the star */
.giveaway-countdown-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(0,212,255,0.04), rgba(168,85,247,0.03)) !important;
    border-color: rgba(0,212,255,0.12) !important;
    position: relative;
    width: 100%;
    max-width: 520px;
}
.giveaway-countdown-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #a855f7);
    border-radius: 16px 16px 0 0;
    opacity: 0.7;
}
.giveaway-countdown-card::after {
    content: '';
    position: absolute;
    top: -40px; left: 50%; transform: translateX(-50%);
    width: 200px; height: 80px;
    background: radial-gradient(ellipse, rgba(0,212,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.giveaway-countdown { display: flex; align-items: center; gap: 6px; }
.giveaway-cd-unit {
    text-align: center;
    min-width: 52px;
    background: rgba(0,0,0,0.25) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 10px;
    padding: 10px 8px 6px;
}
.giveaway-cd-num {
    font-size: 2rem; font-weight: 900; color: #ffffff !important;
    display: block; font-variant-numeric: tabular-nums; line-height: 1;
    animation: ga-num-tick 1s ease-in-out infinite;
}
@keyframes ga-num-tick {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}
.giveaway-cd-lbl {
    font-size: 0.5rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: rgba(255,255,255,0.2) !important; margin-top: 2px;
}
.giveaway-cd-sep {
    font-size: 1.2rem; font-weight: 900;
    background: linear-gradient(180deg, #00d4ff, #a855f7);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    padding: 0 1px;
    animation: ga-sep-blink 1s step-end infinite;
}
@keyframes ga-sep-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ===== INCLUDES GRID ===== */
.giveaway-includes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 48px;
}

.giveaway-includes-item {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 12px;
    padding: 24px 18px;
    text-align: center;
    transition: all 0.2s;
}
.giveaway-includes-item:hover {
    border-color: rgba(0,212,255,0.12) !important;
}

.giveaway-includes-title {
    font-size: 0.9rem; font-weight: 700; color: #ffffff !important; margin-bottom: 6px;
}
.giveaway-includes-desc {
    font-size: 0.75rem; color: rgba(255,255,255,0.35) !important; line-height: 1.5;
}

/* ===== SECTION TITLE ===== */
.giveaway-section-title {
    font-size: 0.65rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
    color: rgba(255,255,255,0.25) !important; text-align: center; margin-bottom: 20px;
}

/* ===== STEPS ===== */
.giveaway-steps {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 48px;
}
.giveaway-step {
    background: rgba(255,255,255,0.03) !important; border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 14px; padding: 28px 20px; text-align: center; transition: all 0.2s;
}
.giveaway-step:hover { border-color: rgba(0,212,255,0.12) !important; }
.giveaway-step-num {
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(0,212,255,0.08) !important; border: 1px solid rgba(0,212,255,0.15) !important;
    color: #00d4ff !important; font-weight: 800; font-size: 0.85rem;
    display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.giveaway-step-title { font-size: 0.9rem; font-weight: 700; color: #ffffff !important; margin-bottom: 6px; }
.giveaway-step-desc { font-size: 0.78rem; color: rgba(255,255,255,0.35) !important; line-height: 1.5; }

/* ===== ENTRANTS ===== */
.giveaway-entrants-section { text-align: center; margin-bottom: 48px; }
.giveaway-avatar-stack { display: flex; justify-content: center; margin-bottom: 8px; }
.giveaway-avatar-stack img {
    width: 34px; height: 34px; border-radius: 50%; border: 2px solid #0a0c10 !important;
    margin-left: -8px; transition: transform 0.2s;
}
.giveaway-avatar-stack img:first-child { margin-left: 0; }
.giveaway-avatar-stack img:hover { transform: scale(1.15); z-index: 1; }
.giveaway-avatar-more {
    width: 34px; height: 34px; border-radius: 50%; border: 2px solid #0a0c10 !important;
    margin-left: -8px; background: rgba(255,255,255,0.06) !important; color: rgba(255,255,255,0.4) !important;
    font-size: 0.6rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.giveaway-entrants-text { color: rgba(255,255,255,0.25) !important; font-size: 0.78rem; }

/* ===== FOOTER CTA ===== */
.giveaway-footer-cta {
    background: linear-gradient(135deg, rgba(0,212,255,0.05), rgba(168,85,247,0.03)) !important;
    border: 1px solid rgba(0,212,255,0.1) !important;
    border-radius: 16px; padding: 32px; text-align: center;
}
.giveaway-footer-cta-text {
    color: rgba(255,255,255,0.5) !important; font-size: 0.9rem; margin-bottom: 16px;
}
.giveaway-footer-cta-text strong { color: #ffffff !important; }

/* ===== PLACEHOLDER AVATARS ===== */
.giveaway-avatar-placeholder {
    width: 34px; height: 34px; border-radius: 50%; border: 2px solid #0a0c10 !important;
    margin-left: -8px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: 700; color: #ffffff !important; flex-shrink: 0;
}
.giveaway-avatar-placeholder:first-child { margin-left: 0; }

/* ===== PRIVACY SECTION ===== */
.giveaway-privacy-section { margin-bottom: 48px; }
.giveaway-privacy-card {
    display: flex; flex-direction: column; gap: 0;
    background: rgba(255,255,255,0.02) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 14px; overflow: hidden;
}
.giveaway-privacy-item {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.giveaway-privacy-item:last-child { border-bottom: none; }
.giveaway-privacy-icon {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 8px;
    background: rgba(0,212,255,0.06) !important; border: 1px solid rgba(0,212,255,0.1) !important;
    display: flex; align-items: center; justify-content: center;
    color: #00d4ff !important;
}
.giveaway-privacy-title { font-size: 0.85rem; font-weight: 700; color: #ffffff !important; margin-bottom: 3px; }
.giveaway-privacy-desc { font-size: 0.78rem; color: rgba(255,255,255,0.35) !important; line-height: 1.6; }

/* ===== FAQ ===== */
.giveaway-faq { margin-bottom: 48px; }
.giveaway-faq-item {
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 12px; margin-bottom: 8px; overflow: hidden;
    background: rgba(255,255,255,0.02) !important;
}
.giveaway-faq-q {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 18px 20px; cursor: pointer; transition: background 0.15s;
    font-size: 0.9rem; font-weight: 600; color: #ffffff !important;
}
.giveaway-faq-q:hover { background: rgba(255,255,255,0.03) !important; }
.giveaway-faq-arrow { color: rgba(255,255,255,0.3) !important; transition: transform 0.2s; display: flex; }
.giveaway-faq-arrow.open { transform: rotate(180deg); }
.giveaway-faq-a {
    padding: 0 20px 18px; font-size: 0.82rem; color: rgba(255,255,255,0.4) !important; line-height: 1.7;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 14px;
}

/* ===== EMPTY STATE ===== */
.giveaway-empty-title { font-size: 1.4rem; font-weight: 800; color: rgba(255,255,255,0.5) !important; margin-bottom: 8px; }
.giveaway-empty-text { color: rgba(255,255,255,0.3) !important; font-size: 0.9rem; margin-bottom: 28px; }

/* ===== WINNER ===== */
.giveaway-winner-card {
    background: linear-gradient(135deg, rgba(168,85,247,0.08), rgba(0,212,255,0.04)) !important;
    border: 1px solid rgba(168,85,247,0.15) !important;
    border-radius: 14px; padding: 28px; text-align: center; margin-bottom: 32px;
    position: relative; overflow: hidden;
}
.giveaway-winner-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, #a855f7, transparent);
}
.giveaway-winner-label {
    font-size: 0.6rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
    color: rgba(255,255,255,0.3) !important; margin-bottom: 8px;
}
.giveaway-winner-name {
    font-size: 1.4rem; font-weight: 900;
    background: linear-gradient(135deg, #a855f7, #00d4ff);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ============================================
   LIGHT MODE
   ============================================ */
html[data-theme="light"] .giveaway-page { background: #f8f9fb !important; }
html[data-theme="light"] .giveaway-bg {
    background: radial-gradient(ellipse at 20% 50%, rgba(10,126,164,0.05) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(124,58,237,0.04) 0%, transparent 50%),
                #f8f9fb !important;
}
html[data-theme="light"] .giveaway-orb-1 { background: rgba(10,126,164,0.06) !important; }
html[data-theme="light"] .giveaway-orb-2 { background: rgba(124,58,237,0.05) !important; }
html[data-theme="light"] .giveaway-orb-3 { background: rgba(10,126,164,0.04) !important; }
html[data-theme="light"] .giveaway-hero-banner { border-bottom-color: rgba(0,0,0,0.06); }
html[data-theme="light"] .giveaway-badge.live { background: rgba(10,126,164,0.08) !important; color: #0a7ea4 !important; border-color: rgba(10,126,164,0.2) !important; }
html[data-theme="light"] .giveaway-badge.live::before { background: #0a7ea4 !important; }
html[data-theme="light"] .giveaway-badge.ended { background: rgba(0,0,0,0.04) !important; color: rgba(0,0,0,0.3) !important; border-color: rgba(0,0,0,0.08) !important; }
html[data-theme="light"] .giveaway-title { color: #1a1a2e !important; }
html[data-theme="light"] .giveaway-title-accent { background: linear-gradient(135deg, #0a7ea4, #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
html[data-theme="light"] .giveaway-subtitle { color: rgba(0,0,0,0.45) !important; }
html[data-theme="light"] .giveaway-user-strip { background: rgba(0,0,0,0.02) !important; border-bottom-color: rgba(0,0,0,0.06); }
html[data-theme="light"] .giveaway-user-name { color: #1a1a2e !important; }
html[data-theme="light"] .giveaway-user-avatar { border-color: rgba(10,126,164,0.3) !important; }
html[data-theme="light"] .giveaway-join-hint-inline { color: rgba(0,0,0,0.3) !important; }
html[data-theme="light"] .giveaway-info-card { background: rgba(255,255,255,0.8) !important; border-color: rgba(0,0,0,0.06) !important; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
html[data-theme="light"] .giveaway-info-label { color: rgba(0,0,0,0.3) !important; }
html[data-theme="light"] .giveaway-info-cyan { color: #0a7ea4 !important; }
html[data-theme="light"] .giveaway-info-purple { color: #7c3aed !important; }
html[data-theme="light"] .giveaway-countdown-card { background: linear-gradient(135deg, rgba(10,126,164,0.03), rgba(124,58,237,0.02)) !important; border-color: rgba(10,126,164,0.1) !important; }
html[data-theme="light"] .giveaway-countdown-card::before { background: linear-gradient(90deg, #0a7ea4, #7c3aed); }
html[data-theme="light"] .giveaway-countdown-card::after { background: radial-gradient(ellipse, rgba(10,126,164,0.05) 0%, transparent 70%); }
html[data-theme="light"] .giveaway-cd-unit { background: rgba(0,0,0,0.04) !important; border-color: rgba(0,0,0,0.06) !important; }
html[data-theme="light"] .giveaway-cd-num { color: #1a1a2e !important; }
html[data-theme="light"] .giveaway-cd-lbl { color: rgba(0,0,0,0.25) !important; }
html[data-theme="light"] .giveaway-cd-sep { background: linear-gradient(180deg, #0a7ea4, #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
html[data-theme="light"] .giveaway-includes-item { background: rgba(255,255,255,0.8) !important; border-color: rgba(0,0,0,0.06) !important; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
html[data-theme="light"] .giveaway-includes-title { color: #1a1a2e !important; }
html[data-theme="light"] .giveaway-includes-desc { color: rgba(0,0,0,0.35) !important; }
html[data-theme="light"] .giveaway-section-title { color: rgba(0,0,0,0.25) !important; }
html[data-theme="light"] .giveaway-step { background: rgba(255,255,255,0.8) !important; border-color: rgba(0,0,0,0.06) !important; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
html[data-theme="light"] .giveaway-step-num { background: rgba(10,126,164,0.06) !important; border-color: rgba(10,126,164,0.12) !important; color: #0a7ea4 !important; }
html[data-theme="light"] .giveaway-step-title { color: #1a1a2e !important; }
html[data-theme="light"] .giveaway-step-desc { color: rgba(0,0,0,0.35) !important; }
html[data-theme="light"] .giveaway-avatar-stack img { border-color: #f8f9fb !important; }
html[data-theme="light"] .giveaway-avatar-more { border-color: #f8f9fb !important; background: rgba(0,0,0,0.05) !important; color: rgba(0,0,0,0.35) !important; }
html[data-theme="light"] .giveaway-entrants-text { color: rgba(0,0,0,0.25) !important; }
html[data-theme="light"] .giveaway-footer-cta { background: linear-gradient(135deg, rgba(10,126,164,0.04), rgba(124,58,237,0.02)) !important; border-color: rgba(10,126,164,0.08) !important; }
html[data-theme="light"] .giveaway-footer-cta-text { color: rgba(0,0,0,0.45) !important; }
html[data-theme="light"] .giveaway-footer-cta-text strong { color: #1a1a2e !important; }
html[data-theme="light"] .giveaway-empty-title { color: rgba(0,0,0,0.45) !important; }
html[data-theme="light"] .giveaway-empty-text { color: rgba(0,0,0,0.3) !important; }
html[data-theme="light"] .giveaway-success { background: rgba(34,197,94,0.06) !important; border-color: rgba(34,197,94,0.15) !important; color: #16a34a !important; }
html[data-theme="light"] .giveaway-error { background: rgba(239,68,68,0.06) !important; border-color: rgba(239,68,68,0.15) !important; color: #dc2626 !important; }
html[data-theme="light"] .giveaway-entered-pill { background: rgba(34,197,94,0.06) !important; color: #16a34a !important; border-color: rgba(34,197,94,0.15) !important; }
html[data-theme="light"] .giveaway-success-card { background: linear-gradient(135deg, rgba(34,197,94,0.06), rgba(10,126,164,0.03)) !important; border-color: rgba(34,197,94,0.15) !important; }
html[data-theme="light"] .giveaway-success-card::before { background: linear-gradient(90deg, #16a34a, #0a7ea4); }
html[data-theme="light"] .giveaway-success-check { background: rgba(34,197,94,0.08) !important; border-color: rgba(34,197,94,0.2) !important; color: #16a34a !important; }
html[data-theme="light"] .giveaway-success-title { color: #16a34a !important; }
html[data-theme="light"] .giveaway-success-name { color: rgba(0,0,0,0.5) !important; }
html[data-theme="light"] .giveaway-success-sub { color: rgba(0,0,0,0.35) !important; }
html[data-theme="light"] .giveaway-winner-card { background: linear-gradient(135deg, rgba(124,58,237,0.05), rgba(10,126,164,0.03)) !important; border-color: rgba(124,58,237,0.12) !important; }
html[data-theme="light"] .giveaway-winner-label { color: rgba(0,0,0,0.3) !important; }

/* Light mode: placeholder avatars */
html[data-theme="light"] .giveaway-avatar-placeholder { border-color: #f8f9fb !important; }

/* Light mode: privacy */
html[data-theme="light"] .giveaway-privacy-card { background: rgba(255,255,255,0.8) !important; border-color: rgba(0,0,0,0.06) !important; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
html[data-theme="light"] .giveaway-privacy-item { border-bottom-color: rgba(0,0,0,0.04); }
html[data-theme="light"] .giveaway-privacy-icon { background: rgba(10,126,164,0.06) !important; border-color: rgba(10,126,164,0.1) !important; color: #0a7ea4 !important; }
html[data-theme="light"] .giveaway-privacy-title { color: #1a1a2e !important; }
html[data-theme="light"] .giveaway-privacy-desc { color: rgba(0,0,0,0.4) !important; }

/* Light mode: FAQ */
html[data-theme="light"] .giveaway-faq-item { background: rgba(255,255,255,0.8) !important; border-color: rgba(0,0,0,0.06) !important; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
html[data-theme="light"] .giveaway-faq-q { color: #1a1a2e !important; }
html[data-theme="light"] .giveaway-faq-q:hover { background: rgba(0,0,0,0.02) !important; }
html[data-theme="light"] .giveaway-faq-arrow { color: rgba(0,0,0,0.3) !important; }
html[data-theme="light"] .giveaway-faq-a { color: rgba(0,0,0,0.45) !important; border-top-color: rgba(0,0,0,0.04); }

/* Chest SVG in light mode */
html[data-theme="light"] .giveaway-chest-svg {
    filter: drop-shadow(0 0 30px rgba(10,126,164,0.15)) drop-shadow(0 0 60px rgba(124,58,237,0.08));
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 768px) {
    .giveaway-hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .giveaway-hero-text { text-align: center; }
    .giveaway-subtitle { margin-left: auto; margin-right: auto; }
    .giveaway-hero-actions { justify-content: center; }
    .giveaway-hero-visual { order: -1; }
    .giveaway-chest-wrap { width: 200px; height: 180px; }
    .giveaway-title { font-size: 2rem; }
    .giveaway-info-row > .giveaway-countdown-card { max-width: 100%; }
    .giveaway-cd-unit { min-width: 44px; }
    .giveaway-includes-grid { grid-template-columns: repeat(2, 1fr); }
    .giveaway-steps { grid-template-columns: 1fr; }
    .giveaway-content { padding: 0 16px 60px; }
    .giveaway-hero-banner { padding: 40px 16px 32px; }
    .giveaway-privacy-item { padding: 16px 18px; }
}

@media (max-width: 480px) {
    .giveaway-title { font-size: 1.6rem; }
    .giveaway-chest-wrap { width: 160px; height: 150px; }
    .giveaway-includes-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .giveaway-includes-item { padding: 18px 14px; }
    .giveaway-info-row { gap: 10px; }
    .giveaway-cd-num { font-size: 1.4rem; }
    .giveaway-discord-btn, .giveaway-enter-btn { padding: 14px 24px; font-size: 0.9rem; }
    .giveaway-privacy-item { flex-direction: column; gap: 10px; }
    .giveaway-faq-q { padding: 14px 16px; font-size: 0.85rem; }
    .giveaway-faq-a { padding: 0 16px 14px; font-size: 0.78rem; }
}
