/* MISTYCRAFT VACATURES — MAIN STYLESHEET */

/* ── THEME TOKENS ─────────────────────────────────────────── */
:root {
    --bg: #050e1c;
    --bg-2: #071628;
    --bg-card: #0a1e32;
    --bg-input: #0d2440;
    --bg-hover: #112b4a;
    --border: #1a3d5c;
    --border-light: #245278;
    --text: #c2d8f0;
    --text-muted: #5a8aaa;
    --text-head: #e8f4ff;
    --accent: #2196f3;
    --accent-2: #00bcd4;
    --accent-3: #5865f2;
    --glow: rgba(33, 150, 243, .12);
    --glow-s: rgba(33, 150, 243, .30);
    --success: #00e676;
    --warning: #ffd600;
    --error: #ff5252;
    --shadow: 0 12px 48px rgba(0, 0, 0, .65);
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, .40);
    --shadow-xs: 0 2px 8px rgba(0, 0, 0, .30);
    --grad: linear-gradient(135deg, #2196f3 0%, #00bcd4 100%);
    --grad-card: linear-gradient(160deg, #0a1e32, #071628);
    --nav-bg: rgba(5, 14, 28, .85);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --t: .22s ease;
}

[data-theme="light"] {
    --bg: #f2f6fd;
    --bg-2: #e6eef9;
    --bg-card: #ffffff;
    --bg-input: #f5f8fe;
    --bg-hover: #eaf1fb;
    --border: #d0def0;
    --border-light: #a8c4e0;
    --text: #2a4a6e;
    --text-muted: #6688aa;
    --text-head: #0d1f38;
    --accent: #1565c0;
    --accent-2: #0097a7;
    --glow: rgba(21, 101, 192, .08);
    --glow-s: rgba(21, 101, 192, .22);
    --success: #1b7a45;
    --warning: #c77800;
    --error: #c62828;
    --shadow: 0 8px 32px rgba(0, 50, 120, .13);
    --shadow-sm: 0 4px 16px rgba(0, 50, 120, .09);
    --shadow-xs: 0 2px 6px rgba(0, 50, 120, .07);
    --grad: linear-gradient(135deg, #1565c0 0%, #0097a7 100%);
    --grad-card: linear-gradient(160deg, #ffffff, #f4f8ff);
    --nav-bg: rgba(242, 246, 253, .90);
}

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

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background var(--t), color var(--t)
}

[data-theme="dark"] body {
    background-image:
        radial-gradient(ellipse 110% 55% at 50% -5%, rgba(33, 150, 243, .16) 0%, transparent 65%),
        radial-gradient(ellipse 60% 40% at 95% 85%, rgba(0, 188, 212, .08) 0%, transparent 55%);
    background-attachment: fixed
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--t)
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none
}

textarea,
input,
select {
    font-family: inherit
}

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

@media(max-width:768px) {
    .container {
        padding: 0 16px
    }
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
    height: 68px;
    transition: background var(--t), border-color var(--t)
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0
}

.nav-logo {
    height: 34px;
    width: auto
}

.nav-brand-text {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.3px;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

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

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all var(--t)
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    background: var(--glow)
}

.nav-link.active {
    font-weight: 700
}

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

.nav-discord {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #5865f2, #7289da);
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    transition: all var(--t);
    box-shadow: 0 2px 12px rgba(88, 101, 242, .30)
}

.nav-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(88, 101, 242, .50);
    color: #fff
}

/* ── THEME TOGGLE ── */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px 7px 10px;
    border: 1.5px solid var(--border);
    border-radius: 40px;
    background: var(--bg-card);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--t);
    user-select: none
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 0 3px var(--glow)
}

.theme-icon {
    display: flex;
    align-items: center;
    transition: opacity var(--t), transform var(--t)
}

[data-theme="dark"] .theme-icon.sun {
    opacity: .45
}

[data-theme="dark"] .theme-icon.moon {
    opacity: 1
}

[data-theme="light"] .theme-icon.sun {
    opacity: 1
}

[data-theme="light"] .theme-icon.moon {
    opacity: .45
}

.toggle-track {
    width: 34px;
    height: 19px;
    border-radius: 10px;
    background: var(--border);
    position: relative;
    transition: background .3s ease;
    flex-shrink: 0
}

[data-theme="light"] .toggle-track {
    background: var(--accent)
}

.toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .35)
}

[data-theme="light"] .toggle-thumb {
    transform: translateX(15px)
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius);
    font-size: .9rem;
    font-weight: 600;
    transition: all var(--t);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap
}

.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 4px 20px var(--glow-s)
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--glow-s);
    filter: brightness(1.08);
    color: #fff
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--accent);
    border-color: var(--border-light)
}

.btn-secondary:hover {
    background: var(--glow);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px)
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border-color: var(--border)
}

.btn-ghost:hover {
    background: var(--glow);
    color: var(--accent);
    border-color: var(--accent)
}

.btn-danger {
    background: #c62828;
    color: #fff;
    border-color: #c62828
}

.btn-danger:hover {
    background: #b71c1c;
    transform: translateY(-1px)
}

.btn-sm {
    padding: 7px 14px;
    font-size: .82rem;
    border-radius: var(--radius-sm)
}

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

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

/* ── BADGES ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase
}

.badge-blue {
    background: rgba(33, 150, 243, .12);
    border: 1px solid rgba(33, 150, 243, .28);
    color: var(--accent)
}

.badge-gray {
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
    color: var(--text-muted)
}

.badge-gold {
    background: rgba(255, 214, 0, .12);
    border: 1px solid rgba(255, 214, 0, .28);
    color: #ffd600
}

.badge-green {
    background: rgba(0, 230, 118, .10);
    border: 1px solid rgba(0, 230, 118, .28);
    color: var(--success)
}

.badge-red {
    background: rgba(255, 82, 82, .10);
    border: 1px solid rgba(255, 82, 82, .28);
    color: var(--error)
}

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

.form-label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 4px
}

.form-label .req {
    color: var(--accent)
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg-input);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: .9rem;
    transition: border-color var(--t), box-shadow var(--t), background var(--t);
    outline: none;
    appearance: none
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: .7
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--glow);
    background: var(--bg-hover)
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    line-height: 1.7
}

.form-hint {
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: 2px
}

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

@media(max-width:600px) {
    .form-grid-2 {
        grid-template-columns: 1fr
    }
}

/* ── ALERTS ── */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: .9rem;
    font-weight: 500;
    animation: slideDown .3s ease;
    margin-bottom: 20px
}

.alert-success {
    background: rgba(0, 230, 118, .1);
    border: 1px solid rgba(0, 230, 118, .3);
    color: var(--success)
}

.alert-error {
    background: rgba(255, 82, 82, .1);
    border: 1px solid rgba(255, 82, 82, .3);
    color: var(--error)
}

.alert-info {
    background: rgba(33, 150, 243, .1);
    border: 1px solid rgba(33, 150, 243, .3);
    color: var(--accent)
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* ── SECTION ── */
.section {
    padding: 80px 0
}

.section-header {
    text-align: center;
    margin-bottom: 56px
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 16px;
    background: var(--glow);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--text-head);
    line-height: 1.12;
    margin-bottom: 14px
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75
}

.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(68px + 64px) 0 64px;
    position: relative;
    overflow: hidden
}

[data-theme="dark"] .hero {
    background: radial-gradient(ellipse 90% 60% at 50% 0%, #071a30 0%, var(--bg) 70%)
}

[data-theme="light"] .hero {
    background: linear-gradient(180deg, #e8f0fb 0%, var(--bg) 100%)
}

.hero-bg-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(33, 150, 243, .18) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0
}

.hero-content {
    text-align: center;
    max-width: 840px;
    margin: 0 auto;
    position: relative;
    z-index: 1
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 40px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm), 0 0 0 1px var(--glow)
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s ease-in-out infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 230, 118, .5)
    }

    50% {
        opacity: .7;
        transform: scale(.85);
        box-shadow: 0 0 0 5px rgba(0, 230, 118, 0)
    }
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 3.9rem);
    font-weight: 900;
    color: var(--text-head);
    line-height: 1.08;
    margin-bottom: 22px;
    letter-spacing: -.6px
}

.hero-sub {
    font-size: clamp(.95rem, 2vw, 1.12rem);
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.8
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 64px
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 440px;
    margin: 0 auto;
    background: var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow)
}

.stat-block {
    background: var(--bg-card);
    padding: 22px 16px;
    text-align: center
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.stat-lbl {
    font-size: .75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px
}

/* ── CATEGORY CARDS ── */
.grid-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all .28s cubic-bezier(.2, .8, .3, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-card);
    opacity: 0;
    transition: opacity .28s
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cat-color, var(--accent));
    transform: scaleX(0);
    transition: transform .28s cubic-bezier(.2, .8, .3, 1);
    transform-origin: left;
    border-radius: 2px 2px 0 0
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--border-light)
}

.category-card:hover::before {
    opacity: 1
}

.category-card:hover::after {
    transform: scaleX(1)
}

.cat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 18px;
    background: var(--glow);
    border: 1px solid var(--border-light);
    position: relative;
    z-index: 1
}

.cat-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-head);
    margin-bottom: 8px;
    position: relative;
    z-index: 1
}

.cat-desc {
    color: var(--text-muted);
    font-size: .875rem;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1
}

.cat-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: .82rem;
    position: relative;
    z-index: 1
}

.cat-count {
    color: var(--text-muted);
    font-weight: 500
}

.cat-link {
    color: var(--accent);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--t)
}

.cat-link:hover {
    gap: 8px
}

/* ── VACATURE CARDS ── */
.grid-vacatures {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px
}

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

.vacature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all .28s cubic-bezier(.2, .8, .3, 1);
    position: relative;
    overflow: hidden
}

.vacature-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transition: transform .3s ease;
    transform-origin: left;
    border-radius: 0 0 2px 2px
}

.vacature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--border-light)
}

.vacature-card:hover::before {
    transform: scaleX(1)
}

.vc-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px
}

.vc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.vc-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-head);
    margin-bottom: 10px;
    line-height: 1.35
}

.vc-desc {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.75;
    flex: 1;
    margin-bottom: 18px
}

.vc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border)
}

.vc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.vc-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .8rem;
    color: var(--text-muted)
}

.btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--glow);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--accent);
    font-size: .84rem;
    font-weight: 700;
    transition: all var(--t);
    white-space: nowrap
}

.btn-apply:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateX(2px)
}

/* ── FILTER BAR ── */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px
}

.filter-btn {
    padding: 8px 18px;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: .84rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--t);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--glow);
    transform: translateY(-1px)
}

/* ── VACATURE DETAIL ── */
.vd-page {
    padding: calc(68px + 32px) 0 80px
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: .87rem;
    font-weight: 500;
    margin-bottom: 28px;
    transition: all var(--t)
}

.back-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--glow);
    transform: translateX(-3px)
}

.vd-hero {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm)
}

.vd-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad)
}

[data-theme="dark"] .vd-hero::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(33, 150, 243, .08) 0%, transparent 65%);
    pointer-events: none
}

.vd-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px
}

.vd-title {
    font-size: clamp(1.7rem, 4vw, 2.3rem);
    font-weight: 900;
    color: var(--text-head);
    line-height: 1.15;
    margin-bottom: 18px
}

.vd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px
}

.vd-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .875rem;
    color: var(--text-muted)
}

.vd-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start
}

@media(max-width:880px) {
    .vd-layout {
        grid-template-columns: 1fr
    }
}

.vd-sidebar {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 16px
}

.content-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    transition: border-color var(--t)
}

.content-section:hover {
    border-color: var(--border-light)
}

.cs-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    background: rgba(33, 150, 243, .04)
}

.cs-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.cs-icon svg {
    stroke: #fff
}

.cs-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-head)
}

.cs-body {
    padding: 22px 24px
}

.cs-body p {
    color: var(--text);
    line-height: 1.85;
    font-size: .92rem
}

.cs-list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.cs-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text);
    font-size: .92rem;
    line-height: 1.65
}

.cs-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 8px
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm)
}

.info-card-title {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    font-size: .75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .7px
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    font-size: .875rem
}

.info-row:last-child {
    border-bottom: none
}

.info-row-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-muted);
    font-weight: 500
}

.info-row-val {
    font-weight: 700;
    color: var(--text-head)
}

.apply-cta-card {
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm)
}

[data-theme="dark"] .apply-cta-card {
    background: linear-gradient(135deg, #091828, #0a2040)
}

.apply-cta-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-head);
    margin-bottom: 8px
}

.apply-cta-card p {
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.55
}

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-top: 8px
}

.form-card-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(33, 150, 243, .07), rgba(0, 188, 212, .03))
}

.form-card-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-head);
    margin-bottom: 4px
}

.form-card-header p {
    font-size: .87rem;
    color: var(--text-muted)
}

.form-card-body {
    padding: 28px 32px
}

.form-section-label {
    font-size: .72rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 10px
}

.form-section-label:first-child {
    margin-top: 0
}

.form-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border)
}

.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    gap: 16px;
    flex-wrap: wrap
}

.form-submit-note {
    font-size: .8rem;
    color: var(--text-muted);
    line-height: 1.55
}

/* ── CTA SECTION ── */
.cta-section {
    padding: 88px 0;
    background: var(--grad);
    text-align: center;
    position: relative;
    overflow: hidden
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .18)
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, .12) 0%, transparent 65%);
    pointer-events: none
}

.cta-inner {
    position: relative;
    z-index: 1
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px
}

.cta-section p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto
}

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

.btn-white {
    background: #fff;
    color: var(--accent);
    border: none
}

.btn-white:hover {
    background: rgba(255, 255, 255, .92);
    transform: translateY(-2px);
    color: var(--accent);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .25)
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .65)
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .9)
}

/* ── FOOTER ── */
.site-footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 52px 0 28px
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    margin-bottom: 36px;
    align-items: start
}

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

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 12px
}

.footer-tagline {
    font-size: .875rem;
    color: var(--text-muted)
}

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

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.footer-col h4 {
    font-size: .78rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-bottom: 4px
}

.footer-col a {
    font-size: .875rem;
    color: var(--text-muted);
    transition: color var(--t)
}

.footer-col a:hover {
    color: var(--accent)
}

.footer-bottom {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 24px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: .8rem;
    color: var(--text-muted)
}

/* ── ADMIN ── */
.admin-wrap {
    display: flex;
    min-height: 100vh;
    padding-top: 68px
}

.admin-sidebar {
    width: 250px;
    background: var(--bg-2);
    border-right: 1px solid var(--border);
    position: fixed;
    top: 68px;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    padding: 20px 0;
    z-index: 100;
    transition: background var(--t), border-color var(--t)
}

.admin-main {
    flex: 1;
    margin-left: 250px;
    padding: 36px 40px;
    min-height: calc(100vh - 68px);
    max-width: 1100px
}

@media(max-width:900px) {
    .admin-main {
        margin-left: 0;
        padding: 24px 16px
    }
}

.sidebar-label {
    padding: 8px 20px 6px;
    font-size: .7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .9px
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    margin: 2px 10px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: .875rem;
    font-weight: 500;
    transition: all var(--t);
    text-decoration: none;
    cursor: pointer
}

.sidebar-item:hover,
.sidebar-item.active {
    background: var(--glow);
    color: var(--accent)
}

.sidebar-item.active {
    font-weight: 700
}

.admin-page-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-head);
    margin-bottom: 4px
}

.admin-page-sub {
    font-size: .875rem;
    color: var(--text-muted);
    margin-bottom: 32px
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px
}

.admin-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    transition: all var(--t)
}

.admin-stat-card:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px)
}

.admin-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px
}

.admin-stat-lbl {
    font-size: .82rem;
    color: var(--text-muted);
    font-weight: 500
}

.admin-table-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm)
}

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

.admin-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: .75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .55px;
    background: rgba(33, 150, 243, .04);
    border-bottom: 1px solid var(--border)
}

.admin-table td {
    padding: 14px 16px;
    font-size: .875rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    vertical-align: middle
}

.admin-table tr:last-child td {
    border-bottom: none
}

.admin-table tbody tr {
    transition: background var(--t)
}

.admin-table tbody tr:hover {
    background: var(--glow)
}

.admin-table-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between
}

.admin-table-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-head)
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: .75rem;
    font-weight: 600
}

.status-pending {
    background: rgba(255, 193, 7, .12);
    border: 1px solid rgba(255, 193, 7, .3);
    color: #ffc107
}

.status-reviewing {
    background: rgba(33, 150, 243, .12);
    border: 1px solid rgba(33, 150, 243, .3);
    color: var(--accent)
}

.status-accepted {
    background: rgba(0, 230, 118, .12);
    border: 1px solid rgba(0, 230, 118, .3);
    color: var(--success)
}

.status-rejected {
    background: rgba(255, 82, 82, .12);
    border: 1px solid rgba(255, 82, 82, .3);
    color: var(--error)
}

.admin-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    padding: 24px
}

.admin-login-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden
}

.admin-login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad)
}

.login-logo {
    height: 48px;
    margin: 0 auto 20px
}

.login-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-head);
    text-align: center;
    margin-bottom: 6px
}

.login-sub {
    font-size: .875rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 32px
}

/* ── MISC ── */
.empty-state {
    text-align: center;
    padding: 64px 24px;
    color: var(--text-muted)
}

.empty-state h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text)
}

.empty-state p {
    font-size: .875rem;
    line-height: 1.65
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0
}

/* ── SERVER CARDS ── */
.grid-servers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px
}

.server-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid;
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all .3s cubic-bezier(.2, .8, .3, 1);
    display: flex;
    flex-direction: column;
    gap: 14px
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 56px rgba(0, 0, 0, .55)
}

.srv-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 220px;
    height: 220px;
    pointer-events: none;
    border-radius: 50%;
    z-index: 0;
    opacity: .55
}

.srv-header {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1
}

.srv-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0
}

.srv-name {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2
}

.srv-count {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: 3px
}

.srv-count-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0
}

.srv-desc {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    flex: 1
}

.srv-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid;
    position: relative;
    z-index: 1;
    margin-top: auto
}

.srv-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid;
    font-size: .83rem;
    font-weight: 600;
    transition: all var(--t);
    text-decoration: none;
    white-space: nowrap
}

.srv-btn-primary:hover {
    filter: brightness(1.2);
    transform: translateY(-1px)
}

.srv-btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: rgba(88, 101, 242, .15);
    border: 1px solid rgba(88, 101, 242, .35);
    color: #7289da;
    font-size: .83rem;
    font-weight: 600;
    transition: all var(--t);
    text-decoration: none
}

.srv-btn-discord:hover {
    background: rgba(88, 101, 242, .28);
    color: #7289da
}

.srv-btn-website {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: var(--glow);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: .83rem;
    font-weight: 600;
    transition: all var(--t);
    text-decoration: none
}

.srv-btn-website:hover {
    color: var(--accent);
    border-color: var(--accent)
}

/* ── HOME SECTIONS ── */
.home-section {
    padding: 80px 0
}

.home-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap
}

.home-section-header .section-tag {
    margin-bottom: 10px
}

.home-section-header .section-title {
    margin-bottom: 0
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0)
}

/* ── RESPONSIVE ── */
@media(max-width:768px) {
    .home-section {
        padding: 56px 0
    }

    .hero-stats {
        max-width: 100%
    }

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

    .home-section-header {
        flex-direction: column;
        align-items: flex-start
    }

    .nav-center {
        display: none
    }
}



/* ── FIX VOOR VACATURE DETAIL PAGINA ───────────────────── */

/* Grid fix (jij gebruikt vd-grid i.p.v vd-layout) */
.vd-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

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

/* Content spacing */
.vd-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Sections (Over de functie etc.) */
.vd-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    box-shadow: var(--shadow-sm);
}

.vd-section h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-head);
    margin-bottom: 10px;
}

.vd-section p {
    font-size: .9rem;
    color: var(--text);
    line-height: 1.8;
}

/* Sidebar cards */
.vd-apply-card,
.vd-info-card,
.vd-links-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

/* Info items */
.vd-info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: .85rem;
}

.vd-info-label {
    font-size: .7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.vd-info-value {
    font-weight: 600;
    color: var(--text-head);
}

/* ── FORM FIX ───────────────────── */

/* Form wrapper */
.vd-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

/* Form rows (2 kolommen) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media(max-width:700px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Inputs / textarea FIX */
.vd-form input,
.vd-form textarea,
.vd-form select {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-input);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: .9rem;
    transition: all var(--t);
}

.vd-form input:focus,
.vd-form textarea:focus,
.vd-form select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--glow);
    background: var(--bg-hover);
    outline: none;
}

/* Labels */
.vd-form label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
}

/* Textareas */
.vd-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form section */
.vd-form-section {
    margin-top: 40px;
}

.vd-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-head);
    margin-bottom: 18px;
}

/* Links card */
.vd-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    border: 1px solid var(--border);
    font-size: .85rem;
    margin-bottom: 8px;
    transition: all var(--t);
}

.vd-link:hover {
    background: var(--glow);
    border-color: var(--accent);
    color: var(--accent);
}