:root {
    --bg-dark: #070707;
    --glass-bg: rgba(20, 20, 20, 0.55);
    --glass-border: rgba(255, 50, 50, 0.15);
    --glass-glow: rgba(255, 50, 50, 0.2);
    
    --brand-red: #ff2a2a;
    --brand-red-dark: #cc0000;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background animated shapes for glassy effect */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: drift 20s infinite alternate linear;
}

.shape-red {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,42,42,0.15) 0%, rgba(0,0,0,0) 70%);
    top: -100px;
    right: -100px;
}

.shape-dark {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,0,0,0.05) 0%, rgba(0,0,0,0) 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 50px) scale(1.1); }
    100% { transform: translate(-20px, 20px) scale(0.9); }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography & Utils */
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 600; margin-bottom: 15px; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; }
p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 20px; }

.text-red { color: var(--brand-red); }
.text-green { color: #00e676; }
h1 span {
    background: linear-gradient(135deg, #ff6b6b, var(--brand-red));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass Basics */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 42, 42, 0.3);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 42, 42, 0.5);
}

.btn-copy {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-copy:hover {
    background: rgba(255, 42, 42, 0.1);
    border-color: var(--brand-red);
}

/* Header */
.glass-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 14px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

a.logo {
    font-size: 1.45rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-main);
    white-space: nowrap;
}
a.logo i { color: var(--brand-red); }
a.logo span { font-weight: 300; opacity: 0.8; }

#main-nav ul {
    list-style: none;
    display: flex;
    gap: 6px;
    align-items: center;
}

#main-nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.97rem;
    padding: 6px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

#main-nav a:hover {
    color: var(--brand-red);
    background: rgba(255, 42, 42, 0.06);
}

#main-nav a.nav-active {
    color: var(--brand-red);
    font-weight: 600;
    background: rgba(255, 42, 42, 0.1);
    border: 1px solid rgba(255, 42, 42, 0.2);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}
.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero Section */
.hero {
    margin: 40px auto;
    padding: 70px 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-red), transparent);
}

.hero-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

/* Left column */
.hero-text {
    flex: 1.1;
    min-width: 280px;
}

/* Animated badge above H1 */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 42, 42, 0.12);
    border: 1px solid rgba(255, 42, 42, 0.3);
    color: #ff8080;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 18px;
    animation: badgePulse 2.5s ease-in-out infinite;
}
.hero-badge i { color: #ffb347; }

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 42, 42, 0); }
    50%       { box-shadow: 0 0 12px 2px rgba(255, 42, 42, 0.2); }
}

/* Dual CTA row */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    padding: 13px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}
.btn-ghost:hover {
    background: rgba(88, 101, 242, 0.15);
    border-color: #5865F2;
    color: #fff;
    transform: translateY(-2px);
}
.btn-ghost i { color: #5865F2; }

/* Right column — stat cards grid */
.hero-graphic {
    flex: 0.9;
    min-width: 260px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hero-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.hero-stat-card:hover {
    background: rgba(255, 42, 42, 0.06);
    border-color: rgba(255, 42, 42, 0.22);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.hero-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 230, 118, 0.12);
    border: 1px solid rgba(0, 230, 118, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: #00e676;
}
.hero-stat-icon.orange {
    background: rgba(255, 179, 71, 0.12);
    border-color: rgba(255, 179, 71, 0.2);
    color: #ffb347;
}
.hero-stat-icon.blue {
    background: rgba(100, 181, 246, 0.12);
    border-color: rgba(100, 181, 246, 0.2);
    color: #64b5f6;
}
.hero-stat-icon.purple {
    background: rgba(179, 136, 255, 0.12);
    border-color: rgba(179, 136, 255, 0.2);
    color: #b388ff;
}

.hero-stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hero-stat-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Countdown Section */
#countdown-section {
    text-align: center;
    margin: 60px auto;
}

.countdown-glass {
    background: linear-gradient(135deg, rgba(255,42,42,0.1) 0%, rgba(20,20,20,0.5) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: inline-block;
}

.countdown-glass h2 {
    color: #fff;
    margin-bottom: 25px;
}

.timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.time-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    min-width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-box span {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-red);
    line-height: 1;
}

.time-box small {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 5px;
}

.colon {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Timeline */
#today-links {
    margin: 60px auto;
}

.section-heading { text-align: center; margin-bottom: 40px; }

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pulsing-dot {
    width: 10px;
    height: 10px;
    background-color: var(--brand-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-red);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 42, 42, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 42, 42, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 42, 42, 0); }
}

.timeline {
    position: relative;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand-red), transparent);
}

.timeline-item {
    position: relative;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px; /* 20px padding + 1px border - 5px radius */
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--bg-dark);
    border: 2px solid var(--brand-red);
    border-radius: 50%;
}

.link-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.link-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}
.link-source { font-size: 0.85rem; color: var(--text-muted); }
.reward-tag {
    display: inline-block;
    background: rgba(255, 42, 42, 0.15);
    color: #ff8080;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 10px;
}

/* Skeleton Loading */
.loading-skeleton {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
}
.skeleton-text {
    width: 200px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    animation: skeleton-flash 1.5s infinite;
}
.skeleton-btn {
    width: 80px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    animation: skeleton-flash 1.5s infinite;
}
@keyframes skeleton-flash {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Info Section */
.info-section {
    padding: 60px 40px;
    margin-bottom: 60px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}
.info-card:hover {
    background: rgba(255, 42, 42, 0.05);
    transform: translateY(-5px);
}
.align-icon { margin-right: 8px; color: var(--brand-red); }

/* Footer */
footer {
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding: 30px 0;
    margin-top: 50px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Popup */
.popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.popup-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.popup-overlay.active .popup-glass {
    transform: scale(1);
}

.close-popup {
    position: absolute;
    top: 15px; right: 15px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}
.close-popup:hover { color: #fff; }

.popup-icon {
    font-size: 3rem;
    color: #00e676;
    margin-bottom: 15px;
}

.popup-glass h3 { color: #fff; margin-bottom: 10px; }
.popup-glass p { font-size: 0.95rem; margin-bottom: 0; }
.popup-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 25px 0;
}
.popup-glass h4 { color: #fff; margin-bottom: 10px; font-size: 1.1rem; }
.connect-btn { width: 100%; justify-content: center; margin-top: 15px; }

/* Small Discord button in chat header */
.btn-discord-sm {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #5865F2;
    color: #fff;
    padding: 7px 16px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.35);
    white-space: nowrap;
}
.btn-discord-sm:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(88, 101, 242, 0.55);
}

/* ===== FOOTER ===== */
.glass-footer {
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    margin-top: 80px;
    padding: 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap;
    gap: 20px;
}

a.footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-main);
}
a.footer-logo i { color: var(--brand-red); }
a.footer-logo span { font-weight: 300; opacity: 0.7; }

.footer-discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #5865F2;
    color: #fff;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}
.footer-discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-col-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--brand-red);
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a i {
    width: 14px;
    color: rgba(255, 42, 42, 0.5);
    font-size: 0.8rem;
}

.footer-col ul li a:hover {
    color: #fff;
}
.footer-col ul li a:hover i {
    color: var(--brand-red);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.25);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: var(--transition);
}
.footer-bottom-links a:hover { color: #fff; }

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
    .hamburger { display: flex; }

    #main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(8, 8, 8, 0.97);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--glass-border);
        padding: 16px 20px 24px;
        z-index: 99;
    }

    #main-nav.open { display: block; }

    #main-nav ul {
        flex-direction: column;
        gap: 4px;
    }

    #main-nav a {
        display: block;
        font-size: 1.05rem;
        padding: 10px 14px;
    }

    .glass-header { position: relative; }

    .footer-links-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-top { flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 500px) {
    .footer-links-grid { grid-template-columns: 1fr; }
}

/* ============================================
   LIVE COMMUNITY CHAT — PREMIUM STYLES
   ============================================ */

#community-chat {
    margin: 60px auto;
}

/* Section label above the chat */
#community-chat .section-heading {
    text-align: center;
    margin-bottom: 30px;
}

/* Main chat container */
.chat-glass-panel {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    /* Multi-layer glass look */
    background: linear-gradient(145deg, rgba(25,25,25,0.75) 0%, rgba(12,12,12,0.85) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 42, 42, 0.18);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.03) inset,
        0 20px 60px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(255, 42, 42, 0.06);
}

/* Red accent glow bar along the top */
.chat-glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-red), transparent);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Chat header bar */
.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header h3 i {
    color: var(--brand-red);
    filter: drop-shadow(0 0 6px rgba(255, 42, 42, 0.8));
}

.online-count {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #aaa;
    background: rgba(255, 255, 255, 0.04);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

/* Scrollable message area */
.chat-messages {
    padding: 22px 24px;
    height: 340px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    scroll-behavior: smooth;
}

/* Custom scrollbar */
.chat-messages::-webkit-scrollbar { width: 5px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--brand-red), #550000);
    border-radius: 10px;
}

/* Single chat message row */
.chat-msg {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    animation: msgSlideIn 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes msgSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Avatar circle */
.msg-avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d0000, var(--brand-red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
    letter-spacing: 0.5px;
    box-shadow: 0 0 0 2px rgba(255, 42, 42, 0.25), 0 4px 10px rgba(0,0,0,0.4);
}

/* Message bubble */
.msg-content {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 12px 18px;
    border-radius: 4px 18px 18px 18px;
    max-width: 80%;
    position: relative;
    transition: var(--transition);
}

.msg-content:hover {
    background: rgba(255, 42, 42, 0.06);
    border-color: rgba(255, 42, 42, 0.15);
}

/* Name + time row */
.msg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.msg-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ff9090;
}

.msg-time {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    white-space: nowrap;
}

/* Message body text */
.msg-text {
    font-size: 0.95rem;
    color: rgba(240, 240, 240, 0.88);
    line-height: 1.55;
    margin: 0;
}

/* Chat input bar */
.chat-input-area {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-input-area input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 18px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.chat-input-area input::placeholder { color: rgba(255,255,255,0.3); }

.chat-input-area input:focus {
    border-color: var(--brand-red);
    background: rgba(255, 42, 42, 0.06);
    box-shadow: 0 0 0 3px rgba(255, 42, 42, 0.1);
}

#chat-send-btn {
    padding: 11px 18px !important;
    border-radius: 50% !important;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

#chat-send-btn:hover {
    transform: scale(1.1) rotate(-10deg);
}

/* ============================================
   WATERDROP TOAST NOTIFICATIONS — PREMIUM
   ============================================ */

#toast-wrapper {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    pointer-events: none;
    max-width: 310px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    border-radius: 14px;
    pointer-events: auto;
    cursor: default;
    /* Glass card */
    background: linear-gradient(135deg, rgba(28,28,28,0.9) 0%, rgba(16,16,16,0.95) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 42, 42, 0.22);
    border-left: 3px solid var(--brand-red);
    box-shadow:
        0 8px 24px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.03) inset,
        0 0 20px rgba(255, 42, 42, 0.08);
    /* Waterdrop animation */
    animation: waterdropIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    transform-origin: bottom left;
}

.toast.fade-out {
    animation: waterdropOut 0.4s ease forwards;
}

.toast-icon {
    font-size: 1.3rem;
    color: #00e676;
    filter: drop-shadow(0 0 6px rgba(0, 230, 118, 0.6));
    flex-shrink: 0;
}

.toast-body p {
    margin: 0 0 2px;
    font-size: 0.88rem;
    color: rgba(240,240,240,0.9);
    line-height: 1.4;
}

.toast-body strong { color: #ff9090; }

.toast-body small {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
}

@keyframes waterdropIn {
    0%   { transform: scale(0.6) translateY(20px); opacity: 0; }
    60%  { transform: scale(1.05) translateY(-4px); opacity: 1; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes waterdropOut {
    0%   { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.85) translateY(15px); opacity: 0; }
}

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

/* ============================================
   TYPING INDICATOR DOTS
   ============================================ */
.typing-dots {
    display: flex;
    align-items: center;
    gap: 5px;
}

.typing-dots span {
    display: block;
    width: 8px;
    height: 8px;
    background: rgba(255, 42, 42, 0.7);
    border-radius: 50%;
    animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30%            { transform: translateY(-7px); opacity: 1; }
}

/* ============================================
   7-DAY DICE HISTORY CHAIN
   ============================================ */
.history-section {
    margin: 70px auto;
}

.history-chain {
    display: flex;
    gap: 0;
    align-items: flex-start;
    overflow-x: auto;
    padding: 20px 10px 30px;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-red) transparent;
}

.history-chain::-webkit-scrollbar { height: 5px; }
.history-chain::-webkit-scrollbar-track { background: transparent; }
.history-chain::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--brand-red), #550000);
    border-radius: 10px;
}

/* Each day = card + connector */
.history-day {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Connector line between cards */
.history-connector {
    flex-shrink: 0;
    height: 2px;
    width: 30px;
    background: linear-gradient(90deg, var(--brand-red), rgba(255,42,42,0.2));
    position: relative;
}

.history-connector::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-red);
    box-shadow: 0 0 6px rgba(255,42,42,0.6);
}

/* Individual day card */
.history-card {
    width: 140px;
    padding: 18px 16px;
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
    transition: var(--transition);
    cursor: default;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.history-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 42, 42, 0.25);
}

/* TODAY card — highlighted */
.history-card.today {
    background: linear-gradient(135deg, rgba(255,42,42,0.15) 0%, rgba(20,20,20,0.7) 100%);
    border-color: rgba(255, 42, 42, 0.4);
    box-shadow: 0 0 20px rgba(255,42,42,0.15), 0 8px 25px rgba(0,0,0,0.4);
}

.history-card.today::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-red), transparent);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* Badge on top */
.history-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.badge-today {
    background: rgba(255, 42, 42, 0.2);
    color: #ff8080;
    border: 1px solid rgba(255, 42, 42, 0.3);
}

.badge-archived {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.history-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.history-dice-count {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #ff8080 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 4px;
}

.history-dice-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-links-count {
    margin-top: 8px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
}

.history-dice-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
    filter: drop-shadow(0 0 6px rgba(255,42,42,0.4));
}

/* ============================================
   LIVE STATS COUNTER SECTION
   ============================================ */
.stats-section {
    margin: 70px auto;
}

.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.stat-counter-card {
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-counter-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top center, rgba(255,42,42,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.stat-counter-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 42, 42, 0.35);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(255,42,42,0.1);
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--brand-red);
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px rgba(255,42,42,0.5));
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, #ff8080 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

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

/* ============================================
   TIPS & TRICKS ACCORDION SECTION
   ============================================ */
.tips-section {
    margin: 70px auto;
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 40px;
}

.accordion-item {
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: rgba(255, 42, 42, 0.25);
}

.accordion-btn {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    gap: 15px;
    transition: var(--transition);
}

.accordion-btn:hover {
    color: #ff9090;
}

.acc-arrow {
    color: var(--brand-red);
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.accordion-item.open .acc-arrow {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.3s ease;
    padding: 0 25px;
}

.accordion-item.open .accordion-body {
    max-height: 200px;
    padding: 0 25px 22px;
}

.accordion-body p {
    font-size: 1rem;
    color: rgba(200, 200, 200, 0.85);
    line-height: 1.7;
    margin: 0;
    border-left: 2px solid rgba(255, 42, 42, 0.3);
    padding-left: 16px;
}

/* ============================================
   TESTIMONIALS CAROUSEL SECTION
   ============================================ */
.testimonials-section {
    margin: 70px auto;
}

.testimonials-track-wrapper {
    position: relative;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.testimonials-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

.testimonial-card {
    flex-shrink: 0;
    /* width set by JS */
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 42, 42, 0.25);
}

.t-stars {
    font-size: 1.2rem;
    color: #ffd700;
    letter-spacing: 2px;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.4));
}

.t-text {
    font-size: 0.98rem;
    color: rgba(220, 220, 220, 0.88);
    line-height: 1.7;
    font-style: italic;
    margin: 0;
    flex: 1;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 4px;
}

.t-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3d0000, var(--brand-red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(255, 42, 42, 0.3);
}

.t-author strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
    font-weight: 700;
}

.t-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Navigation Dots */
.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-bottom: 5px;
    width: 100%;
    order: 1;
}

.t-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.t-dot.active {
    background: var(--brand-red);
    box-shadow: 0 0 10px rgba(255, 42, 42, 0.5);
    width: 22px;
    border-radius: 4px;
}

/* Arrow Buttons */
.t-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    align-self: center;
}

.t-arrow:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    box-shadow: 0 0 15px rgba(255, 42, 42, 0.4);
    transform: scale(1.1);
}

.t-arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    transform: none;
}

/* Responsive for new sections */
@media (max-width: 900px) {
    .testimonials-track-wrapper { gap: 8px; }
    .t-arrow { width: 36px; height: 36px; margin-top: 110px; font-size: 0.85rem; }
}

@media (max-width: 600px) {
    .t-arrow { display: none; }
    .stats-counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   UNIFIED FOOTER
   ============================================ */
.glass-footer {
    margin-top: 80px;
    padding: 40px 0 30px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 42, 42, 0.15);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.footer-logo span {
    color: var(--brand-red);
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 0;
}

.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.25s;
}

.footer-nav a:hover {
    color: var(--brand-red);
}

@media (max-width: 600px) {
    .footer-nav { gap: 16px; }
}

/* ============================================
   RESYNC BUTTON
   ============================================ */
#resync-btn {
    margin-left: 12px;
    padding: 6px 16px;
    background: rgba(255, 42, 42, 0.12);
    border: 1px solid rgba(255, 42, 42, 0.35);
    color: #ff8080;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
    font-family: var(--font-main);
    vertical-align: middle;
}

#resync-btn:hover:not(:disabled) {
    background: rgba(255, 42, 42, 0.22);
    border-color: rgba(255, 42, 42, 0.6);
    color: #fff;
    box-shadow: 0 0 12px rgba(255,42,42,0.25);
}

#resync-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

#resync-btn.spinning #resync-icon {
    animation: spinIcon 0.8s linear infinite;
}

@keyframes spinIcon {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ============================================
   ARCHIVED LINKS (Previous Days)
   ============================================ */
.archived-day-group {
    margin-top: 36px;
}

.archived-day-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.archived-day-header .day-date {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.archived-day-header .day-badge {
    font-size: 0.72rem;
    padding: 2px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.3);
    border: 1px solid rgba(255,255,255,0.08);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Expired link card — muted version of normal card */
.timeline-item.expired {
    opacity: 0.55;
    border-color: rgba(255,255,255,0.04) !important;
}

.timeline-item.expired .reward-tag {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.4);
    border-color: rgba(255,255,255,0.08);
}

.timeline-item.expired .link-title {
    color: rgba(255,255,255,0.55);
}

.btn-expired {
    padding: 12px 22px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.35);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: not-allowed;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

/* ============================================
   HERO MINI CHAT WIDGET
   ============================================ */
.hero-chat-widget {
    background: rgba(12, 12, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 42, 42, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}

.hero-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,42,42,0.05);
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.hero-chat-online {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
}

.hero-chat-messages {
    padding: 10px 14px;
    height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,42,42,0.2) transparent;
}

.hero-msg {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    animation: fadeSlideIn 0.35s ease;
}

.hero-msg-avatar {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    background: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
}

.hero-msg-body {
    flex: 1;
    min-width: 0;
}

.hero-msg-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-red);
    margin-bottom: 2px;
}

.hero-msg-text {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-chat-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}

.hero-chat-footer:hover {
    color: #fff;
    background: rgba(255,42,42,0.08);
}

@media (max-width: 900px) {
    .hero-chat-widget { max-width: 100%; }
}

/* ============================================
   HERO CHAT WIDGET — compact message rows (hcw-*)
   used by syncHeroChatWidget() in script.js
   ============================================ */
.hcw-msg {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    animation: fadeSlideIn 0.35s ease both;
}

.hcw-avatar {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3d0000, var(--brand-red-dark, #8b0000));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 0 0 1.5px rgba(255,42,42,0.3);
}

.hcw-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.hcw-name {
    font-size: 0.74rem;
    font-weight: 700;
    color: #ff9090;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hcw-text {
    font-size: 0.81rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   NEW CONTENT SECTIONS — GOOGLE DOC ADDITIONS
   ============================================ */

.content-section {
    margin: 70px auto;
}

/* --- What Are Free Dice / Explainer --- */
.content-explainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
}

.explainer-text {
    padding: 40px;
    border-right: 1px solid var(--glass-border);
}

.explainer-lead {
    font-size: 1.15rem;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 18px;
}

.explainer-text code {
    background: rgba(255, 42, 42, 0.1);
    border: 1px solid rgba(255, 42, 42, 0.2);
    color: #ff8080;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: monospace;
}

.explainer-sources {
    padding: 40px;
}

.explainer-sources h3 {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.source-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.source-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.source-rank {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(255, 42, 42, 0.3);
}

.source-info strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.source-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}

/* --- How to Claim Steps --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    padding: 30px 24px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 42, 42, 0.3);
}

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-red);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 42, 42, 0.1);
    border: 1px solid rgba(255, 42, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--brand-red);
    margin: 16px auto 18px;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* --- Daily Earning Breakdown --- */
.earning-glass {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0;
    overflow: hidden;
    align-items: stretch;
}

.earning-total {
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,42,42,0.15), rgba(20,20,20,0.5));
    border-right: 1px solid var(--glass-border);
    text-align: center;
    min-width: 180px;
}

.earning-total-num {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b6b, var(--brand-red));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.earning-total-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.earning-breakdown {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.earning-row {
    display: grid;
    grid-template-columns: 200px 1fr 90px;
    align-items: center;
    gap: 16px;
}

.earning-method {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.earning-method i { width: 16px; }

.earning-bar-wrap {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.earning-bar {
    height: 100%;
    width: var(--fill);
    background: var(--color);
    border-radius: 10px;
    animation: barGrow 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    transform-origin: left;
}

@keyframes barGrow {
    from { width: 0; }
    to   { width: var(--fill); }
}

.earning-range {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: right;
    white-space: nowrap;
}

/* --- Events Grid --- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.event-card {
    padding: 30px 26px;
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 42, 42, 0.25);
}

.event-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 42, 42, 0.1);
    border: 1px solid rgba(255, 42, 42, 0.2);
    color: var(--brand-red);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.event-icon.gold {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.2);
    color: #FFD700;
}

.event-icon.blue {
    background: rgba(100, 181, 246, 0.1);
    border-color: rgba(100, 181, 246, 0.2);
    color: #64b5f6;
}

.event-icon.purple {
    background: rgba(179, 136, 255, 0.1);
    border-color: rgba(179, 136, 255, 0.2);
    color: #b388ff;
}

.event-card h3 { margin-bottom: 10px; }
.event-card p  { font-size: 0.9rem; margin-bottom: 16px; }

.event-reward {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 42, 42, 0.08);
    border: 1px solid rgba(255, 42, 42, 0.18);
    color: #ff8080;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}

/* --- Common Mistakes --- */
.mistakes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.mistake-card {
    padding: 30px 26px;
    border-left: 3px solid rgba(255, 42, 42, 0.6);
    transition: var(--transition);
}

.mistake-card:hover {
    transform: translateY(-4px);
    border-left-color: var(--brand-red);
}

.mistake-icon {
    font-size: 1.6rem;
    color: var(--brand-red);
    margin-bottom: 14px;
    filter: drop-shadow(0 0 8px rgba(255, 42, 42, 0.4));
}

.mistake-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.mistake-card p  { font-size: 0.9rem; margin: 0; }

/* --- FAQ --- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    padding: 22px 28px;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 42, 42, 0.25);
    transform: translateX(4px);
}

.faq-q {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.faq-a {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding-left: 28px;
    line-height: 1.65;
}

/* --- Final Verdict / Key Takeaways --- */
.verdict-glass {
    padding: 55px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.verdict-glass::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-red), transparent);
}

.verdict-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.verdict-header i {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(255, 42, 42, 0.6));
}

.verdict-header h2 { margin: 0; }

.verdict-intro {
    max-width: 720px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.takeaways-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 40px;
    max-width: 820px;
    margin: 0 auto 40px;
    text-align: left;
}

.takeaway-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.takeaway-item i {
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 0.85rem;
    filter: drop-shadow(0 0 4px rgba(255, 42, 42, 0.5));
}

.verdict-cta { text-align: center; }

/* --- Responsive --- */
@media (max-width: 900px) {
    .content-explainer { grid-template-columns: 1fr; }
    .explainer-text { border-right: none; border-bottom: 1px solid var(--glass-border); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .earning-glass { grid-template-columns: 1fr; }
    .earning-total { border-right: none; border-bottom: 1px solid var(--glass-border); padding: 30px; }
    .earning-row { grid-template-columns: 1fr auto; }
    .earning-bar-wrap { display: none; }
    .takeaways-grid { grid-template-columns: 1fr; }
    .verdict-glass { padding: 36px 28px; }
}

@media (max-width: 600px) {
    .steps-grid { grid-template-columns: 1fr; }
    .events-grid, .mistakes-grid { grid-template-columns: 1fr; }
}

/* ============================================
   INNER PAGES — About, Team, Contact, Legal
   ============================================ */

.inner-hero {
    padding: 80px 0 50px;
    text-align: center;
}

.inner-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.inner-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 42, 42, 0.1);
    border: 1px solid rgba(255, 42, 42, 0.25);
    color: #ff8080;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.inner-hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.inner-hero p {
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.inner-section {
    margin: 0 auto 80px;
}

/* Policy / Legal Pages */
.policy-glass {
    padding: 50px;
}

.policy-body h2 {
    font-size: 1.35rem;
    margin: 32px 0 12px;
    color: #fff;
}

.policy-body h2:first-child {
    margin-top: 0;
}

.policy-body p,
.policy-body li {
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.policy-body ul,
.policy-body ol {
    padding-left: 24px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.policy-body code {
    background: rgba(255, 42, 42, 0.1);
    border: 1px solid rgba(255, 42, 42, 0.2);
    color: #ff8080;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.88rem;
    font-family: monospace;
}

/* About Page — two-column grid */
.inner-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 0;
    overflow: hidden;
}

.inner-text {
    padding: 50px;
    border-right: 1px solid var(--glass-border);
}

.inner-text h2 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    color: #fff;
}

.inner-text p {
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.about-points {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
}

.about-point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-point i {
    font-size: 1.25rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.about-point strong {
    display: block;
    color: #fff;
    margin-bottom: 4px;
    font-size: 0.97rem;
}

.about-point p {
    margin: 0;
    font-size: 0.9rem;
}

/* About — right stat cards column */
.inner-stats {
    padding: 50px 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-content: start;
}

.about-stat-card {
    padding: 22px 16px;
    text-align: center;
}

.about-stat-num {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b6b, var(--brand-red));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.about-stat-label {
    font-size: 0.77rem;
    color: var(--text-muted);
    display: block;
    margin-top: 6px;
}

/* Team Page */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    padding: 30px 22px;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 42, 42, 0.2);
}

.team-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d0000, var(--brand-red-dark));
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 0 0 3px rgba(255, 42, 42, 0.2);
}

.team-card h3 {
    color: #fff;
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.team-role {
    font-size: 0.78rem;
    color: var(--brand-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 0.88rem;
    margin: 0;
    color: var(--text-muted);
}

/* Contact Page */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.contact-card {
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 42, 42, 0.2);
}

.contact-icon {
    font-size: 2rem;
    color: var(--brand-red);
    margin-bottom: 16px;
    filter: drop-shadow(0 0 8px rgba(255, 42, 42, 0.4));
}

.contact-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-card p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}

/* Sources Page */
.sources-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.source-row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    transition: var(--transition);
}

.source-row:hover {
    border-color: rgba(255, 42, 42, 0.15);
    background: rgba(255, 42, 42, 0.03);
}

.source-row .source-rank {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(255, 42, 42, 0.3);
}

.source-row strong {
    display: block;
    color: #fff;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.source-row p {
    font-size: 0.88rem;
    margin: 0;
    color: var(--text-muted);
}

/* Inner Pages — hero responsive */
@media (max-width: 900px) {
    .inner-grid { grid-template-columns: 1fr; }
    .inner-text { border-right: none; border-bottom: 1px solid var(--glass-border); }
    .inner-stats { padding: 30px; grid-template-columns: repeat(2, 1fr); }
    .policy-glass { padding: 32px 28px; }
}

@media (max-width: 600px) {
    .policy-glass { padding: 24px 20px; }
    .inner-text { padding: 30px 24px; }
    .inner-stats { grid-template-columns: 1fr 1fr; padding: 24px; }
    .contact-options { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .inner-hero { padding: 50px 0 30px; }
}

