@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
    --bg: #0e1015;
    --surface: #14171f;
    --surface-raised: #1a1e28;
    --border: #252a36;
    --text: #ffffff;
    --text-muted: #9aa3b2;
    --text-soft: #c8cdd6;
    --accent-red: #c1234f;
    --accent-red-hover: #a7284c;
    --accent-blue: #7289da;
    --accent-teal: #42b9c2;
    --nav-bg: #0c0e13;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    background-color: var(--bg);
    margin: 0;
    font-family: Inter, Roboto, Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("https://cdn.dyno.gg/landing/background-circle.svg");
    background-repeat: no-repeat;
    background-position: center 42%;
    background-size: 85vw;
    opacity: 0.28;
}

nav,
.main-content,
.site-footer {
    position: relative;
    z-index: 1;
}

/* ── Nav (full bleed) ── */
nav {
    background-color: var(--nav-bg);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 16px 56px;
}

.logoblock {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.navbar-logo { height: 36px; }

.title {
    color: var(--text);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-left: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 4px;
    min-width: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav_head {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    padding: 6px 10px;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.nav_head:hover { color: var(--text); }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    font-family: inherit;
    white-space: nowrap;
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.button.red { background-color: var(--accent-red); }
.button.red:hover { background-color: var(--accent-red-hover); }
.button.gray { background-color: #2e323d; }
.button.gray:hover { background-color: #242830; }

/* ── Main ── */
.main-content {
    flex: 1;
    width: 100%;
    padding: 104px 48px 40px;
}

.desk-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.verify-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 36px 44px 32px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

/* Panel header */
.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.panel-server {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

img.server-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

.panel-server .server-name {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.panel-server .server-members {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.verify-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-red);
    background: rgba(193, 35, 79, 0.1);
    border: 1px solid rgba(193, 35, 79, 0.35);
}

.verify-badge svg { flex-shrink: 0; }

.panel-intro {
    margin: 0 0 32px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-soft);
    font-weight: 500;
}

.panel-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
}

.panel-steps {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding-right: 40px;
    border-right: 1px solid var(--border);
}

.panel-video {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding-left: 40px;
}

/* Steps */
.verification-steps {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 1;
}

.verification-steps li:first-child {
    padding-top: 0;
}

.verification-steps li {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.verification-steps li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--surface-raised);
    border: 1px solid var(--border);
    color: var(--accent-teal);
    font-size: 13px;
    font-weight: 700;
}

.step-content { flex: 1; min-width: 0; }

.step-content strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.step-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted);
    font-weight: 500;
}

.drag-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 28px;
    font-size: 14px;
    cursor: grab;
}

.drag-btn:active { cursor: grabbing; }

.keyboard-tip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 14px 16px;
    border-radius: 10px;
    background: var(--surface-raised);
    border: 1px solid var(--border);
}

.keyboard-tip-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.keyboard-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text);
}

.keyboard-shortcut kbd {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 4px;
    background: var(--surface);
    border: 1px solid #2e3440;
    font-family: inherit;
    font-size: 0.85em;
    color: var(--text);
}

/* Video */
.panel-video .video {
    width: 100%;
    height: auto;
    display: block;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface-raised);
}

.dyno-promo {
    margin-top: auto;
    padding: 14px 16px;
    border-radius: 8px;
    background: var(--surface-raised);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 14px;
}

.dyno-promo-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.dyno-promo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dyno-promo-text {
    flex: 1;
    min-width: 0;
}

.dyno-promo-text strong {
    display: block;
    margin-bottom: 3px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.dyno-promo-text p {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.45;
}

.dyno-promo .button {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 12px;
}

@media (max-width: 1100px) {
    .dyno-promo {
        flex-wrap: wrap;
    }

    .dyno-promo .button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* Panel footer */
.panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.panel-footer a {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 600;
}

.panel-footer a:hover { text-decoration: underline; }

/* Site footer */
.site-footer {
    text-align: center;
    padding: 32px 56px 40px;
    margin-top: auto;
    border-top: 1px solid var(--border);
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    width: 100%;
}

.site-footer .highlight {
    color: var(--accent-teal);
    font-weight: 600;
}

.mobile-only { display: none; }

/* Mobile */
.main-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.mobile-server-card {
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.mobile-server-card .panel-server {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
}

.mobile-server-card .panel-server-info {
    flex: 1;
    min-width: 0;
}

.mobile-server-card .server-name {
    margin: 0 0 2px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.mobile-server-card .server-members {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.mobile-server-card img.server-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    flex-shrink: 0;
}

.mobile-server-note {
    margin: 14px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.desktop-alert {
    display: flex;
    gap: 14px;
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.desktop-alert-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--surface-raised);
    color: var(--accent-blue);
}

.desktop-alert-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
}

.desktop-alert-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-muted);
    font-weight: 500;
}

.mobile-steps-card {
    padding: 20px 16px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.page-lead {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-soft);
    font-weight: 500;
}

.mobile-steps-card .verification-steps {
    margin-bottom: 16px;
}

.mobile-steps-card .verification-steps li {
    padding: 12px 0;
}

.mobile-steps-card .keyboard-tip {
    background: var(--surface-raised);
}

.mobile-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

.mobile-footer a {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 600;
}

.mobile-trust {
    margin: 20px 0 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

.mobile-trust .highlight {
    color: var(--accent-teal);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1100px) {
    .nav-links { display: none; }
    .nav-inner { padding: 16px 32px; }
}

@media (max-width: 900px) {
    .panel-body {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .panel-steps {
        padding-right: 0;
        border-right: none;
        padding-bottom: 0;
        border-bottom: none;
    }

    .panel-video {
        padding-left: 0;
        order: -1;
    }
}

@media (max-width: 768px) {
    body::before {
        background-position: center -40px;
        background-size: 120vw;
        opacity: 0.35;
    }

    nav { position: relative; }

    .nav-inner {
        padding: 12px 16px;
        position: relative;
    }

    .desk { display: none; }

    .main-content {
        padding: 20px 16px 32px;
        max-width: 480px;
        margin: 0 auto;
    }

    .mobile-only { display: block; }

    .keyboard-tip {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .desk-content { display: none; }

    .nav-right {
        position: absolute;
        top: 12px;
        right: 16px;
    }

    .nav-right .button {
        padding: 7px 12px;
        font-size: 12px;
    }

    .site-footer { padding: 24px 20px; }
}

@media (min-width: 769px) {
    .main-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 100px 56px 48px;
    }

    .desk-content { width: 100%; }

    body::before {
        background-position: 72% 40%;
        background-size: 55vw;
    }
}
