:root {
    --bg: #050505;
    --bg-deep: #000000;
    --panel: #101010;
    --panel-soft: #171717;
    --panel-glass: rgba(16, 16, 16, 0.78);
    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(239, 68, 68, 0.38);

    --text: #f5f5f5;
    --muted: #a3a3a3;
    --muted-light: #d4d4d4;

    --red: #ef4444;
    --red-dark: #991b1b;
    --red-soft: rgba(239, 68, 68, 0.14);

    --steel: #94a3b8;
    --discord: #5865f2;
    --green: #22c55e;
    --gold: #facc15;

    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-heavy: 0 30px 90px rgba(0, 0, 0, 0.60);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(239, 68, 68, 0.22), transparent 32%),
        radial-gradient(circle at top right, rgba(88, 101, 242, 0.13), transparent 28%),
        linear-gradient(180deg, #0a0a0a 0%, #050505 50%, #000000 100%);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.018) 0,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px,
            transparent 4px
        );
    opacity: 0.32;
    z-index: -1;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 5, 5, 0.88);
    backdrop-filter: blur(14px);
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.brand-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 16px rgba(239, 68, 68, 0.30));
}

.brand-fallback {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    font-weight: 900;
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: #fff;
}

.page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 56px 22px 72px;
}

.hero {
    min-height: 620px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--red-soft);
    color: #fecaca;
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.9px;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.9);
}

h1,
h2,
h3 {
    color: #fff;
}

h1 {
    margin: 22px 0 18px;
    font-size: clamp(2.7rem, 6vw, 5.9rem);
    line-height: 0.92;
    letter-spacing: -2.7px;
    text-transform: uppercase;
}

h2 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -1.4px;
    text-transform: uppercase;
}

.hero-copy {
    max-width: 760px;
    margin: 0 0 28px;
    color: var(--muted-light);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 999px;
    border: 0;
    text-decoration: none;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--red);
    color: white;
    box-shadow: 0 16px 42px rgba(239, 68, 68, 0.25);
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.button-discord {
    background: var(--discord);
    color: white;
    box-shadow: 0 16px 42px rgba(88, 101, 242, 0.25);
}

.hero-card,
.feature-card,
.sample-release,
.launch-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
        var(--panel-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
}

.hero-card {
    padding: 24px;
}

.archive-logo-wrap {
    display: flex;
    justify-content: center;
    margin: 10px 0 22px;
}

.archive-logo {
    max-width: 270px;
    width: 80%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 32px rgba(239, 68, 68, 0.24));
}

.status-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.status-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.32);
    border-radius: var(--radius-md);
}

.status-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    font-size: 0.85rem;
}

.status-icon.red {
    background: rgba(239, 68, 68, 0.16);
    color: #fca5a5;
}

.status-icon.gold {
    background: rgba(250, 204, 21, 0.14);
    color: #fde68a;
}

.status-icon.green {
    background: rgba(34, 197, 94, 0.14);
    color: #86efac;
}

.status-title {
    margin: 0 0 2px;
    font-weight: 900;
}

.status-text {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.section {
    margin-top: 78px;
}

.archive-page-section {
    margin-top: 0;
}

.section-header {
    max-width: 770px;
    margin-bottom: 26px;
}

.section-text {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    min-height: 225px;
    padding: 22px;
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tag {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d4d4d4;
    font-size: 0.88rem;
}

.sample-release {
    overflow: hidden;
}

.release-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.release-title {
    margin: 0;
    font-size: 1.35rem;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.28);
    color: #bbf7d0;
    font-weight: 900;
    font-size: 0.9rem;
}

.release-table {
    width: 100%;
    border-collapse: collapse;
}

.release-table th,
.release-table td {
    padding: 15px 22px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.release-table th {
    width: 230px;
    color: #fafafa;
    background: rgba(0, 0, 0, 0.24);
}

.release-table td {
    color: var(--muted-light);
}

.release-table tr:last-child th,
.release-table tr:last-child td {
    border-bottom: 0;
}

.launch-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 26px;
    border-color: rgba(239, 68, 68, 0.25);
    background:
        linear-gradient(135deg, rgba(239, 68, 68, 0.13), rgba(88, 101, 242, 0.08)),
        var(--panel);
}

.launch-panel h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.footer {
    margin-top: 80px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 0.92rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
}

/* Archive List Page */

.archive-toolbar {
    display: grid;
    grid-template-columns: 1fr 180px 180px auto auto;
    gap: 14px;
    align-items: end;
    margin: 28px 0 18px;
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
        var(--panel-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
}

.search-field,
.filter-field {
    display: grid;
    gap: 7px;
}

.search-field label,
.filter-field label {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.search-field input,
.filter-field select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.38);
    color: var(--text);
    outline: none;
}

.search-field input::placeholder {
    color: rgba(212, 212, 212, 0.55);
}

.search-field input:focus,
.filter-field select:focus {
    border-color: rgba(239, 68, 68, 0.7);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14);
}

.archive-count {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0 0 18px;
}

.archive-list {
    display: grid;
    gap: 14px;
}

.archive-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
        var(--panel-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
}

.archive-row-title {
    margin: 0 0 10px;
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
    letter-spacing: -0.03em;
    text-transform: none;
}

.archive-row-title a {
    text-decoration: none;
}

.archive-row-title a:hover {
    color: #fca5a5;
}

.archive-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #d4d4d4;
    font-size: 0.84rem;
    font-weight: 800;
}

.meta-pill-red {
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.32);
    color: #fecaca;
}

.archive-summary {
    margin: 12px 0 0;
    color: var(--muted);
}

.archive-summary strong {
    color: var(--muted-light);
}

.archive-notes {
    margin: 10px 0 0;
    color: var(--muted);
    max-width: 860px;
}

.empty-state {
    padding: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
        var(--panel-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.empty-state h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--muted);
    margin: 0;
}

.pagination-wrap {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
}

.pagination-wrap a,
.pagination-current,
.pagination-disabled {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    text-decoration: none;
    font-size: 0.92rem;
}

.pagination-disabled {
    color: rgba(212, 212, 212, 0.45);
}

.pagination-current {
    color: var(--muted-light);
}

/* Release Detail Page */

.breadcrumb {
    margin: 0 0 24px;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb a {
    color: #fca5a5;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #fff;
}

.release-hero-detail {
    padding: 0 0 24px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 18px;
    align-items: start;
    margin-top: 18px;
}

.data-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
        var(--panel-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.data-panel > h2 {
    font-size: 1.55rem;
    padding: 20px 22px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notes-block {
    padding: 20px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.notes-block h3 {
    margin: 0 0 8px;
}

.notes-block p {
    margin: 0;
    color: var(--muted-light);
}

.variant-list {
    display: grid;
    gap: 18px;
}

.variant-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
        var(--panel-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

/* Responsive */

@media (max-width: 980px) {
    .archive-toolbar {
        grid-template-columns: 1fr;
    }

    .archive-row {
        grid-template-columns: 1fr;
    }

    .archive-row .button {
        width: 100%;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

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

    .launch-panel {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }
}

@media (max-width: 560px) {
    .page {
        padding-top: 34px;
    }

    .brand span:last-child {
        font-size: 0.9rem;
    }

    h1 {
        letter-spacing: -1.6px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .release-table th,
    .release-table td {
        display: block;
        width: 100%;
    }

    .release-table th {
        padding-bottom: 4px;
    }

    .release-table td {
        padding-top: 4px;
    }

    .pagination-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .pagination-wrap a,
    .pagination-current,
    .pagination-disabled {
        justify-content: center;
    }
}