*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, li, dl, dt, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

:root {
    color-scheme: dark;

    --bg: #0b0c0f;
    --bg-soft: #101218;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-strong: rgba(255, 255, 255, 0.058);
    --line: rgba(255, 255, 255, 0.075);
    --line-strong: rgba(255, 255, 255, 0.15);

    --ink: #e8eaee;
    --ink-dim: #a2a9b4;
    --ink-faint: #717986;

    --accent: #00baff;
    --accent-text: #5ecdf5;
    --accent-soft: rgba(0, 186, 255, 0.1);
    --gradient: linear-gradient(135deg, #00baff 0%, #1643ff 50%, #00d4ff 100%);

    --paid: #e2a93c;
    --free: #62c184;
    --private: #8b93a1;

    --radius: 12px;
    --radius-lg: 16px;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 10px 30px rgba(0, 0, 0, 0.3);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI Variable Text', 'Segoe UI', system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bg-gradient {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(70rem 40rem at 50% -12%, rgba(0, 186, 255, 0.065), transparent 70%),
        radial-gradient(55rem 38rem at 88% 12%, rgba(22, 67, 255, 0.04), transparent 70%),
        var(--bg);
}

h1, h2, h3 { font-weight: 700; line-height: 1.18; letter-spacing: -0.025em; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; }
strong { font-weight: 600; color: var(--ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-primary { background: var(--accent); border-color: var(--accent); color: #052430; }
.btn-primary:hover { background: #38c9ff; border-color: #38c9ff; }

.btn-outline { border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink-faint); background: var(--surface-strong); }

.btn-ghost { border-color: var(--line); color: var(--ink-dim); }
.btn-ghost:hover { border-color: var(--line-strong); background: var(--surface); color: var(--ink); }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.005em;
    color: var(--private);
}
.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}
.badge-paid { color: var(--paid); }
.badge-free { color: var(--free); }
.badge-private { color: var(--private); }

.tag {
    display: inline-block;
    padding: 0.24rem 0.6rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    font-size: 0.74rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--ink-dim);
    white-space: nowrap;
}

.footer {
    position: relative;
    border-top: 1px solid var(--line);
    padding: 2.5rem 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--ink-faint);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
