@import url("https://api.fontshare.com/v2/css?f[]=archivo@300,400,500,600,700,800&f[]=clash-display@400,500,600,700&display=swap");

:root {
    --background: #111317;
    --surface: rgba(22, 25, 31, 0.92);
    --surface-light: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.14);
    --text: #f5f7fa;
    --muted: #aeb5c0;
    --accent: #65e6c4;
    --danger: #ff6262;
    --font-body: "Archivo", sans-serif;
    --font-display: "Clash Display", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(101, 230, 196, 0.12), transparent 35rem),
        var(--background);
    font-family: var(--font-body);
    line-height: 1.6;
}

a {
    color: inherit;
}

button {
    font: inherit;
}

.guide-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 68px;
    padding: 0.65rem clamp(1rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    background: rgba(5, 6, 8, 0.9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.guide-brand {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-display);
    font-weight: 600;
    text-decoration: none;
}

.guide-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.guide-nav,
.guide-account {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guide-nav {
    justify-self: center;
}

.guide-nav a {
    padding: 0.45rem 0.65rem;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.guide-nav a:hover {
    color: var(--text);
}

.guide-account {
    justify-self: end;
}

.guide-account form {
    display: flex;
}

.guide-main {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.guide-hero {
    min-height: 360px;
    padding: clamp(5rem, 10vw, 8rem) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.guide-hero h1 {
    max-width: 850px;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 7vw, 5.8rem);
    line-height: 0.95;
}

.guide-hero > p:last-child {
    max-width: 680px;
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.guide-eyebrow {
    margin-bottom: 0.75rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.guide-section {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    border-top: 1px solid var(--border);
}

.guide-section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.guide-section-heading h2 {
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
}

.guide-section-heading > p:last-child {
    color: var(--muted);
}

.site-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.site-card {
    min-height: 310px;
    display: grid;
    grid-template-columns: 38% 1fr;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.site-card-image {
    min-height: 100%;
    overflow: hidden;
}

.site-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.72);
}

.site-card-content {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-card-category {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-card h3,
.registration-card h3,
.link-group h3 {
    font-family: var(--font-display);
}

.site-card h3 {
    margin: 0.2rem 0 0.55rem;
    font-size: 1.65rem;
}

.site-card-content > p:not(.site-card-category) {
    color: var(--muted);
}

.access-info {
    width: 100%;
    margin: 1.2rem 0;
    padding: 0.85rem;
    color: var(--muted);
    background: var(--surface-light);
    border-radius: 10px;
    font-size: 0.85rem;
}

.access-info strong,
.access-info span {
    color: var(--text);
}

.guide-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.65rem 1rem;
    color: #07100e;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.site-card .guide-button {
    margin-top: auto;
}

.guide-button-secondary {
    color: var(--text);
    background: transparent;
    border-color: var(--border);
}

.guide-button-danger {
    color: var(--text);
    background: transparent;
    border-color: rgba(255, 98, 98, 0.45);
}

.registration-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.registration-card,
.guide-notice,
.link-group {
    padding: clamp(1.25rem, 3vw, 2rem);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.registration-card h3 {
    margin-bottom: 1.25rem;
    font-size: 1.55rem;
}

.steps {
    display: grid;
    gap: 1rem;
    list-style: none;
}

.steps li {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: start;
    gap: 0.8rem;
    color: var(--muted);
}

.steps span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #07100e;
    background: var(--accent);
    border-radius: 50%;
    font-weight: 800;
}

.guide-notice {
    margin: 1rem 0;
    border-left: 4px solid var(--accent);
}

.guide-notice p {
    margin-top: 0.35rem;
    color: var(--muted);
}

.link-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.link-group h3 {
    margin-bottom: 1rem;
}

.link-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.link-card:hover {
    background: var(--surface-light);
}

.link-card span:first-child {
    display: grid;
}

.link-card small {
    color: var(--muted);
}

.guide-footer {
    margin-top: 3rem;
    padding: 1.5rem clamp(1rem, 4vw, 3rem);
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    background: #050608;
    border-top: 1px solid var(--border);
}

.guide-footer a {
    color: var(--text);
}

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

    .guide-account {
        justify-self: end;
    }

    .guide-nav {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .site-grid,
    .registration-grid,
    .link-groups {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    html {
        scroll-padding-top: 135px;
    }

    .guide-header {
        gap: 0.5rem;
    }

    .guide-brand span {
        display: none;
    }

    .guide-logo {
        width: 36px;
        height: 36px;
    }

    .guide-nav {
        width: 100%;
        justify-content: space-between;
    }

    .guide-nav a {
        padding: 0.4rem;
        font-size: 0.73rem;
    }

    .guide-button {
        padding: 0.55rem 0.75rem;
        font-size: 0.74rem;
    }

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

    .site-card-image {
        height: 190px;
    }

    .guide-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
}
