/* LotteryBox visual polish */

/* Larger golden brand logo */
.site-header .brand img {
    width: 62px !important;
    height: 62px !important;
    object-fit: contain;
    flex-shrink: 0;
}

.site-header .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-brand img {
    width: 45px !important;
    height: 45px !important;
    object-fit: contain;
}

/* More compact desktop layout */
@media (min-width: 901px) {
    .hero {
        padding-top: 28px !important;
        padding-bottom: 12px !important;
    }

    .tiers {
        padding-top: 12px !important;
        padding-bottom: 20px !important;
    }

    .metrics {
        margin-top: 16px !important;
        margin-bottom: 30px !important;
    }

    #how, #winners, #faq {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }
}

/* Tablet and mobile */
@media (max-width: 900px) {
    .site-header {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        gap: 14px;
        padding: 14px 20px !important;
    }

    .site-header .brand img {
        width: 52px !important;
        height: 52px !important;
    }

    .main-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .header-right {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding-top: 24px !important;
        padding-bottom: 16px !important;
    }

    .hero-copy, .hero-visual {
        min-width: 0;
        max-width: 100%;
    }

    .hero-visual img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .tier-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }

    #how, #winners, #faq {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }
}

@media (max-width: 600px) {
    .site-header {
        justify-content: center;
    }

    .site-header .brand {
        margin-right: auto;
    }

    .main-nav {
        width: 100%;
        justify-content: center;
        gap: 12px;
        order: 3;
    }

    .header-right {
        width: 100%;
        justify-content: center;
        order: 2;
    }

    .hero h1 {
        font-size: clamp(36px, 10vw, 54px) !important;
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    .tier-grid {
        grid-template-columns: 1fr !important;
    }

    .metrics {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .footer-brand img {
        width: 40px !important;
        height: 40px !important;
    }
}
/* Fix clipped letters in hero title */
.hero h1 {
    line-height: 1.18 !important;
    overflow: visible !important;
    padding-bottom: 0.14em !important;
}

.hero h1 span {
    display: block;
    line-height: 1.18 !important;
    overflow: visible !important;
    padding-bottom: 0.10em !important;
}


/* Compact LotteryBox statistics */
.metrics.wrap {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 16px !important;
    align-items: stretch;
}

.metrics.wrap .metric {
    min-width: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px !important;
    padding: 12px 8px !important;
    border-right: 0 !important;
}

.metrics.wrap .metric-symbol {
    font-size: 24px !important;
    flex-shrink: 0;
}

.metrics.wrap .metric span {
    font-size: 11px !important;
    letter-spacing: 1px;
}

.metrics.wrap .metric strong {
    display: block;
    font-size: 21px !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere;
}

.metrics.wrap .metric em {
    display: block;
    font-size: 11px !important;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .metrics.wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 420px) {
    .metrics.wrap {
        gap: 6px !important;
        padding: 10px !important;
    }

    .metrics.wrap .metric {
        gap: 5px !important;
        padding: 10px 4px !important;
    }

    .metrics.wrap .metric-symbol {
        font-size: 18px !important;
    }

    .metrics.wrap .metric strong {
        font-size: 16px !important;
    }

    .metrics.wrap .metric span,
    .metrics.wrap .metric em {
        font-size: 9px !important;
        letter-spacing: 0;
    }
}
/* Final responsive review: keep the four live-stat cards readable on small phones. */
@media (max-width: 480px) {
  .metrics.wrap { grid-template-columns: 1fr !important; gap: 0 !important; padding: 10px 16px !important; }
  .metrics.wrap .metric { justify-content: flex-start !important; padding: 13px 10px !important; }
  .metrics.wrap .metric + .metric { border-top: 1px solid rgba(225,185,65,.20) !important; }
  .metrics.wrap .metric-symbol { font-size: 23px !important; width: 36px; }
  .metrics.wrap .metric strong { font-size: 20px !important; }
  .metrics.wrap .metric span, .metrics.wrap .metric em { font-size: 11px !important; }
  .site-header .brand img { width: 42px !important; height: 42px !important; }
}

/* Compact How It Works section and reduce gap before Winners */
#how.how { padding-top: 24px !important; padding-bottom: 8px !important; }
#how .section-intro { margin-bottom: 15px !important; max-width: 760px; }
#how .section-intro h2 { font-size: clamp(25px, 2.6vw, 34px) !important; line-height: 1.16; margin: 9px 0 10px !important; }
#how .section-intro p { font-size: 13px !important; line-height: 1.5; margin: 0 auto !important; }
#how .overline { font-size: 11px; }
#how .journey { gap: 14px !important; }
#how .journey-step { min-height: 130px !important; padding: 15px 18px !important; }
#how .journey-icon { font-size: 22px !important; margin-top: 5px !important; }
#how .journey-step h3 { font-size: 17px !important; margin: 6px 0 4px !important; }
#how .journey-step p { font-size: 12px !important; line-height: 1.45 !important; }
#winners.winners { padding-top: 20px !important; }
@media (max-width: 680px) {
  #how.how { padding-top: 20px !important; padding-bottom: 6px !important; }
  #how .section-intro { margin-bottom: 12px !important; }
  #how .journey { gap: 9px !important; }
  #how .journey-step { min-height: 0 !important; padding: 13px 15px !important; }
  #winners.winners { padding-top: 16px !important; }
}
