:root {
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
}

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

:root {
    color-scheme: dark;
    --mint: #a6eacb;
    --cream: #f2f3e9;
    --graphite: #101815;
    --sage: #b8c9bf;
    --edge: #2c3d35;
}

html { scroll-behavior: smooth; }

body {
    background: radial-gradient(ellipse at 75% 14rem, #213b30 0, transparent 38rem), var(--graphite);
    color: var(--cream);
    font: 400 1rem/1.6 var(--font-body);
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }

.container {
    width: min(1100px, calc(100% - 48px));
    margin-inline: auto;
}

.site-header {
    background: #101815;
    border-bottom: 1px solid var(--edge);
}

.site-nav {
    min-height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    font: 700 clamp(1.05rem, 3vw, 1.4rem)/1.2 var(--font-heading);
    letter-spacing: -0.055em;
}

.wordmark img { flex: none; }
.wordmark-name > span, .hero h1 span { color: var(--mint); }

.nav-link {
    color: var(--sage);
    white-space: nowrap;
    font-size: 0.875rem;
}

.nav-link span { margin-inline-start: 4px; color: var(--mint); }
.nav-link:hover { color: var(--cream); }

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    overflow: hidden;
    min-height: clamp(420px, 42vw, 620px);
    padding: 72px 8px;
    text-align: center;
}

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

.hero-label {
    color: var(--mint);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero h1 {
    margin-block: 14px 20px;
    font: 700 clamp(2.15rem, 9vw, 8rem)/1 var(--font-heading);
    letter-spacing: -0.09em;
}

.hero h1 span {
    background: linear-gradient(105deg, #cdf9e5, #7ed7b1);
    background-clip: text;
    color: transparent;
}
.hero-description { color: var(--sage); }

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
    padding: 11px 16px;
    border-radius: 8px;
    background: var(--mint);
    color: #12251c;
    font-size: 0.875rem;
    font-weight: 700;
}

.hero-link:hover { background: #cdf7df; }

.hero-art {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, #416f564d, transparent 65%);
    mask-image: radial-gradient(ellipse at center, #000 35%, transparent 76%);
}

.hero-orbit {
    position: absolute;
    inset: 50% auto auto 50%;
    translate: -50% -50%;
    border: 1px solid #8cdbb658;
    border-radius: 50%;
    box-shadow: 0 0 24px #6bcaa21a, inset 0 0 24px #6bcaa21a;
}

.hero-orbit::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b8ffde;
    box-shadow: 0 0 7px 2px #8cebc0, 0 0 20px 5px #68d8a787;
}

.hero-orbit--outer {
    width: 92%;
    height: 56%;
    transform: rotate(-17deg);
}

.hero-orbit--middle {
    width: 76%;
    height: 75%;
    transform: rotate(17deg);
}

.hero-orbit--middle::after {
    right: auto;
    left: -3px;
}

.hero-orbit--inner {
    width: 67%;
    height: 38%;
    transform: rotate(-9deg);
    opacity: 0.65;
}

.featured {
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid #3a5145;
    border-radius: 16px;
    background: #17251e;
}

.featured h2 {
    margin-bottom: 12px;
    font: 700 1.125rem/1.3 var(--font-heading);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(225px, 100%), 1fr));
    gap: 10px;
    list-style: none;
}

.featured-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 8px 12px;
    border: 1px solid var(--edge);
    border-radius: 10px;
    background: #101815;
}

.featured-card:hover { border-color: #658a77; }

.featured-logo {
    display: grid;
    place-items: center;
    flex: 0 0 64px;
}

.featured-logo img {
    display: block;
    max-width: 100%;
    max-height: 38px;
    border-radius: 4px;
}

.featured-info {
    display: grid;
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.featured-score {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin-top: 3px;
    color: var(--mint);
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
}

.mint-rating {
    display: inline-flex;
    gap: 3px;
}

.mint-rating i {
    width: 14px;
    height: 14px;
    border: 1px solid #527868;
    border-radius: 50%;
    background: #274137;
    overflow: hidden;
}

.mint-rating i::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: repeating-conic-gradient(from 18deg, #d9f7e7 0deg 36deg, #74c4a2 36deg 72deg);
}

.mint-rating i:last-child::before {
    clip-path: inset(0 calc(100% - var(--last-mint)) 0 0);
}

@media (prefers-reduced-motion: no-preference) {
    .mint-rating i { transition: transform 180ms ease; }
    .featured-card:is(:hover, :focus-visible) .mint-rating i {
        transform: translateY(-2px) rotate(-24deg);
    }
}
.featured-arrow { color: var(--sage); }

.offers {
    padding-block: 24px 72px;
    border-top: 1px solid var(--edge);
    scroll-margin-top: 24px;
}

.offers h2 {
    margin-bottom: 8px;
    font: 700 1.5rem/1.2 var(--font-heading);
    letter-spacing: -0.035em;
}

.site-footer {
    padding-block: 38px;
    background: #141e19;
    border-top: 1px solid var(--edge);
}

.footer-inner { display: grid; gap: 14px; }
.footer-disclaimer { max-width: 72ch; color: var(--sage); font-size: 0.875rem; }
.footer-disclaimer strong { color: var(--cream); }
.footer-responsible {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-size: 0.875rem;
}

.footer-responsible h2 { font-size: inherit; }

.footer-responsible a {
    padding: 4px 10px;
    border: 1px solid #3a5145;
    border-radius: 999px;
    color: var(--mint);
}

.footer-responsible a:hover { background: #213b30; }

.footer-copy { color: var(--sage); font-size: 0.75rem; }

@media (max-width: 650px) {
    .container { width: calc(100% - 32px); }
    .hero { min-height: 360px; padding-block: 52px; }
    .offers { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 16px;
}

.sponsor-card {
    display: grid;
    grid-template-rows: auto auto 1fr auto auto auto;
    gap: 14px;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--edge);
    border-radius: 16px;
    background: linear-gradient(150deg, #1e2e25, #151f1a);
}

.sponsor-card:hover,
.sponsor-card:focus-within {
    border-color: #658a77;
}

.sponsor-banner {
    display: grid;
    place-items: center;
    height: 96px;
    padding: 10px 12px;
    overflow: hidden;
    border: 1px solid var(--edge);
    border-radius: 10px;
    background: #101815;
}

.sponsor-banner img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(100%, 174px);
    max-height: 74px;
    object-fit: contain;
    border-radius: 4px;
}

.sponsor-banner--light img {
    max-height: 64px;
    padding: 4px;
    background: #fff;
}

.sponsor-banner--flappy img {
    width: 174px;
    height: 56px;
    object-fit: cover;
}

.sponsor-card-header,
.sponsor-btn,
.sponsor-deposit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sponsor-name {
    overflow-wrap: anywhere;
    font: 700 1.25rem/1.2 var(--font-heading);
    letter-spacing: -0.035em;
}

.sponsor-badge {
    flex: none;
    padding: 2px 7px;
    border: 1px solid #3a5145;
    border-radius: 5px;
    color: var(--sage);
    font-size: 0.7rem;
}

.sponsor-btn {
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--mint);
    color: #12251c;
    font-size: 0.875rem;
    font-weight: 700;
}

.sponsor-btn:hover { background: #cdf7df; }


.sponsor-deposit {
    padding-top: 11px;
    border-top: 1px solid var(--edge);
    color: var(--sage);
    font-size: 0.8rem;
}

.sponsor-deposit strong { color: var(--cream); }

@media (prefers-reduced-motion: no-preference) {
    .has-reveal .reveal {
        opacity: 0;
        translate: 0 18px;
        transition: opacity 0.45s ease, translate 0.45s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
    }

    .has-reveal .reveal.visible,
    .has-reveal .reveal:focus-within {
        opacity: 1;
        translate: 0;
    }
}

.offers-note {
    margin-bottom: 20px;
    color: var(--sage);
    font-size: 0.875rem;
}

.sponsor-attributes {
    padding-block: 11px;
    border-block: 1px solid var(--edge);
}

.sponsor-attributes dt {
    margin-bottom: 4px;
    color: var(--sage);
    font-size: 0.75rem;
}

.sponsor-attributes strong {
    color: var(--cream);
    font-size: 0.9375rem;
}

.sponsor-offer-detail {
    margin-top: 4px;
    color: var(--sage);
    font-size: 0.75rem;
}

.sponsor-crypto {
    color: var(--mint);
    width: fit-content;
    padding: 2px 8px;
    border: 1px solid #3a5145;
    border-radius: 5px;
    font-size: 0.75rem;
}

.sponsor-btn { grid-row: 5; }
.sponsor-deposit { grid-row: 6; }
