/* ============================================================
   GravityFalls Network — Minecraft Server CSS
   oyna.cayvoy.com
   Font: Outfit (Google Fonts)
   ============================================================ */

/* ── RESET ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #090b0e;
    --bg-2: #0f1318;
    --bg-3: #161b24;
    --bg-4: #1c2330;
    --border: #1e2738;
    --border-2: #283347;
    --green: #22c55e;
    --green-dark: #166534;
    --green-glow: rgba(34, 197, 94, 0.18);
    --green-dim: rgba(34, 197, 94, 0.08);
    --yellow: #f59e0b;
    --yellow-dark: #92400e;
    --red: #ef4444;
    --blue: #3b82f6;
    --purple: #8b5cf6;
    --lime: #a3e635;
    --cyan: #06b6d4;
    --white: #f1f5f9;
    --text: #cbd5e1;
    --muted: #64748b;
    --muted-2: #94a3b8;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --font: 'Outfit', 'Segoe UI', sans-serif;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.7);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: var(--green);
    text-decoration: none;
}

img {
    max-width: 100%;
}

code {
    font-family: 'Courier New', monospace;
    background: var(--bg-3);
    border: 1px solid var(--border-2);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 0.9em;
    color: var(--green);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-2);
}

::-webkit-scrollbar-thumb {
    background: var(--border-2);
    border-radius: 3px;
}

/* ── CONTAINER ── */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    transition: all .18s ease;
}

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

.btn:active {
    transform: translateY(0);
}

.btn-green {
    background: var(--green);
    color: #05100a;
    box-shadow: 0 4px 0 var(--green-dark), 0 0 20px rgba(34, 197, 94, 0.2);
}

.btn-green:hover {
    background: #4ade80;
    box-shadow: 0 6px 0 var(--green-dark), 0 0 30px rgba(34, 197, 94, 0.3);
}

.btn-green:active {
    box-shadow: 0 1px 0 var(--green-dark);
}

.btn-outline {
    background: transparent;
    color: var(--muted-2);
    border: 2px solid var(--border-2);
}

.btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
}

.btn-white {
    background: #fff;
    color: #0a0e14;
    font-weight: 800;
}

.btn-white:hover {
    background: var(--lime);
    color: #0a0e14;
}

.btn-ghost {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
    font-weight: 600;
}

.btn-ghost:hover {
    color: var(--red);
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 14px;
}

/* ════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 11, 14, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.navbar-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #166534, #22c55e);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 3px 0 #0a3d1a, 0 0 16px rgba(34, 197, 94, 0.2);
    transition: transform .2s;
    flex-shrink: 0;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--yellow);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

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

.nav-link {
    padding: 8px 14px;
    border-radius: 10px;
    color: var(--muted-2);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all .18s;
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.server-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: rgba(34, 197, 94, 0.07);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--green);
}

.s-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    flex-shrink: 0;
    animation: blink 1.8s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--bg-3);
    border: 1px solid var(--border-2);
    border-radius: 100px;
    color: var(--text);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all .18s;
}

.nav-user:hover {
    border-color: var(--green);
    color: var(--white);
}

.nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    image-rendering: pixelated;
    border: 2px solid var(--border-2);
}

/* ════════════════════════════════════════
   FLASH MESSAGES
   ════════════════════════════════════════ */
.flash {
    max-width: 700px;
    margin: 16px auto;
    padding: 14px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.92rem;
    text-align: center;
}

.flash a {
    text-decoration: underline;
}

.flash-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

.flash-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #86efac;
}

.flash-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #93c5fd;
}

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 24px;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(30, 39, 56, 0.45) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 39, 56, 0.45) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
    max-width: 760px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 20px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--green);
}

.hero-title {
    font-size: clamp(3rem, 9vw, 6rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: var(--white);
}

.hero-accent {
    background: linear-gradient(90deg, #22c55e 0%, #a3e635 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--muted-2);
    max-width: 540px;
    line-height: 1.7;
}

/* IP Widget */
.ip-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
    padding: 24px 32px;
    width: 100%;
    max-width: 420px;
}

.ip-tag {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
}

.ip-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-3);
    border: 2px solid var(--border-2);
    border-radius: var(--radius);
    padding: 13px 18px;
    cursor: pointer;
    transition: all .2s;
    font-family: var(--font);
    color: var(--text);
}

.ip-btn:hover {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.ip-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--yellow);
}

.ip-copy-icon {
    color: var(--muted);
}

.ip-status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    color: var(--muted-2);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Floating blocks */
.hero-blocks {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.block {
    position: absolute;
    font-size: 2rem;
    opacity: .12;
    animation: floatBlock 7s ease-in-out infinite;
}

.block-grass {
    top: 12%;
    left: 6%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.block-diamond {
    top: 25%;
    right: 7%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.block-sword {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
    animation-duration: 9s;
}

.block-fire {
    top: 55%;
    right: 12%;
    animation-delay: .5s;
    animation-duration: 6.5s;
}

.block-pick {
    top: 18%;
    left: 28%;
    animation-delay: 1.5s;
    animation-duration: 8.5s;
}

.block-shield {
    bottom: 18%;
    right: 22%;
    animation-delay: 3s;
    animation-duration: 7.5s;
}

@keyframes floatBlock {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    40% {
        transform: translateY(-22px) rotate(8deg);
    }

    70% {
        transform: translateY(8px) rotate(-4deg);
    }
}

/* ════════════════════════════════════════
   GAME MODES
   ════════════════════════════════════════ */
.modes-section {
    padding: 100px 0;
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(163, 230, 53, 0.07);
    border: 1px solid rgba(163, 230, 53, 0.18);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--lime);
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.section-sub {
    color: var(--muted-2);
    font-size: 1rem;
    margin-bottom: 52px;
}

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

.mode-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 30px 28px;
    position: relative;
    transition: all .28s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mode-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-2);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.mode-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
}

.mode-card p {
    font-size: 0.9rem;
    color: var(--muted-2);
    line-height: 1.6;
    flex: 1;
}

.mode-icon {
    font-size: 2.4rem;
}

.mode-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--green);
}

.mode-badge-hot {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: var(--red);
}

.mode-footer {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.mode-tag {
    padding: 4px 10px;
    background: var(--bg-3);
    border: 1px solid var(--border-2);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mode-survival {
    border-color: rgba(34, 197, 94, 0.15);
}

.mode-survival:hover {
    border-color: rgba(34, 197, 94, 0.35);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 40px rgba(34, 197, 94, 0.06);
}

.mode-bedwars {
    border-color: rgba(239, 68, 68, 0.15);
}

.mode-bedwars:hover {
    border-color: rgba(239, 68, 68, 0.3);
}

.mode-skyblock {
    border-color: rgba(59, 130, 246, 0.15);
}

.mode-skyblock:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.mode-pvp {
    border-color: rgba(234, 179, 8, 0.15);
}

.mode-pvp:hover {
    border-color: rgba(234, 179, 8, 0.3);
}

.mode-factions {
    border-color: rgba(139, 92, 246, 0.15);
}

.mode-factions:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.mode-join {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.06), rgba(163, 230, 53, 0.03));
    border-color: rgba(34, 197, 94, 0.2);
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* ════════════════════════════════════════
   STATS SECTION
   ════════════════════════════════════════ */
.stats-section {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 72px 0;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
}

.stat-box {
    background: var(--bg-2);
    padding: 40px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: background .2s;
}

.stat-box:hover {
    background: var(--bg-3);
}

.stat-num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.04em;
    line-height: 1;
}

.stat-lbl {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.stat-box-highlight .stat-num {
    color: var(--green);
}

/* ════════════════════════════════════════
   HOW TO PLAY
   ════════════════════════════════════════ */
.howto-section {
    padding: 100px 0;
}

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

.step-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: all .28s;
}

.step-card:hover {
    border-color: var(--border-2);
    transform: translateY(-4px);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green), var(--lime));
}

.step-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--border-2);
    line-height: 1;
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--muted-2);
    line-height: 1.65;
}

/* ════════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════════ */
.cta-section {
    padding: 80px 24px;
}

.cta-inner {
    max-width: 780px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0b2416, #091d0f);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 2rem;
    padding: 72px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow-lg);
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(34, 197, 94, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
    position: relative;
}

.cta-inner p {
    color: var(--muted-2);
    font-size: 1.05rem;
    position: relative;
}

.cta-ip {
    color: var(--green);
    font-weight: 800;
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--border);
    background: var(--bg-2);
    padding: 40px 24px;
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color .18s;
}

.footer-links a:hover {
    color: var(--green);
}

.footer-info {
    text-align: right;
    font-size: 0.85rem;
    color: var(--muted);
}

.footer-info p {
    margin: 3px 0;
}

.footer-info strong {
    color: var(--yellow);
}

/* ════════════════════════════════════════
   AUTH PAGES (Login / Register)
   ════════════════════════════════════════ */
.auth-page {
    min-height: calc(100vh - 66px - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.auth-card {
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-lg);
}

.auth-card-wide {
    max-width: 680px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.auth-title {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 6px;
}

.auth-sub {
    color: var(--muted-2);
    font-size: 0.95rem;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--muted-2);
}

/* ── FORMS ── */
.mc-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted-2);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.label-hint {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
    text-transform: none;
    letter-spacing: 0;
}

.label-link {
    font-size: 0.8rem;
    color: var(--green);
    font-weight: 600;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
}

.label-link:hover {
    text-decoration: underline;
}

.mc-input {
    background: var(--bg-3);
    border: 2px solid var(--border-2);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    padding: 12px 16px;
    transition: all .18s;
    width: 100%;
}

.mc-input::placeholder {
    color: var(--muted);
}

.mc-input:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.08);
}

.register-info {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 16px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: #93c5fd;
    line-height: 1.5;
}

.register-info svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ════════════════════════════════════════
   DASHBOARD
   ════════════════════════════════════════ */
.dashboard-page {
    min-height: calc(100vh - 66px - 120px);
    padding-bottom: 80px;
}

.dashboard-header {
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 48px 0;
    margin-bottom: 40px;
}

.dashboard-greeting {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.dashboard-sub {
    color: var(--muted-2);
    font-size: 1rem;
}

.text-green {
    color: var(--green);
}

.text-yellow {
    color: var(--yellow);
}

.verify-alert {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius);
    padding: 14px 20px;
    font-size: 0.9rem;
    color: #fcd34d;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.verify-alert a {
    color: var(--yellow);
    text-decoration: underline;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-template-rows: auto auto;
    gap: 22px;
}

/* ── Cards ── */
.mc-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

/* Profile Card */
.profile-card {
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.player-skin {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-3);
    border: 3px solid var(--border-2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.player-skin img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

.player-name {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--white);
}

.badge-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.badge-role-player {
    background: rgba(100, 116, 139, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.badge-role-vip {
    background: rgba(245, 158, 11, 0.12);
    color: var(--yellow);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-role-mvp {
    background: rgba(139, 92, 246, 0.12);
    color: var(--purple);
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.badge-role-admin {
    background: rgba(239, 68, 68, 0.12);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge-status-verified {
    background: rgba(34, 197, 94, 0.1);
    color: var(--green);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-status-unverified {
    background: rgba(245, 158, 11, 0.1);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-status-banned {
    background: rgba(239, 68, 68, 0.1);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.profile-id {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pid-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
}

.pid-val {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--green);
}

.profile-stats {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
}

.ps-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
}

.ps-sep {
    width: 1px;
    background: var(--border);
}

.ps-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
}

.ps-lbl {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.connect-box {
    background: var(--bg-3);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    padding: 14px;
    width: 100%;
}

.connect-label {
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 6px;
}

.connect-code {
    display: block;
    text-align: center;
    font-size: 0.82rem;
    padding: 8px;
    background: var(--bg);
    border-radius: 7px;
    color: var(--green);
}

/* Stat list */
.stat-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .18s;
}

.stat-row:hover {
    border-color: var(--border-2);
}

.stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.si-yellow {
    background: rgba(245, 158, 11, 0.1);
}

.si-red {
    background: rgba(239, 68, 68, 0.1);
}

.si-green {
    background: rgba(34, 197, 94, 0.1);
}

.si-blue {
    background: rgba(59, 130, 246, 0.1);
}

.si-purple {
    background: rgba(139, 92, 246, 0.1);
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

/* Server stat list */
.server-stat-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
}

.ss-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.ss-row:last-child {
    border-bottom: none;
}

.ss-lbl {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 600;
}

.ss-val {
    font-size: 0.92rem;
    color: var(--text);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
}

.connect-hint-box {
    background: var(--bg-3);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-top: 8px;
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
    .modes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .profile-card {
        grid-row: auto;
    }

    .nav-center {
        display: none;
    }
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-inner {
        padding: 48px 24px;
    }

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

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

    .footer-info {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .modes-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 60px 16px;
        min-height: 80vh;
    }

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

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .ip-widget {
        padding: 20px;
    }

    .auth-card {
        padding: 28px 20px;
    }

    .server-badge {
        display: none;
    }

    .navbar-inner {
        padding: 0 16px;
    }

    .dashboard-header {
        padding: 32px 0;
    }

    .dashboard-greeting {
        font-size: 1.8rem;
    }
}
/* Dashboard realtime extras */
.online-player-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.online-player-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
}

.online-player-item img {
    width: 36px;
    height: 36px;
    border-radius: 7px;
    image-rendering: pixelated;
    border: 1px solid var(--border-2);
}

.online-player-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.online-player-meta strong {
    font-size: 0.88rem;
    color: var(--white);
    font-weight: 700;
}

.online-player-meta span {
    font-size: 0.72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.online-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    padding: 18px 12px;
    background: var(--bg-3);
    border: 1px dashed var(--border-2);
    border-radius: var(--radius);
}

.live-stamp {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.78rem;
    text-align: right;
}

.mini-note {
    font-size: 0.84rem;
    margin-top: 4px;
    min-height: 20px;
    color: var(--muted);
}

.mini-note.ok {
    color: var(--green);
}

.mini-note.err {
    color: var(--red);
}

@media (max-width: 640px) {
    .online-player-list {
        grid-template-columns: 1fr;
    }
}
