:root {
    --p: #030b18;
    --p-surface: rgba(10, 25, 48, 0.72);
    --p-card: rgba(14, 32, 60, 0.65);
    --s: #133b78;
    --s-light: #1e56a8;
    --t: #0d8cf1;
    --t-glow: rgba(13, 140, 241, 0.35);
    --cyan: #38bdf8;
    --cyan-glow: rgba(56, 189, 248, 0.25);
    --green: #22c55e;
    --green-glow: rgba(34, 197, 94, 0.25);
    --acc: #050505;
    --text: #f8fafc;
    --text-dim: rgba(248, 250, 252, 0.75);
    --text-faint: rgba(248, 250, 252, 0.45);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-hover-border: rgba(56, 189, 248, 0.45);
    --hair: rgba(255, 255, 255, 0.08);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--p);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

img,
svg {
    display: block;
}

.wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
}

/* ---------- Background Effects ---------- */
.scene {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--p);
    overflow: hidden;
    pointer-events: none;
}

.scene::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(70% 55% at 85% -5%, rgba(13, 140, 241, 0.22), transparent 70%),
        radial-gradient(50% 45% at -5% 25%, rgba(19, 59, 120, 0.45), transparent 70%),
        radial-gradient(60% 50% at 50% 100%, rgba(13, 140, 241, 0.18), transparent 70%);
}

.aurora {
    position: absolute;
    filter: blur(100px);
    opacity: 0.45;
    border-radius: 50%;
    mix-blend-mode: screen;
}

.aurora.a1 {
    width: 680px;
    height: 680px;
    top: -240px;
    right: -180px;
    background: radial-gradient(circle, var(--cyan) 0%, var(--t) 70%);
    animation: drift 28s ease-in-out infinite alternate;
}

.aurora.a2 {
    width: 580px;
    height: 580px;
    top: 45%;
    left: -180px;
    background: radial-gradient(circle, var(--s-light) 0%, var(--s) 70%);
    animation: drift 35s ease-in-out infinite alternate-reverse;
}

.aurora.a3 {
    width: 480px;
    height: 480px;
    bottom: -150px;
    right: 15%;
    background: var(--t);
    opacity: 0.25;
    animation: drift 32s ease-in-out infinite;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(35px, -25px) scale(1.08);
    }

    100% {
        transform: translate(-30px, 30px) scale(0.95);
    }
}

.frost-grid {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(to right, #ffffff 1px, transparent 1px),
        linear-gradient(to bottom, #ffffff 1px, transparent 1px);
    background-size: 60px 60px;
}

.grain {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Defined Header ---------- */
header.site {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(3, 11, 24, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--hair);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.site-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    gap: 20px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(13, 140, 241, 0.1));
    border: 1px solid rgba(56, 189, 248, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(13, 140, 241, 0.25);
    transition: all 0.3s ease;
}

.brand-link:hover .brand-icon {
    transform: scale(1.05) rotate(3deg);
    border-color: var(--cyan);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.brand-icon img {
    width: 22px;
    height: 22px;
    color: var(--cyan);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wordmark {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
}

.wordmark .part-name {
    color: #ffffff;
}

.wordmark .part-tld {
    color: var(--cyan);
    font-weight: 500;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-dim);
    position: relative;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--t), var(--cyan));
    transition: width 0.25s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-fill {
    background: linear-gradient(135deg, var(--t) 0%, #0b76ce 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 18px rgba(13, 140, 241, 0.35);
}

.btn-fill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 140, 241, 0.5);
    background: linear-gradient(135deg, #1fa1ff 0%, var(--t) 100%);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ---------- Hero Section ---------- */
.hero {
    padding: 76px 0 64px;
    text-align: center;
    position: relative;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 140, 241, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 999px;
    padding: 6px 15px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--cyan);
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(13, 140, 241, 0.15);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

.hero h1 {
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    max-width: 860px;
    margin: 0 auto;
    letter-spacing: -0.035em;
    background: linear-gradient(180deg, #ffffff 30%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--cyan) 50%, var(--t) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .sub {
    margin: 20px auto 0;
    max-width: 580px;
    font-size: 1.15rem;
    color: var(--text-dim);
    font-weight: 400;
}

.hero .fine {
    margin-top: 16px;
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--cyan);
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}

/* ---------- Main Sections Shared ---------- */
section.section-block {
    padding: 72px 0;
    position: relative;
}

.section-header {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section-header.centered {
    text-align: center;
    align-items: center;
}

.section-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--cyan);
    font-weight: 600;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #ffffff;
}

.section-desc {
    color: var(--text-dim);
    font-size: 1.02rem;
    max-width: 600px;
}

/* ---------- Section 1: Overview 3 Boxes ---------- */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.overview-card {
    background: var(--p-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.overview-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.overview-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-hover-border);
    box-shadow: 0 16px 36px rgba(0, 17, 44, 0.6), 0 0 24px var(--cyan-glow);
    background: var(--p-card);
}

.card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(13, 140, 241, 0.08));
    border: 1px solid rgba(56, 189, 248, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--cyan);
    transition: all 0.3s ease;
}

.overview-card:hover .card-icon-wrap {
    transform: scale(1.1);
    color: #ffffff;
    background: linear-gradient(135deg, var(--t), var(--cyan));
    box-shadow: 0 0 20px var(--t-glow);
}

.card-icon-wrap svg {
    width: 26px;
    height: 26px;
    stroke-width: 2;
}

.card-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cyan);
    margin-bottom: 8px;
}

.overview-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    line-height: 1.25;
    color: #ffffff;
}

.overview-card p {
    color: var(--text-dim);
    font-size: 0.94rem;
    line-height: 1.6;
    flex-grow: 1;
}

.overview-card .small-text {
    font-size: 0.82rem;
    color: var(--text-faint);
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--hair);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ---------- Section 2: Game Servers Hosted ---------- */
.server-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.server-card {
    background: var(--p-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    height: 100%;
}

.server-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 65%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.server-card:hover {
    border-color: var(--glass-hover-border);
    transform: translateY(-6px);
    background: var(--p-card);
    box-shadow: 0 16px 36px rgba(0, 17, 44, 0.6), 0 0 24px var(--cyan-glow);
}

.server-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.server-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: var(--text-dim);
}

.server-status-pill .indicator-dot {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6b7280;
    box-shadow: 0 0 6px #6b7280;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.server-status-pill .indicator-dot.online {
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
}

.server-status-pill .indicator-dot.offline {
    background: #ef4444;
    box-shadow: 0 0 6px #ef4444;
}

.server-status-pill .indicator-dot.unknown {
    background: #6b7280;
    box-shadow: 0 0 6px #6b7280;
}

.server-status-pill .indicator-dot.available {
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
}

.server-status-pill .indicator-dot.private {
    background: #a855f7;
    box-shadow: 0 0 6px #a855f7;
}

.server-status-pill .indicator-dot.taken {
    background: #ef4444;
    box-shadow: 0 0 6px #ef4444;
}

.server-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(13, 140, 241, 0.08));
    border: 1px solid rgba(56, 189, 248, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    transition: transform 0.3s ease;
}

.server-card:hover .server-icon {
    transform: scale(1.08);
    background: linear-gradient(135deg, var(--t), var(--cyan));
    color: #ffffff;
    box-shadow: 0 0 16px var(--t-glow);
}

.server-icon svg {
    width: 22px;
    height: 22px;
}

.server-card h3 {
    font-size: 1.35rem;
    margin-bottom: 6px;
    color: #ffffff;
    line-height: 1.25;
}

.server-subtitle {
    color: var(--cyan);
    font-size: 0.82rem;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 14px;
    font-weight: 500;
}

.server-desc {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Hardware Specs Box */
.server-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 14px 14px;
    margin-bottom: 20px;
}

.spec-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 10px;
    align-items: center;
}

.spec-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cyan);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 3px 0;
    border-radius: 4px;
    text-align: center;
    line-height: 1;
}

.spec-val {
    color: #f1f5f9;
    font-weight: 500;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.82rem;
    line-height: 1.35;
    word-break: break-word;
}

/* Connect / Copy IP Box */
.server-connect {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ip-display {
    flex: 1;
    background: rgba(3, 11, 24, 0.85);
    border: 1px solid var(--hair);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.76rem;
    color: var(--cyan);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: all;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.btn-copy-ip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--t), #0b76ce);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-copy-ip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px var(--t-glow);
    background: linear-gradient(135deg, #1fa1ff, var(--t));
}

.btn-copy-ip.copied {
    background: var(--green);
    border-color: var(--green);
    box-shadow: 0 0 14px var(--green-glow);
}

.server-card.request-card {
    border: 2px dashed rgba(56, 189, 248, 0.3);
    background: rgba(13, 140, 241, 0.03);
}

.server-card.request-card:hover {
    border-color: var(--cyan);
    background: rgba(13, 140, 241, 0.08);
}

/* ---------- Section 3: Friend Grid & Community ---------- */
.crew-wrapper {
    background: linear-gradient(180deg, rgba(13, 33, 64, 0.45) 0%, rgba(3, 11, 24, 0.65) 100%);
    border: 1px solid var(--hair);
    border-radius: 24px;
    padding: 44px 36px;
}

.friend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.friend-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--hair);
    border-radius: var(--radius-md);
    padding: 26px 20px;
    text-align: center;
    transition: all 0.25s ease;
    position: relative;
}

.friend-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.friend-card .avatar {
    width: 114px;
    height: 114px;
    border-radius: 50%;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--s), var(--t));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: #ffffff;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(13, 140, 241, 0.35);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.friend-card .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.friend-card h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.friend-card .role {
    color: var(--cyan);
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 8px;
}

.friend-card .status {
    color: var(--text-faint);
    font-size: 0.82rem;
    font-style: italic;
}

.friend-card.join-card {
    border: 2px dashed rgba(56, 189, 248, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(13, 140, 241, 0.04);
    cursor: pointer;
    min-height: 220px;
}

.friend-card.join-card:hover {
    border-color: var(--cyan);
    background: rgba(13, 140, 241, 0.1);
}

.join-plus {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.8rem;
    font-weight: 600;
}

/* ---------- Say Hi / Discord Modal ---------- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(2, 6, 15, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: rgba(10, 25, 48, 0.95);
    border: 1px solid var(--glass-hover-border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px var(--cyan-glow);
    border-radius: var(--radius-lg);
    max-width: 440px;
    width: 100%;
    padding: 32px 28px;
    position: relative;
    transform: scale(0.92) translateY(12px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.show .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--hair);
    color: var(--text-dim);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--t), var(--cyan));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 0 20px var(--t-glow);
}

.modal-icon svg {
    width: 24px;
    height: 24px;
}

.modal-header h3 {
    font-size: 1.35rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 0.88rem;
    color: var(--text-dim);
}

.contact-card {
    background: rgba(3, 11, 24, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon.discord-icon {
    background: #5865F2;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.4);
}

.contact-card-icon svg {
    width: 22px;
    height: 22px;
}

.contact-card-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 0.72rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-val {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #ffffff;
}

/* ---------- Privacy Modal Specifics ---------- */
.modal-card.modal-privacy-card {
    max-width: 640px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    padding: 36px 30px;
}

.modal-card.modal-privacy-card .modal-body {
    overflow-y: auto;
    padding-right: 8px;
    margin-top: 10px;
}

.modal-card.modal-privacy-card .modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-card.modal-privacy-card .modal-body::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.25);
    border-radius: 4px;
}

.privacy-section {
    margin-bottom: 22px;
    background: rgba(3, 11, 24, 0.6);
    border: 1px solid var(--hair);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h4 {
    font-size: 1.05rem;
    color: var(--cyan);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.privacy-section p,
.privacy-section ul {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.65;
}

.privacy-section ul {
    margin-top: 8px;
    padding-left: 20px;
}

.privacy-section li {
    margin-bottom: 4px;
}

.privacy-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    font-size: 0.76rem;
    font-family: 'JetBrains Mono', monospace;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

/* ---------- Toast Notification ---------- */
.toast-notice {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: rgba(10, 25, 48, 0.95);
    border: 1px solid var(--cyan);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--cyan-glow);
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1100;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.toast-notice.show {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Footer ---------- */
footer.site {
    margin-top: auto;
    border-top: 1px solid var(--hair);
    background: rgba(2, 6, 15, 0.85);
    padding: 42px 0 32px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-brand .wordmark {
    font-size: 1rem;
}

.footer-brand .tagline {
    color: var(--text-faint);
    font-size: 0.82rem;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-nav a {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-nav a:hover {
    color: var(--cyan);
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--hair);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-faint);
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 960px) {

    .overview-grid,
    .server-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .site-nav {
        display: none;
    }
}

@media (max-width: 640px) {
    .wrap {
        padding: 0 18px;
    }

    .hero {
        padding: 48px 0 36px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .crew-wrapper {
        padding: 24px 18px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .toast-notice {
        bottom: 16px;
        right: 16px;
        left: 16px;
        justify-content: center;
    }
}

.managed {
  display: inline-flex;
  width: fit-content;
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.12);
  text-shadow: 0 0 7px #fff;
}
