/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg: #0a0a0a;
    --surface: #111111;
    --border: rgba(255,255,255,0.07);
    --text: #ffffff;
    --muted: #888888;
    --subtle: #444444;
    --font: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

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

html, body { height: 100%; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

/* ── Header ── */
.topbar {
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar h1 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text);
}

.topbar-badge {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 12px;
}

/* ── Hero ── */
.hero {
    max-width: 680px;
    margin: 0 auto;
    padding: 80px 40px 64px;
    text-align: center;
}

.hero h2 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 16px;
}

.hero p {
    font-size: 17px;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.6;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
}


.slots-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.slots-counter {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 14px;
}

.hero-cta {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    background: #fff;
    border-radius: 999px;
    padding: 12px 28px;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.hero-cta:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* ── Wrap ── */
.wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

/* ── Grid ── */
.grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
}

@media (max-width: 1200px) {
    .grid { grid-template-columns: repeat(8, 1fr); }
    .card { padding: 18px 10px; }
    .logo { width: 60px; height: 60px; }
}
@media (max-width: 960px) {
    .grid { grid-template-columns: repeat(6, 1fr); }
    .wrap { padding: 0 24px 60px; }
    .hero { padding: 56px 24px 48px; }
    .topbar { padding: 0 24px; }
    .footer { padding: 24px; }
}
@media (max-width: 700px) {
    .grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
    .card { padding: 14px 8px; gap: 6px; }
    .logo { width: 52px; height: 52px; }
    .name { font-size: 11px; }
    .slogan { display: none; }
    .price { font-size: 11px; padding: 2px 8px; }
}
@media (max-width: 500px) {
    .grid { grid-template-columns: repeat(4, 1fr); }
    .wrap { padding: 0 12px 48px; }
    .hero { padding: 40px 16px 32px; }
    .topbar { padding: 0 16px; }
    .footer { padding: 20px 16px; }
    .logo { width: 44px; height: 44px; }
}
@media (max-width: 360px) {
    .grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Card ── */
.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 14px;
    border-radius: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    min-width: 0;
}

.card:hover {
    background: var(--surface);
    border-color: var(--border);
}

.logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #555555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.card:nth-child(10n+1) .logo { background: #e879f9; }
.card:nth-child(10n+2) .logo { background: #818cf8; }
.card:nth-child(10n+3) .logo { background: #60a5fa; }
.card:nth-child(10n+4) .logo { background: #34d399; }
.card:nth-child(10n+5) .logo { background: #fbbf24; }
.card:nth-child(10n+6) .logo { background: #f87171; }
.card:nth-child(10n+7) .logo { background: #a78bfa; }
.card:nth-child(10n+8) .logo { background: #2dd4bf; }
.card:nth-child(10n+9) .logo { background: #fb923c; }
.card:nth-child(10n+0) .logo { background: #4ade80; }

.card:hover .logo {
    transform: scale(1.06);
}

.name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.slogan {
    font-size: 11px;
    font-weight: 400;
    color: var(--muted);
    text-align: center;
    line-height: 1.5;
}

.price {
    font-size: 12px;
    font-weight: 600;
    color: #7dd3fc;
    text-align: center;
    letter-spacing: -0.01em;
    text-decoration: none;
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 999px;
    padding: 3px 10px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.price:hover {
    background: rgba(125, 211, 252, 0.1);
    border-color: rgba(125, 211, 252, 0.4);
}

/* ── Section label ── */
.section-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--subtle);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

/* ── Footer ── */
.footer {
    border-top: 1px solid var(--border);
    padding: 24px 40px;
    text-align: center;
    font-size: 13px;
    color: var(--subtle);
}

.footer small {
    font-size: 13px;
    color: var(--subtle);
    font-weight: 400;
}

.footer-link {
    color: #7dd3fc;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-revenue {
    color: #7dd3fc;
    font-weight: 600;
}

/* ── Empty state ── */
.empty {
    grid-column: 1 / -1;
    padding: 60px 0;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.visually-hidden {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px);
    white-space: nowrap;
}
