/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE — Wow-factor styles & animations
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Floating Particles ── */
.hp-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.hp-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: hpParticleFloat linear infinite;
    pointer-events: none;
}

@keyframes hpParticleFloat {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

/* ── Staggered reveal delays ── */
.hp-stagger-1 { transition-delay: 0ms; }
.hp-stagger-2 { transition-delay: 80ms; }
.hp-stagger-3 { transition-delay: 160ms; }
.hp-stagger-4 { transition-delay: 240ms; }

/* ── Hero Enhancements ── */
.hp-hero {
    position: relative;
    overflow: hidden;
    padding: 52px clamp(24px, 5vw, 60px) 36px;
}

.hp-hero-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse at center,
        rgba(9, 214, 182, 0.22) 0%,
        rgba(9, 214, 182, 0.08) 30%,
        rgba(108, 152, 255, 0.06) 50%,
        transparent 70%);
    filter: blur(40px);
    animation: hpHeroGlow 6s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes hpHeroGlow {
    0%   { opacity: 0.7; transform: translateX(-50%) scale(1); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

.hp-hero-content {
    position: relative;
    z-index: 1;
}

/* ── Animated Eyebrow ── */
.hp-eyebrow-animated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hp-pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(9, 214, 182, 0.6);
    animation: hpPulse 2s ease-in-out infinite;
}

@keyframes hpPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(9, 214, 182, 0.6); }
    50%      { opacity: 0.5; box-shadow: 0 0 18px rgba(9, 214, 182, 0.9); }
}

/* ── Hero Title ── */
.hp-hero-title {
    line-height: 1 !important;
}

.hp-gradient-text {
    display: block;
    background: linear-gradient(105deg, var(--accent), var(--accent-2), #a78bfa, var(--accent));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: hpGradientShift 6s ease-in-out infinite;
}

@keyframes hpGradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hp-lead strong {
    color: var(--accent);
}

/* ── Glow Button ── */
.hp-btn-glow {
    position: relative;
    overflow: hidden;
}

.hp-btn-glow::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    animation: hpBtnShine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes hpBtnShine {
    0%, 70%  { left: -60%; }
    100%     { left: 120%; }
}

.hp-btn-accent2 {
    border-color: rgba(255, 159, 26, 0.5) !important;
    color: #ffe3c2 !important;
    background: rgba(255, 159, 26, 0.14) !important;
}

.hp-btn-accent2:hover {
    background: rgba(255, 159, 26, 0.22) !important;
}

/* ── Live Online Counter ── */
.hp-online-strip {
    margin-top: 22px;
}

.hp-online-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border: 1px solid rgba(9, 214, 182, 0.35);
    border-radius: 999px;
    background: rgba(9, 214, 182, 0.06);
    backdrop-filter: blur(6px);
    animation: hpOnlinePulse 3s ease-in-out infinite;
}

@keyframes hpOnlinePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(9, 214, 182, 0); }
    50%      { box-shadow: 0 0 20px rgba(9, 214, 182, 0.12); }
}

.hp-online-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4cff91;
    box-shadow: 0 0 8px rgba(76, 255, 145, 0.7);
    animation: hpOnlineDotPulse 1.5s ease-in-out infinite;
}

@keyframes hpOnlineDotPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.3); }
}

.hp-online-count {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.5rem;
    color: var(--text);
    letter-spacing: 0.04em;
    min-width: 28px;
}

.hp-online-label {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

/* ── Stat Cards Row ── */
.hp-stats-row {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.hp-stat-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 16px;
    background: rgba(5, 12, 22, 0.65);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hp-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(9, 214, 182, 0.45);
}

.hp-stat-number {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--text);
}

.hp-stat-label {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.hp-stat-bar {
    margin-top: 10px;
    width: 100%;
    height: 3px;
    background: rgba(145, 178, 207, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.hp-stat-bar-fill {
    height: 100%;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: hpBarFill 1.2s ease-out forwards;
    animation-delay: 0.6s;
}

@keyframes hpBarFill {
    to { transform: scaleX(1); }
}

/* ── Infinite Ticker / Marquee ── */
.hp-ticker-wrap {
    margin-top: 24px;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.hp-ticker-track {
    display: flex;
    gap: 12px;
    white-space: nowrap;
    animation: hpTickerScroll 30s linear infinite;
    width: max-content;
}

.hp-ticker-track span {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #d5f8f1;
    border: 1px solid rgba(9, 214, 182, 0.35);
    background: rgba(9, 214, 182, 0.08);
    border-radius: 999px;
    padding: 6px 12px;
    transition: background 0.2s;
}

.hp-ticker-track span:hover {
    background: rgba(9, 214, 182, 0.18);
}

@keyframes hpTickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Section subtitles ── */
.hp-section-sub {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    max-width: 60ch;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HIGHLIGHT CAROUSEL
   ═══════════════════════════════════════════════════════════════════════════ */
.hp-carousel-wrap {
    margin-top: 8px;
}

.hp-carousel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(6, 14, 25, 0.68);
    min-height: 160px;
}

.hp-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 32px clamp(20px, 5vw, 48px);
    display: flex;
    align-items: center;
    gap: 24px;
    box-sizing: border-box;
}

.hp-carousel-slide-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 50%;
    border: 2px solid rgba(9, 214, 182, 0.35);
    background: rgba(9, 214, 182, 0.08);
}

.hp-carousel-slide-body h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text);
}

.hp-carousel-slide-body p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.hp-carousel-slide-amount {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.8rem;
    color: var(--accent);
    letter-spacing: 0.02em;
}

.hp-carousel-slide-time {
    font-size: 0.75rem;
    color: rgba(145, 178, 207, 0.5);
    margin-top: 4px;
}

.hp-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(6, 14, 25, 0.8);
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hp-carousel-btn:hover {
    background: rgba(9, 214, 182, 0.15);
    border-color: rgba(9, 214, 182, 0.4);
}

.hp-carousel-prev { left: 10px; }
.hp-carousel-next { right: 10px; }

.hp-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 14px;
}

.hp-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(145, 178, 207, 0.2);
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    padding: 0;
}

.hp-carousel-dot.is-active {
    background: var(--accent);
    transform: scale(1.3);
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIVE ACTIVITY FEED
   ═══════════════════════════════════════════════════════════════════════════ */
.hp-activity-feed {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(6, 14, 25, 0.68);
    padding: 16px 20px;
}

.hp-activity-list {
    position: relative;
    height: 48px;
    overflow: hidden;
}

.hp-activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(145, 178, 207, 0.04);
    border: 1px solid transparent;
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.2s, border-color 0.2s;
    position: absolute;
    inset: 0;
}

.hp-activity-item.is-leaving {
    opacity: 0;
    transform: translateY(-14px);
}

.hp-activity-item.is-entering {
    opacity: 0;
    transform: translateY(14px);
}

.hp-activity-item:hover {
    background: rgba(9, 214, 182, 0.06);
    border-color: rgba(9, 214, 182, 0.15);
}

.hp-activity-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border-radius: 8px;
}

.hp-activity-icon.win {
    background: rgba(9, 214, 182, 0.12);
    border: 1px solid rgba(9, 214, 182, 0.3);
}

.hp-activity-icon.bet {
    background: rgba(255, 159, 26, 0.12);
    border: 1px solid rgba(255, 159, 26, 0.3);
}

.hp-activity-text {
    flex: 1;
    min-width: 0;
}

.hp-activity-text strong {
    color: var(--text);
    font-weight: 700;
}

.hp-activity-text span {
    color: var(--muted);
    font-size: 0.85rem;
}

.hp-activity-amount {
    flex-shrink: 0;
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.hp-activity-amount.win {
    color: var(--accent);
}

.hp-activity-amount.bet {
    color: var(--accent-2);
}

.hp-activity-icon.deal {
    background: rgba(76, 175, 80, 0.12);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.hp-activity-amount.deal {
    color: #4caf50;
}

.hp-activity-time {
    flex-shrink: 0;
    font-size: 0.7rem;
    color: rgba(145, 178, 207, 0.4);
    min-width: 50px;
    text-align: right;
}

.hp-activity-empty {
    text-align: center;
    color: var(--muted);
    padding: 24px;
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS — 4-Step Track
   ═══════════════════════════════════════════════════════════════════════════ */
.hp-steps-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding-top: 20px;
}

.hp-steps-line {
    position: absolute;
    top: 54px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: rgba(145, 178, 207, 0.12);
    border-radius: 2px;
    z-index: 0;
}

.hp-steps-line-fill {
    width: 0%;
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2), #a78bfa, var(--accent));
    background-size: 300% 100%;
    animation: hpGradientShift 4s ease-in-out infinite;
    transition: width 1.2s ease-out;
}

.hp-step {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hp-step-circle {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: rgba(6, 14, 25, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

.hp-step.on .hp-step-circle {
    border-color: rgba(9, 214, 182, 0.6);
    box-shadow: 0 0 20px rgba(9, 214, 182, 0.2);
}

.hp-step:hover .hp-step-circle {
    transform: scale(1.1);
    border-color: rgba(9, 214, 182, 0.6);
    box-shadow: 0 0 24px rgba(9, 214, 182, 0.25);
}

.hp-step-num {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.5rem;
    color: var(--accent);
    transition: opacity 0.3s ease;
}

.hp-step-icon {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hp-step:hover .hp-step-num {
    opacity: 0;
}

.hp-step:hover .hp-step-icon {
    opacity: 1;
}

.hp-step h3 {
    margin: 0;
    font-size: 1rem;
}

.hp-step p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 22ch;
}

/* ═══════════════════════════════════════════════════════════════════════════
   IN-GAME FEATURES — Showcase Cards
   ═══════════════════════════════════════════════════════════════════════════ */
.hp-feature-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
}

.hp-showcase-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(6, 14, 25, 0.68);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hp-showcase-card:hover {
    transform: translateY(-4px);
    border-color: rgba(9, 214, 182, 0.4);
    box-shadow: 0 12px 40px rgba(9, 214, 182, 0.08);
}

.hp-showcase-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border-radius: 14px;
    border: 1px solid rgba(9, 214, 182, 0.3);
    background: rgba(9, 214, 182, 0.08);
}

.hp-showcase-body h3 {
    margin: 0;
    font-size: 1.05rem;
}

.hp-showcase-body p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.hp-showcase-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
    transform: skewX(-15deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.hp-showcase-card:hover .hp-showcase-shine {
    left: 120%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ARCADE GAMES GRID
   ═══════════════════════════════════════════════════════════════════════════ */
.hp-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
}

.hp-game-tile {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 159, 26, 0.22);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 159, 26, 0.06), rgba(9, 214, 182, 0.04)),
        rgba(6, 14, 25, 0.7);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hp-game-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 159, 26, 0.45);
    box-shadow: 0 8px 28px rgba(255, 159, 26, 0.1);
}

.hp-game-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 159, 26, 0.35);
    background: rgba(255, 159, 26, 0.1);
}

.hp-game-info h4 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text);
}

.hp-game-info p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

/* ═══════════════════════════════════════════════════════════════════════════
   WEBSITE FEATURES GRID
   ═══════════════════════════════════════════════════════════════════════════ */
.hp-web-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hp-web-card {
    position: relative;
    overflow: hidden;
    padding: 24px 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(6, 14, 25, 0.68);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hp-web-card:hover {
    transform: translateY(-5px);
    border-color: rgba(108, 152, 255, 0.4);
}

.hp-web-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: inline-block;
    animation: hpWebIconFloat 3s ease-in-out infinite;
}

@keyframes hpWebIconFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.hp-web-card h3 {
    margin: 0;
    font-size: 1.05rem;
}

.hp-web-card p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.hp-web-card-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 80px;
    background: radial-gradient(ellipse, rgba(108, 152, 255, 0.18), transparent 70%);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.hp-web-card:hover .hp-web-card-glow {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SYSTEM COVERAGE CATEGORIES
   ═══════════════════════════════════════════════════════════════════════════ */
.hp-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hp-category-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    background: rgba(6, 14, 25, 0.68);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.hp-category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(9, 214, 182, 0.35);
}

.hp-category-card h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--accent);
}

.hp-category-card ul {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 0.88rem;
}

.hp-category-card li + li {
    margin-top: 5px;
}

.hp-more-items {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.82rem;
    list-style: none;
    margin-left: -18px;
    margin-top: 8px !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA CARD
   ═══════════════════════════════════════════════════════════════════════════ */
.hp-cta-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 40px clamp(24px, 5vw, 52px);
    background:
        linear-gradient(135deg, rgba(255, 159, 26, 0.1), rgba(9, 214, 182, 0.1)),
        rgba(7, 14, 25, 0.72);
    text-align: center;
}

.hp-cta-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(255, 159, 26, 0.15), rgba(9, 214, 182, 0.1), transparent 65%);
    filter: blur(60px);
    animation: hpCtaGlow 5s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes hpCtaGlow {
    0%   { opacity: 0.6; transform: translateX(-50%) scale(1); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hp-cta-card h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    position: relative;
}

.hp-cta-desc {
    margin: 12px auto 0;
    max-width: 55ch;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
}

.hp-cta-badges {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    position: relative;
}

.hp-cta-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    position: relative;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIVE PLATFORM STATS — Animated data dashboard
   ═══════════════════════════════════════════════════════════════════════════ */
.hp-live-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.hp-live-stat {
    position: relative;
    overflow: hidden;
    padding: 22px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(6, 14, 25, 0.68);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hp-live-stat:hover {
    transform: translateY(-5px);
    border-color: rgba(9, 214, 182, 0.45);
    box-shadow: 0 14px 40px rgba(9, 214, 182, 0.1);
}

.hp-live-stat-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(9, 214, 182, 0.3));
}

.hp-live-stat-value {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.2rem;
    line-height: 1.1;
    color: var(--text);
    letter-spacing: 0.03em;
    transition: color 0.3s;
}

.hp-live-stat:hover .hp-live-stat-value {
    color: var(--accent);
}

.hp-live-stat-text {
    font-size: 1.3rem !important;
    letter-spacing: 0.01em;
}

.hp-live-stat-sub {
    font-size: 0.75rem;
    color: var(--accent);
    margin-top: 2px;
    font-weight: 600;
    opacity: 0.8;
}

.hp-live-stat-label {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hp-live-stat-glow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 60px;
    background: radial-gradient(ellipse, rgba(9, 214, 182, 0.15), transparent 70%);
    filter: blur(16px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.hp-live-stat:hover .hp-live-stat-glow {
    opacity: 1;
}

/* Pulse animation when value updates */
@keyframes hpStatPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.hp-live-stat-value.hp-pulse {
    animation: hpStatPulse 0.4s ease-out;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURE DEEP-DIVE — Interactive tabbed exploration
   ═══════════════════════════════════════════════════════════════════════════ */
.hp-deepdive-wrap {
    display: flex;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(6, 14, 25, 0.68);
    min-height: 320px;
}

.hp-deepdive-tabs {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 220px;
    border-right: 1px solid var(--line);
    background: rgba(5, 10, 20, 0.5);
}

.hp-deepdive-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    border-left: 3px solid transparent;
    position: relative;
}

.hp-deepdive-tab:hover {
    color: var(--text);
    background: rgba(145, 178, 207, 0.06);
}

.hp-deepdive-tab.is-active {
    color: var(--text);
    background: rgba(9, 214, 182, 0.08);
    border-left-color: var(--tab-color, var(--accent));
}

.hp-deepdive-tab-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hp-deepdive-tab-text {
    white-space: nowrap;
}

.hp-deepdive-panels {
    flex: 1;
    position: relative;
    min-height: 300px;
}

.hp-deepdive-panel {
    display: none;
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
    animation: hpPanelFadeIn 0.35s ease-out;
}

.hp-deepdive-panel.is-active {
    display: block;
}

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

.hp-deepdive-panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.hp-deepdive-panel-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 12px var(--panel-color, rgba(9, 214, 182, 0.4)));
}

.hp-deepdive-panel-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text);
}

.hp-deepdive-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.hp-deepdive-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(145, 178, 207, 0.04);
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.45;
    transition: border-color 0.2s, background 0.2s;
}

.hp-deepdive-list li:hover {
    border-color: rgba(9, 214, 182, 0.3);
    background: rgba(9, 214, 182, 0.06);
}

.hp-deepdive-check {
    flex-shrink: 0;
    font-weight: 700;
    font-size: 1rem;
}

.hp-deepdive-panel-glow {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    filter: blur(40px);
    opacity: 0.6;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
    .hp-stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-feature-showcase {
        grid-template-columns: 1fr;
    }

    .hp-web-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-steps-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-steps-line {
        display: none;
    }

    .hp-live-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-deepdive-wrap {
        flex-direction: column;
    }

    .hp-deepdive-tabs {
        flex-direction: row;
        min-width: 0;
        border-right: none;
        border-bottom: 1px solid var(--line);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .hp-deepdive-tabs::-webkit-scrollbar {
        display: none;
    }

    .hp-deepdive-tab {
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 12px 16px;
        white-space: nowrap;
    }

    .hp-deepdive-tab.is-active {
        border-left-color: transparent;
        border-bottom-color: var(--tab-color, var(--accent));
    }

    .hp-deepdive-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .hp-stats-row {
        grid-template-columns: 1fr;
    }

    .hp-web-features-grid {
        grid-template-columns: 1fr;
    }

    .hp-categories-grid {
        grid-template-columns: 1fr;
    }

    .hp-games-grid {
        grid-template-columns: 1fr;
    }

    .hp-hero {
        padding: 32px 20px 24px;
    }

    .hp-stat-number {
        font-size: 2rem;
    }

    .hp-cta-card {
        padding: 28px 20px;
    }

    .hp-steps-track {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hp-step p {
        max-width: none;
    }

    .hp-live-stats-grid {
        grid-template-columns: 1fr;
    }

    .hp-live-stat-value {
        font-size: 1.8rem;
    }

    .hp-deepdive-tab-text {
        display: none;
    }

    .hp-deepdive-tab-icon {
        font-size: 1.4rem;
    }

    .hp-deepdive-tab {
        padding: 10px 14px;
        justify-content: center;
    }

    .hp-deepdive-panel {
        padding: 20px 16px;
    }

    .hp-deepdive-panel-header h3 {
        font-size: 1.1rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIGHT THEME OVERRIDES FOR HOMEPAGE
   ═══════════════════════════════════════════════════════════════════════════ */
[data-theme="light"] .hp-hero {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(30, 55, 90, 0.1);
}

[data-theme="light"] .hp-stat-card,
[data-theme="light"] .hp-showcase-card,
[data-theme="light"] .hp-game-tile,
[data-theme="light"] .hp-web-card,
[data-theme="light"] .hp-category-card,
[data-theme="light"] .hp-cta-card,
[data-theme="light"] .hp-live-stat {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(30, 55, 90, 0.1);
}

[data-theme="light"] .hp-deepdive-wrap {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(30, 55, 90, 0.1);
}

[data-theme="light"] .hp-deepdive-tabs {
    background: rgba(240, 245, 250, 0.5);
}

[data-theme="light"] .hp-deepdive-list li {
    background: rgba(60, 80, 100, 0.04);
    border-color: rgba(30, 55, 90, 0.08);
}

[data-theme="light"] .hp-showcase-icon {
    border-color: rgba(7, 184, 154, 0.25);
    background: rgba(7, 184, 154, 0.06);
}

[data-theme="light"] .hp-game-icon {
    border-color: rgba(224, 136, 0, 0.25);
    background: rgba(224, 136, 0, 0.06);
}

[data-theme="light"] .hp-game-tile {
    border-color: rgba(224, 136, 0, 0.15);
}

[data-theme="light"] .hp-ticker-track span {
    color: #094d42;
    border-color: rgba(7, 184, 154, 0.3);
    background: rgba(7, 184, 154, 0.06);
}

[data-theme="light"] .hp-online-indicator {
    border-color: rgba(7, 184, 154, 0.25);
    background: rgba(7, 184, 154, 0.05);
}

[data-theme="light"] .hp-step-circle {
    background: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .hp-carousel {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(30, 55, 90, 0.1);
}

[data-theme="light"] .hp-carousel-btn {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(30, 55, 90, 0.15);
}

[data-theme="light"] .hp-activity-feed {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(30, 55, 90, 0.1);
}

[data-theme="light"] .hp-activity-item {
    background: rgba(60, 80, 100, 0.04);
}

[data-theme="light"] .hp-gradient-text {
    -webkit-text-fill-color: transparent;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOVER TILT EFFECT (applied via JS)
   ═══════════════════════════════════════════════════════════════════════════ */
/* -- Full homepage skin overrides per theme pack -- */
body[data-homepage="1"][data-theme-pref="aurora"] .hp-hero {
    border-radius: 38px;
    border: 1px solid rgba(143, 155, 230, 0.32);
    background:
        linear-gradient(150deg, rgba(77, 216, 255, 0.16), rgba(184, 118, 255, 0.18)),
        rgba(15, 18, 50, 0.82);
}

body[data-homepage="1"][data-theme-pref="aurora"] .hp-hero-glow {
    filter: blur(56px);
    opacity: 0.95;
}

body[data-homepage="1"][data-theme-pref="aurora"] .hp-stat-card,
body[data-homepage="1"][data-theme-pref="aurora"] .hp-showcase-card,
body[data-homepage="1"][data-theme-pref="aurora"] .hp-game-tile,
body[data-homepage="1"][data-theme-pref="aurora"] .hp-web-card,
body[data-homepage="1"][data-theme-pref="aurora"] .hp-category-card,
body[data-homepage="1"][data-theme-pref="aurora"] .hp-carousel,
body[data-homepage="1"][data-theme-pref="aurora"] .hp-activity-feed,
body[data-homepage="1"][data-theme-pref="aurora"] .hp-cta-card,
body[data-homepage="1"][data-theme-pref="aurora"] .hp-live-stat,
body[data-homepage="1"][data-theme-pref="aurora"] .hp-deepdive-wrap {
    border-radius: 22px;
    border-color: rgba(143, 155, 230, 0.3);
    box-shadow: 0 14px 30px rgba(29, 22, 84, 0.34);
}

body[data-homepage="1"][data-theme-pref="aurora"] .hp-step-circle {
    width: 74px;
    height: 74px;
    border-color: rgba(143, 155, 230, 0.42);
    background: linear-gradient(150deg, rgba(77, 216, 255, 0.15), rgba(184, 118, 255, 0.14));
}

body[data-homepage="1"][data-theme-pref="aurora"] .hp-ticker-track span {
    border-radius: 999px;
    border-color: rgba(143, 155, 230, 0.44);
    background: rgba(143, 155, 230, 0.18);
}

body[data-homepage="1"][data-theme-pref="ember"] .hp-hero {
    border-radius: 10px;
    border: 2px solid rgba(255, 174, 125, 0.4);
    background:
        repeating-linear-gradient(
            -45deg,
            rgba(255, 179, 71, 0.09) 0 16px,
            rgba(255, 111, 97, 0.07) 16px 32px
        ),
        rgba(34, 16, 18, 0.9);
}

body[data-homepage="1"][data-theme-pref="ember"] .hp-hero-title,
body[data-homepage="1"][data-theme-pref="ember"] .hp-section-sub,
body[data-homepage="1"][data-theme-pref="ember"] .hp-step h3 {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body[data-homepage="1"][data-theme-pref="ember"] .hp-stat-card,
body[data-homepage="1"][data-theme-pref="ember"] .hp-showcase-card,
body[data-homepage="1"][data-theme-pref="ember"] .hp-game-tile,
body[data-homepage="1"][data-theme-pref="ember"] .hp-web-card,
body[data-homepage="1"][data-theme-pref="ember"] .hp-category-card,
body[data-homepage="1"][data-theme-pref="ember"] .hp-carousel,
body[data-homepage="1"][data-theme-pref="ember"] .hp-activity-feed,
body[data-homepage="1"][data-theme-pref="ember"] .hp-cta-card,
body[data-homepage="1"][data-theme-pref="ember"] .hp-live-stat,
body[data-homepage="1"][data-theme-pref="ember"] .hp-deepdive-wrap {
    border-radius: 8px;
    border: 1px solid rgba(255, 174, 125, 0.28);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

body[data-homepage="1"][data-theme-pref="ember"] .hp-game-tile,
body[data-homepage="1"][data-theme-pref="ember"] .hp-web-card {
    background:
        linear-gradient(135deg, rgba(255, 179, 71, 0.1), rgba(255, 111, 97, 0.08)),
        rgba(33, 14, 16, 0.84);
}

body[data-homepage="1"][data-theme-pref="ember"] .hp-step-circle {
    border-radius: 8px;
    width: 66px;
    height: 66px;
    border-width: 2px;
}

body[data-homepage="1"][data-theme-pref="ember"] .hp-ticker-track span {
    border-radius: 8px;
    font-family: "IBM Plex Mono", monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body[data-homepage="1"][data-theme-pref="graphite"] .hp-hero {
    border-radius: 12px;
    border: 1px solid rgba(143, 170, 214, 0.28);
    background:
        linear-gradient(140deg, rgba(143, 184, 255, 0.1), rgba(103, 226, 214, 0.08)),
        rgba(13, 18, 29, 0.9);
}

body[data-homepage="1"][data-theme-pref="graphite"] .hp-hero-glow,
body[data-homepage="1"][data-theme-pref="graphite"] .hp-showcase-shine,
body[data-homepage="1"][data-theme-pref="graphite"] .hp-cta-glow {
    display: none;
}

body[data-homepage="1"][data-theme-pref="graphite"] .hp-gradient-text {
    background: linear-gradient(90deg, #8fb8ff, #67e2d6);
    -webkit-background-clip: text;
    background-clip: text;
    animation: none;
}

body[data-homepage="1"][data-theme-pref="graphite"] .hp-stat-card,
body[data-homepage="1"][data-theme-pref="graphite"] .hp-showcase-card,
body[data-homepage="1"][data-theme-pref="graphite"] .hp-game-tile,
body[data-homepage="1"][data-theme-pref="graphite"] .hp-web-card,
body[data-homepage="1"][data-theme-pref="graphite"] .hp-category-card,
body[data-homepage="1"][data-theme-pref="graphite"] .hp-carousel,
body[data-homepage="1"][data-theme-pref="graphite"] .hp-activity-feed,
body[data-homepage="1"][data-theme-pref="graphite"] .hp-cta-card,
body[data-homepage="1"][data-theme-pref="graphite"] .hp-live-stat,
body[data-homepage="1"][data-theme-pref="graphite"] .hp-deepdive-wrap {
    border-radius: 10px;
    border-color: rgba(143, 170, 214, 0.24);
    box-shadow: none;
}

body[data-homepage="1"][data-theme-pref="graphite"] .hp-step-circle {
    width: 62px;
    height: 62px;
    border-radius: 10px;
    background: rgba(143, 184, 255, 0.09);
}

body[data-homepage="1"][data-theme-pref="graphite"] .hp-ticker-track span {
    border-radius: 9px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

@media (max-width: 700px) {
    body[data-homepage="1"][data-theme-pref="aurora"] .hp-hero,
    body[data-homepage="1"][data-theme-pref="ember"] .hp-hero,
    body[data-homepage="1"][data-theme-pref="graphite"] .hp-hero {
        border-radius: 14px;
    }
}

/* -- Structural layout variants by selected theme -- */
/* All sections span full width; themes only adjust gap between sections */
body[data-home-layout="aurora"] main,
body[data-home-layout="ember"] main,
body[data-home-layout="graphite"] main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hp-tilt {
    transition: transform 0.15s ease-out;
    will-change: transform;
}


