/* ============================================
   Festive Scoops — Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Mountains+of+Christmas:wght@400;700&family=Nunito:wght@400;600;700;800&display=swap');

:root {
    --red: #C62828;
    --red-dark: #8B1A1A;
    --red-light: #EF5350;
    --green: #2E7D32;
    --green-dark: #1B5E20;
    --green-light: #4CAF50;
    --gold: #FFD700;
    --gold-dark: #F9A825;
    --white: #FFFFFF;
    --cream: #FFF8E7;
    --dark: #1A0A0A;
    --shadow: rgba(0,0,0,0.3);
    --font-festive: 'Mountains of Christmas', cursive;
    --font-body: 'Nunito', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: #0D0D0D;
    color: var(--white);
    overflow-x: hidden;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5' fill='%23C62828'/%3E%3Ccircle cx='12' cy='12' r='2' fill='%23FFD700'/%3E%3C/svg%3E") 12 12, auto;
}

/* ===== LIGHTS STRIP ===== */
.lights-strip {
    background: var(--dark);
    padding: 8px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--green-dark);
}

.lights-wire {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--dark) 0%, #333 50%, var(--dark) 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 0;
}

.lights-row {
    display: flex;
    width: 100%;
    position: relative;
}

.lights-row::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    height: 3px;
    background: #444;
    transform: translateY(-50%);
    z-index: 0;
}

.bulb-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.bulb-wire {
    width: 2px;
    height: 12px;
    background: #555;
}

.bulb {
    width: 14px;
    height: 20px;
    border-radius: 50% 50% 45% 45%;
    position: relative;
    animation: bulb-glow 1.5s ease-in-out infinite alternate;
}

.bulb::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 5px;
    background: #888;
    border-radius: 2px 2px 0 0;
}

.bulb.red    { background: #e53935; box-shadow: 0 0 8px 3px rgba(229,57,53,0.6); animation-delay: 0s; }
.bulb.green  { background: #43a047; box-shadow: 0 0 8px 3px rgba(67,160,71,0.6); animation-delay: 0.3s; }
.bulb.gold   { background: #FFD700; box-shadow: 0 0 8px 3px rgba(255,215,0,0.6); animation-delay: 0.6s; }
.bulb.blue   { background: #1e88e5; box-shadow: 0 0 8px 3px rgba(30,136,229,0.6); animation-delay: 0.9s; }

@keyframes bulb-glow {
    from { opacity: 0.5; filter: brightness(0.7); }
    to   { opacity: 1;   filter: brightness(1.3); }
}

/* ===== HEADER ===== */
.site-header {
    background: linear-gradient(135deg, var(--red-dark) 0%, var(--dark) 50%, var(--green-dark) 100%);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--gold);
}

.site-logo {
    font-family: var(--font-festive);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-decoration: none;
}

.site-logo span { color: var(--white); }

.music-toggle {
    background: rgba(255,255,255,0.15);
    border: 2px solid var(--gold);
    border-radius: 50px;
    padding: 8px 16px;
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.music-toggle:hover { background: rgba(255,215,0,0.2); }

/* ===== HERO ===== */
.hero {
    background: linear-gradient(180deg, #1a0a0a 0%, #0d1a0d 50%, #1a0d00 100%);
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.hero-tree {
    font-size: 120px;
    line-height: 1;
    margin-bottom: 20px;
    animation: tree-sway 4s ease-in-out infinite;
    display: block;
}

@keyframes tree-sway {
    0%, 100% { transform: rotate(-2deg); }
    50%       { transform: rotate(2deg); }
}

.hero h1 {
    font-family: var(--font-festive);
    font-size: clamp(36px, 8vw, 72px);
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 30px rgba(255,215,0,0.5), 2px 2px 0 var(--red-dark);
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-sub {
    font-size: clamp(16px, 3vw, 22px);
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    max-width: 500px;
}

.btn-hero {
    display: inline-block;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border: 3px solid var(--gold);
    color: var(--white);
    font-family: var(--font-festive);
    font-size: 28px;
    font-weight: 700;
    padding: 16px 48px;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(198,40,40,0.5), 0 0 0 0 rgba(255,215,0,0.4);
    transition: all 0.2s;
    animation: pulse-btn 2s ease-in-out infinite;
}

.btn-hero:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 40px rgba(198,40,40,0.7);
}

@keyframes pulse-btn {
    0%, 100% { box-shadow: 0 8px 30px rgba(198,40,40,0.5), 0 0 0 0 rgba(255,215,0,0.6); }
    50%       { box-shadow: 0 8px 30px rgba(198,40,40,0.5), 0 0 0 12px rgba(255,215,0,0); }
}

/* ===== SNOW ===== */
.snowflake {
    position: fixed;
    top: -20px;
    color: var(--white);
    font-size: 1em;
    pointer-events: none;
    z-index: 9999;
    animation: snowfall linear infinite;
    opacity: 0.8;
}

@keyframes snowfall {
    0%   { transform: translateY(-20px) rotate(0deg); opacity: 0.8; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* ===== LIVE STREAM NOTICE ===== */
.live-notice {
    background: linear-gradient(90deg, var(--red-dark), var(--red), var(--red-dark));
    padding: 16px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    font-size: 16px;
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
}

.live-badge {
    background: var(--white);
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    animation: live-pulse 1s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.6; }
}

/* ===== CANDY CANE DIVIDER ===== */
.candy-divider {
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        var(--red) 0px, var(--red) 20px,
        var(--white) 20px, var(--white) 40px
    );
    border: none;
    margin: 0;
}

/* ===== SECTION WRAPPER ===== */
.section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-festive);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    color: var(--gold);
    text-align: center;
    margin-bottom: 8px;
    text-shadow: 1px 1px 0 var(--red-dark);
}

.section-sub {
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    margin-bottom: 40px;
}

/* ===== PRODUCT CARDS ===== */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); max-width: 1000px; }
}

.product-card {
    background: linear-gradient(145deg, #1a0a00, #2a1500);
    border: 2px solid var(--gold);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--gold), var(--green));
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(255,215,0,0.2);
}

.product-card.featured {
    border-color: var(--gold);
    background: linear-gradient(145deg, #1a0500, #3a1000);
    box-shadow: 0 0 30px rgba(255,215,0,0.15);
}

.featured-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--gold);
    color: var(--dark);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 0 0 8px 8px;
}

.product-emoji {
    font-size: 56px;
    margin-bottom: 12px;
    display: block;
}

.product-name {
    font-family: var(--font-festive);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
}

.product-beads {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 14px;
}

.product-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-price {
    font-family: var(--font-festive);
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.product-price-sub { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 20px; }

/* ===== ADDON CARD ===== */
.addon-card {
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(255,255,255,0.05);
    margin-top: 12px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
}

.addon-card:hover { border-color: rgba(255,215,0,0.4); background: rgba(255,215,0,0.05); }
.addon-card.selected { border-color: var(--gold); background: rgba(255,215,0,0.1); }

.addon-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid var(--gold);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    background: rgba(0,0,0,0.3);
    transition: background 0.2s;
}

.addon-card.selected .addon-checkbox { background: var(--gold); color: var(--dark); }

.addon-label { font-size: 14px; font-weight: 700; color: var(--white); }
.addon-price { font-size: 13px; color: var(--gold); margin-top: 2px; }

/* ===== BUY BUTTON ===== */
.btn-buy {
    width: 100%;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border: 2px solid var(--gold);
    color: var(--white);
    font-family: var(--font-festive);
    font-size: 22px;
    font-weight: 700;
    padding: 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(198,40,40,0.5);
}

/* ===== TOTAL DISPLAY ===== */
.total-display {
    text-align: center;
    margin-bottom: 16px;
    min-height: 28px;
}

.total-amount {
    font-family: var(--font-festive);
    font-size: 24px;
    color: var(--gold);
}

/* ===== HOW IT WORKS ===== */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

@media (min-width: 600px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
}

.step-num {
    width: 48px;
    height: 48px;
    background: var(--red);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-festive);
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    margin: 0 auto 14px;
}

.step-emoji { font-size: 32px; display: block; margin-bottom: 10px; }
.step-title { font-weight: 800; color: var(--gold); margin-bottom: 6px; }
.step-text  { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; }

/* ===== LIVE ORDERS FEED ===== */
.live-feed-wrapper {
    background: rgba(0,0,0,0.5);
    border: 2px solid var(--green);
    border-radius: 20px;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

.live-feed-header {
    background: linear-gradient(90deg, var(--green-dark), var(--green));
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 14px;
}

.live-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #76ff03;
    animation: live-pulse 1s ease-in-out infinite;
    flex-shrink: 0;
}

.feed-list {
    padding: 12px;
    min-height: 200px;
    max-height: 350px;
    overflow-y: auto;
}

.feed-item {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
    animation: slide-in 0.4s ease;
    background: rgba(255,255,255,0.05);
    border-left: 3px solid var(--green);
}

.feed-item.live-pack {
    background: rgba(255,215,0,0.08);
    border-left-color: var(--gold);
}

.feed-name { font-weight: 800; color: var(--gold); }

@keyframes slide-in {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ===== CHECKOUT PAGE ===== */
.checkout-container {
    max-width: 540px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

.checkout-title {
    font-family: var(--font-festive);
    font-size: 36px;
    color: var(--gold);
    text-align: center;
    margin-bottom: 24px;
}

.order-summary {
    background: rgba(255,255,255,0.05);
    border: 2px solid var(--gold);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.order-summary-row:last-child { border-bottom: none; }
.order-summary-row.total { font-weight: 800; font-size: 20px; color: var(--gold); padding-top: 12px; }

.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input, .form-textarea {
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.2s;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.12);
}

.form-textarea { resize: vertical; min-height: 90px; }

.addon-checkout {
    background: rgba(255,215,0,0.08);
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
}

#paypal-button-container { margin-top: 24px; }

/* ===== CONFIRMATION PAGE ===== */
.confirmation-container {
    max-width: 540px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    text-align: center;
}

.confirmation-icon { font-size: 80px; display: block; margin-bottom: 20px; }

.confirmation-title {
    font-family: var(--font-festive);
    font-size: 42px;
    color: var(--gold);
    margin-bottom: 12px;
}

.confirmation-card {
    background: rgba(255,255,255,0.05);
    border: 2px solid var(--green);
    border-radius: 16px;
    padding: 24px;
    margin-top: 30px;
    text-align: left;
}

.confirmation-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.confirmation-row:last-child { border-bottom: none; }
.confirmation-row strong { color: var(--gold); }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark);
    border-top: 3px solid var(--gold);
    padding: 30px 20px;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-festive);
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 10px;
}

.footer-text {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    line-height: 1.7;
}

/* ===== ADMIN STYLES ===== */
.admin-body {
    background: #0f0f0f;
    font-family: var(--font-body);
    color: #e0e0e0;
}

.admin-nav {
    background: #1a0505;
    border-bottom: 2px solid var(--gold);
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.admin-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s, background 0.2s;
    border-bottom: 3px solid transparent;
}

.admin-nav a:hover, .admin-nav a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.admin-nav .nav-brand {
    font-family: var(--font-festive);
    font-size: 22px;
    color: var(--gold);
    margin-right: auto;
    border-bottom: none;
}

.admin-content { padding: 30px 20px; max-width: 1200px; margin: 0 auto; }

.admin-title {
    font-family: var(--font-festive);
    font-size: 32px;
    color: var(--gold);
    margin-bottom: 24px;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.stat-card {
    background: #1a1a1a;
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 12px;
    padding: 20px;
}

.stat-label {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-value {
    font-family: var(--font-festive);
    font-size: 32px;
    color: var(--gold);
    font-weight: 700;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
}

.admin-table th {
    background: #2a0505;
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gold);
}

.admin-table td {
    padding: 12px 16px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.admin-table tr:hover td { background: rgba(255,215,0,0.03); }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
}

.badge-paid    { background: rgba(46,125,50,0.25); color: #69f0ae; border: 1px solid rgba(46,125,50,0.5); }
.badge-pending { background: rgba(255,215,0,0.15); color: var(--gold); border: 1px solid rgba(255,215,0,0.4); }
.badge-packed  { background: rgba(30,136,229,0.2); color: #64b5f6; border: 1px solid rgba(30,136,229,0.5); }
.badge-live    { background: rgba(255,215,0,0.2); color: var(--gold); border: 1px solid var(--gold); animation: live-pulse 1s infinite; }
.badge-cancelled { background: rgba(198,40,40,0.2); color: #ef9a9a; border: 1px solid rgba(198,40,40,0.5); }

.admin-btn {
    background: transparent;
    border: 1px solid rgba(255,215,0,0.4);
    color: var(--gold);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-btn:hover { background: rgba(255,215,0,0.1); border-color: var(--gold); }
.admin-btn.green { border-color: rgba(46,125,50,0.5); color: #69f0ae; }
.admin-btn.green:hover { background: rgba(46,125,50,0.15); }
.admin-btn.danger { border-color: rgba(198,40,40,0.5); color: #ef9a9a; }
.admin-btn.danger:hover { background: rgba(198,40,40,0.15); }

.admin-form-input, .admin-form-select, .admin-form-textarea {
    background: #2a2a2a;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 9px 12px;
    color: #e0e0e0;
    font-family: var(--font-body);
    font-size: 14px;
    width: 100%;
    transition: border-color 0.2s;
}

.admin-form-input:focus, .admin-form-select:focus, .admin-form-textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.admin-form-group { margin-bottom: 18px; }
.admin-form-label { display: block; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.5); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }

.admin-save-btn {
    background: var(--green);
    border: none;
    color: var(--white);
    padding: 10px 24px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
}
.admin-save-btn:hover { background: var(--green-light); }

/* ===== LIVE ORDERS ADMIN ===== */
.live-order-item {
    background: #1a1a1a;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: all 0.3s;
    animation: order-in 0.4s ease;
}

.live-order-item.live { border-color: var(--gold); background: rgba(255,215,0,0.04); }
.live-order-item.new  { border-color: var(--green-light); }

@keyframes order-in {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== ALERTS ===== */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.alert-success { background: rgba(46,125,50,0.2); border: 1px solid var(--green); color: #a5d6a7; }
.alert-error   { background: rgba(198,40,40,0.2); border: 1px solid var(--red); color: #ef9a9a; }

/* ===== CONFETTI ===== */
.confetti-piece {
    position: fixed;
    width: 10px; height: 10px;
    pointer-events: none;
    z-index: 9999;
    animation: confetti-fall 3s ease-in forwards;
}

@keyframes confetti-fall {
    0%   { opacity: 1; transform: translateY(0) rotate(0deg); }
    100% { opacity: 0; transform: translateY(100vh) rotate(720deg); }
}

/* ===== STICKY BUY BUTTON ===== */
.sticky-buy {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--dark);
    border-top: 2px solid var(--gold);
    padding: 12px 20px;
    z-index: 200;
}

@media (max-width: 767px) { .sticky-buy { display: block; } }

/* ===== LOGIN ===== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: #1a0505;
    border: 2px solid var(--gold);
    border-radius: 20px;
    padding: 40px 32px;
    width: 100%;
    max-width: 380px;
    text-align: center;
}

.login-title {
    font-family: var(--font-festive);
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 8px;
}

.login-sub { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 28px; }

.login-btn {
    width: 100%;
    background: var(--red);
    border: 2px solid var(--gold);
    color: var(--white);
    font-family: var(--font-festive);
    font-size: 22px;
    padding: 12px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
}

.login-btn:hover { background: var(--red-light); transform: translateY(-2px); }

/* ===== UTILS ===== */
.text-gold { color: var(--gold); }
.text-muted { color: rgba(255,255,255,0.5); }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.w-full { width: 100%; }

/* ===== SLOTS NOTICE ===== */
.slots-notice {
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.4);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    text-align: center;
    margin-bottom: 12px;
    animation: live-pulse 1.5s ease-in-out infinite;
}
