/* ==========================================================================
   Karia — Herkese açık sayfalar (ana sayfa, üst menü, alt bilgi)
   Tüm sınıflar "kn-" önekli; panel içi (app-page) sayfaları etkilemez.
   ========================================================================== */

:root {
    --kn-bg: #07060d;
    --kn-surface: rgba(255, 255, 255, 0.035);
    --kn-surface-2: rgba(255, 255, 255, 0.06);
    --kn-border: rgba(255, 255, 255, 0.08);
    --kn-border-strong: rgba(255, 255, 255, 0.14);
    --kn-text: #f5f3ff;
    --kn-muted: #a5a2bd;
    --kn-dim: #6f6c86;
    --kn-violet: #a855f7;
    --kn-pink: #ec4899;
    --kn-cyan: #22d3ee;
    --kn-gold: #f59e0b;
    --kn-green: #22c55e;
    --kn-rose: #fb7185;
    --kn-grad: linear-gradient(120deg, #c084fc 0%, #a855f7 35%, #ec4899 70%, #f9a8d4 100%);
    --kn-font: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --kn-radius: 22px;
    --kn-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Temel ---------- */
body.kn-page {
    background: var(--kn-bg);
    font-family: var(--kn-font);
    color: var(--kn-text);
    letter-spacing: -0.005em;
}
body.kn-page .aurora { display: none; }
.kn-page main { flex: 1 0 auto; }

.kn-container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.kn-gradient-text {
    background: var(--kn-grad);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: kn-shine 6s linear infinite;
}
@keyframes kn-shine { to { background-position: 200% center; } }

/* ---------- Butonlar ---------- */
.kn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    font: 600 14px/1 var(--kn-font);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.25s var(--kn-ease), background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s;
}
.kn-btn svg { transition: transform 0.25s var(--kn-ease); }
.kn-btn:hover svg:last-child { transform: translateX(3px); }
.kn-btn:active { transform: scale(0.97); }
.kn-btn-lg { height: 52px; padding: 0 24px; font-size: 15.5px; }

.kn-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #a855f7, #7c3aed 55%, #ec4899);
    box-shadow: 0 8px 28px -8px rgba(168, 85, 247, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.kn-btn-primary:hover { box-shadow: 0 12px 36px -8px rgba(236, 72, 153, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.3); transform: translateY(-1px); }

.kn-btn-ghost {
    color: var(--kn-text);
    background: var(--kn-surface);
    border-color: var(--kn-border);
}
.kn-btn-ghost:hover, .kn-btn-ghost.is-active { background: var(--kn-surface-2); border-color: var(--kn-border-strong); }

.kn-btn-light {
    color: #14101f;
    background: #fff;
    box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.5);
}
.kn-btn-light:hover { transform: translateY(-1px); box-shadow: 0 14px 40px -10px rgba(255, 255, 255, 0.6); }

/* ---------- Üst menü (yüzen kapsül) ---------- */
.kn-nav-wrap {
    position: sticky;
    top: 14px;
    z-index: 50;
    width: min(1200px, calc(100% - 28px));
    margin: 14px auto 0;
    font-family: var(--kn-font);
}
.kn-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 62px;
    padding: 0 10px 0 14px;
    border-radius: 999px;
    border: 1px solid var(--kn-border);
    background: rgba(14, 12, 24, 0.55);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 10px 40px -18px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, height 0.3s var(--kn-ease);
}
.kn-nav-wrap.is-scrolled .kn-nav {
    height: 56px;
    background: rgba(12, 10, 20, 0.82);
    border-color: var(--kn-border-strong);
    box-shadow: 0 16px 50px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(168, 85, 247, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.kn-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--kn-text);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
}
.kn-brand-logo {
    position: relative;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--kn-border-strong), 0 6px 20px -6px rgba(168, 85, 247, 0.7);
}
.kn-brand-logo img { width: 100%; height: 100%; object-fit: cover; }

.kn-links {
    display: flex;
    gap: 2px;
    margin: 0 auto;
    padding: 4px;
    border-radius: 999px;
}
.kn-links a {
    position: relative;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--kn-muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}
.kn-links a:hover { color: var(--kn-text); background: var(--kn-surface-2); }

.kn-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.kn-user {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 4px 0 5px;
    border-radius: 999px;
    border: 1px solid var(--kn-border);
    background: var(--kn-surface);
}
.kn-user img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.kn-user-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 600; }
.kn-user form { margin: 0; }
.kn-icon-btn {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--kn-muted);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.kn-icon-btn:hover { background: rgba(251, 113, 133, 0.14); color: var(--kn-rose); }

.kn-burger {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--kn-border);
    background: var(--kn-surface);
    cursor: pointer;
}
.kn-burger span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--kn-text);
    transition: transform 0.3s var(--kn-ease), top 0.3s var(--kn-ease);
}
.kn-burger span:first-child { top: 15px; }
.kn-burger span:last-child { top: 22px; }
.kn-burger[aria-expanded="true"] span:first-child { top: 18.5px; transform: rotate(45deg); }
.kn-burger[aria-expanded="true"] span:last-child { top: 18.5px; transform: rotate(-45deg); }

.kn-sheet {
    display: grid;
    gap: 4px;
    margin-top: 8px;
    padding: 10px;
    border-radius: 24px;
    border: 1px solid var(--kn-border-strong);
    background: rgba(12, 10, 20, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.9);
    animation: kn-drop 0.3s var(--kn-ease);
}
.kn-sheet[hidden] { display: none; }
.kn-sheet a {
    padding: 13px 16px;
    border-radius: 14px;
    color: var(--kn-text);
    text-decoration: none;
    font-weight: 600;
}
.kn-sheet a:hover { background: var(--kn-surface-2); }
@keyframes kn-drop { from { opacity: 0; transform: translateY(-8px) scale(0.98); } }

/* ---------- Hero ---------- */
.kn-hero {
    position: relative;
    margin-top: -76px;
    padding: 150px 0 90px;
    overflow: hidden;
}
.kn-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.kn-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
}
.kn-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: kn-drift 18s ease-in-out infinite; }
.kn-orb-a { width: 520px; height: 520px; left: -140px; top: -80px; background: #7c3aed; }
.kn-orb-b { width: 460px; height: 460px; right: -120px; top: 60px; background: #db2777; opacity: 0.35; animation-delay: -6s; }
.kn-orb-c { width: 380px; height: 380px; left: 40%; bottom: -220px; background: #0891b2; opacity: 0.3; animation-delay: -12s; }
@keyframes kn-drift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(40px, 30px, 0) scale(1.08); }
}

.kn-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 56px;
}

.kn-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--kn-border-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--kn-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: border-color 0.2s, background 0.2s;
}
.kn-pill:hover { border-color: rgba(168, 85, 247, 0.5); background: rgba(168, 85, 247, 0.08); }
.kn-pill-sep { width: 1px; height: 14px; background: var(--kn-border-strong); }

.kn-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--kn-green);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: kn-ping 2s infinite;
    flex: none;
}
.kn-dot.is-off { background: var(--kn-dim); animation: none; }
@keyframes kn-ping {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
    80%, 100% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
}

.kn-title {
    margin: 22px 0 18px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.045em;
}
.kn-title .kn-gradient-text { display: inline-block; padding-right: 0.06em; }

.kn-lead {
    max-width: 520px;
    margin: 0 0 32px;
    color: var(--kn-muted);
    font-size: clamp(16px, 1.4vw, 18.5px);
    line-height: 1.65;
}

.kn-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.kn-cta-center { justify-content: center; }

.kn-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    color: var(--kn-dim);
    font-size: 13.5px;
}
.kn-trust li { display: inline-flex; align-items: center; gap: 8px; }
.kn-trust svg { color: var(--kn-violet); }

/* ---------- Embed vitrini ---------- */
.kn-stage {
    position: relative;
    min-height: 600px;
    perspective: 1400px;
}
.kn-embed {
    position: absolute;
    width: min(440px, 100%);
    border-radius: 14px;
    background: #2b2d31;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.2);
    font-family: 'gg sans', 'Noto Sans', var(--kn-font);
    color: #dbdee1;
    padding: 10px 10px 12px;
}
.kn-embed-bar { position: absolute; left: 10px; top: 10px; bottom: 58px; width: 4px; border-radius: 4px; background: var(--kn-violet); }
.kn-embed-giveaway .kn-embed-bar { background: var(--kn-violet); }
.kn-embed-body {
    margin-left: 4px;
    padding: 12px 14px 14px 16px;
    border-radius: 0 6px 6px 0;
    background: #2b2d31;
}
.kn-embed-head { display: flex; justify-content: space-between; gap: 12px; }
.kn-embed img { width: 20px; height: 20px; object-fit: contain; vertical-align: -4px; }
.kn-embed-author { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #f2f3f5; margin-bottom: 8px; }
.kn-embed-title { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; color: #00a8fc; margin-bottom: 6px; }
.kn-embed-title.is-white { color: #f2f3f5; }
.kn-embed-meta { display: flex; align-items: center; gap: 5px; font-size: 13.5px; color: #c9cdfb; }
.kn-embed-meta img { width: 17px; height: 17px; }
.kn-embed-meta span { color: #80848e; margin: 0 2px; }
.kn-embed-thumb {
    flex: none;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background: radial-gradient(circle at 30% 25%, #4c1d95, #1e1033 70%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.kn-embed-thumb img { width: 34px; height: 34px; }

.kn-progress { display: flex; align-items: center; gap: 8px; margin: 14px 0 12px; }
.kn-progress code {
    padding: 2px 6px;
    border-radius: 4px;
    background: #1e1f22;
    color: #dbdee1;
    font-size: 12px;
}
.kn-progress-track {
    position: relative;
    flex: 1;
    height: 6px;
    border-radius: 6px;
    background: rgba(128, 132, 142, 0.45);
}
.kn-progress-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 40%;
    border-radius: inherit;
    background: linear-gradient(90deg, #d8b4fe, #a855f7);
    animation: kn-play 14s linear infinite;
}
.kn-progress-fill::after {
    content: "";
    position: absolute;
    right: -7px;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: #fff;
    box-shadow: 0 0 0 4px #c026d3, 0 0 14px 4px rgba(192, 132, 252, 0.8);
}
@keyframes kn-play { from { width: 8%; } to { width: 92%; } }

.kn-embed-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: 13.5px; }
.kn-embed-fields.is-3 { grid-template-columns: repeat(3, auto); margin-top: 10px; }
.kn-embed-fields b { display: flex; align-items: center; gap: 6px; color: #f2f3f5; font-weight: 700; }
.kn-embed-fields img { width: 18px; height: 18px; }
.kn-embed-fields span { display: block; margin-top: 2px; }
.kn-mention { width: fit-content; padding: 0 3px; border-radius: 3px; background: rgba(88, 101, 242, 0.3); color: #c9cdfb; }

.kn-dc-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0 4px; }
.kn-dc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 14px;
    border-radius: 8px;
    background: #4e5058;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
}
.kn-dc-btn img { width: 18px; height: 18px; }
.kn-dc-btn.is-blurple { background: #5865f2; }
.kn-dc-btn.is-red { background: #da373c; }
.kn-dc-btn.is-muted { opacity: 0.6; }

.kn-embed-music { top: 0; right: 0; z-index: 2; }
.kn-embed-giveaway { bottom: 0; left: 0; width: min(390px, 92%); z-index: 3; }
.kn-toast {
    position: absolute;
    right: 0;
    bottom: 150px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;
    border-radius: 16px;
    border: 1px solid var(--kn-border-strong);
    background: rgba(20, 18, 32, 0.8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.9);
}
.kn-toast strong { display: block; font-size: 14px; }
.kn-toast small { color: var(--kn-muted); font-size: 12.5px; }
.kn-toast-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    color: #052e16;
    background: linear-gradient(135deg, #86efac, #22c55e);
    box-shadow: 0 6px 18px -6px rgba(34, 197, 94, 0.8);
}
.kn-role { color: #d8b4fe; font-weight: 700; }

.kn-float-a { animation: kn-float 8s ease-in-out infinite; }
.kn-float-b { animation: kn-float 9s ease-in-out infinite -3s; }
.kn-float-c { animation: kn-float 7s ease-in-out infinite -5s; }
@keyframes kn-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -12px, 0); }
}

/* ---------- Canlı istatistikler ---------- */
.kn-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: var(--kn-radius);
    border: 1px solid var(--kn-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    overflow: hidden;
}
.kn-stat { padding: 26px 28px; }
.kn-stat + .kn-stat { border-left: 1px solid var(--kn-border); }
.kn-stat-label { display: block; margin-bottom: 6px; color: var(--kn-dim); font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.kn-stat strong { display: flex; align-items: baseline; gap: 2px; font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kn-stat strong small { font-size: 0.5em; color: var(--kn-muted); font-weight: 600; }
.kn-stat-status { align-items: center !important; gap: 12px !important; color: var(--kn-muted); }
.kn-stat-status.is-on { color: #4ade80; }

/* ---------- Bölümler ---------- */
.kn-section { padding-top: clamp(90px, 11vw, 140px); }
.kn-section-last { padding-bottom: clamp(90px, 10vw, 130px); }
.kn-section-head { max-width: 640px; margin-bottom: 44px; }
.kn-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--kn-violet);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.kn-section-head h2 {
    margin: 0 0 14px;
    font-size: clamp(32px, 4.4vw, 52px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
}
.kn-section-head p { margin: 0; color: var(--kn-muted); font-size: 17px; }

/* ---------- Bento ---------- */
.kn-bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.kn-card {
    position: relative;
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border-radius: var(--kn-radius);
    border: 1px solid var(--kn-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    overflow: hidden;
    transition: border-color 0.35s, transform 0.35s var(--kn-ease), background 0.35s;
}
.kn-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(168, 85, 247, 0.14), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}
.kn-card:hover { border-color: rgba(168, 85, 247, 0.35); transform: translateY(-3px); }
.kn-card:hover::before { opacity: 1; }
.kn-card h3 { margin: 14px 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.kn-card p { margin: 0; color: var(--kn-muted); font-size: 14.5px; line-height: 1.6; }
.kn-card-security { grid-column: span 4; grid-row: span 2; flex-direction: row; gap: 28px; align-items: center; }
.kn-card-security .kn-card-copy { flex: 1; }
.kn-card-wide { grid-column: span 3; }
.kn-card-row { display: flex; align-items: center; gap: 22px; height: 100%; }
.kn-card-row > div:first-child { flex: 1; }

.kn-chip {
    align-self: flex-start;
    display: inline-flex;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid currentColor;
    background: color-mix(in srgb, currentColor 12%, transparent);
}
.kn-chip-violet { color: #c4b5fd; }
.kn-chip-rose { color: #fda4af; }
.kn-chip-cyan { color: #67e8f9; }
.kn-chip-pink { color: #f9a8d4; }
.kn-chip-gold { color: #fcd34d; }

/* Güvenlik sohbet mock */
.kn-chat {
    flex: 1.1;
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 16px;
    background: #1e1f22;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13.5px;
}
.kn-msg { position: relative; display: flex; gap: 10px; padding: 8px; border-radius: 10px; }
.kn-msg b { font-size: 13.5px; color: #f2f3f5; }
.kn-msg p { margin: 2px 0 0; color: #dbdee1; font-size: 13.5px; }
.kn-msg.is-blocked { background: rgba(251, 113, 133, 0.08); box-shadow: inset 3px 0 0 var(--kn-rose); }
.kn-msg.is-blocked p { color: #9b9ca3; text-decoration: line-through; text-decoration-color: rgba(251, 113, 133, 0.6); }
.kn-tag {
    position: absolute;
    right: 8px;
    top: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(251, 113, 133, 0.16);
    color: #fda4af;
    font-size: 11px;
    font-weight: 700;
}
.kn-av { flex: none; width: 32px; height: 32px; border-radius: 50%; }
.kn-av-1 { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.kn-av-2 { background: linear-gradient(135deg, #f472b6, #a855f7); }
.kn-av-3 { background: linear-gradient(135deg, #34d399, #0891b2); }
.kn-log {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(168, 85, 247, 0.1);
    color: #d8b4fe;
    font-size: 12.5px;
    font-weight: 600;
}

/* Otorol */
.kn-roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }
.kn-role-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--c) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
    color: color-mix(in srgb, var(--c) 70%, white);
    font-size: 13px;
    font-weight: 600;
}
.kn-role-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

/* Hoş geldin */
.kn-welcome {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding: 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(168, 85, 247, 0.12));
    border: 1px solid var(--kn-border);
}
.kn-welcome b { display: block; font-size: 14px; }
.kn-welcome small { color: var(--kn-muted); font-size: 12.5px; }
.kn-card > .kn-welcome, .kn-card > .kn-roles, .kn-card > .kn-bubbles, .kn-card > .kn-trigger, .kn-card > .kn-feed { margin-top: auto; }
.kn-card > p + .kn-welcome { margin-top: 20px; }

/* Müzik mini */
.kn-mini-player {
    flex: 0 0 210px;
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    background: #1e1f22;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.kn-eq { display: flex; align-items: flex-end; gap: 4px; height: 32px; }
.kn-eq span { width: 6px; border-radius: 3px; background: linear-gradient(180deg, #f0abfc, #a855f7); animation: kn-eq 1.1s ease-in-out infinite; }
.kn-eq span:nth-child(1) { height: 40%; animation-delay: -0.2s; }
.kn-eq span:nth-child(2) { height: 90%; animation-delay: -0.6s; }
.kn-eq span:nth-child(3) { height: 60%; animation-delay: -0.4s; }
.kn-eq span:nth-child(4) { height: 100%; animation-delay: -0.9s; }
.kn-eq span:nth-child(5) { height: 50%; animation-delay: -0.1s; }
@keyframes kn-eq { 50% { transform: scaleY(0.35); } }
.kn-eq span { transform-origin: bottom; }
.kn-mini-btns { display: flex; gap: 6px; }
.kn-mini-btns img { width: 34px; height: 30px; padding: 6px 8px; border-radius: 8px; background: #4e5058; object-fit: contain; }
.kn-mini-btns img:first-child { background: #5865f2; }

/* Çekiliş */
.kn-winner {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.kn-winner img { width: 40px; height: 40px; }
.kn-winner small { display: block; color: #fcd34d; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.kn-winner b { font-size: 16px; }
.kn-winner .kn-winner-party { position: absolute; top: -14px; right: -12px; width: 34px; height: 34px; transform: rotate(12deg); }

/* AI */
.kn-bubbles { display: grid; gap: 8px; margin-top: 16px; }
.kn-bubbles p { max-width: 90%; padding: 9px 13px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; }
.kn-bubbles .is-user { justify-self: end; border-bottom-right-radius: 5px; background: rgba(255, 255, 255, 0.08); color: var(--kn-text); }
.kn-bubbles .is-bot { border-bottom-left-radius: 5px; background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.22)); color: #fff; }

/* Oto yanıt */
.kn-trigger { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; font-size: 13.5px; color: var(--kn-muted); }
.kn-trigger code { padding: 6px 10px; border-radius: 8px; background: rgba(34, 211, 238, 0.12); color: #67e8f9; font-size: 13px; }
.kn-trigger span { padding: 6px 10px; border-radius: 8px; background: var(--kn-surface-2); color: var(--kn-text); }

/* Anime */
.kn-feed { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px; border-radius: 14px; background: var(--kn-surface-2); }
.kn-feed b { display: block; font-size: 14px; }
.kn-feed small { color: var(--kn-muted); font-size: 12.5px; }
.kn-feed-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--kn-pink); box-shadow: 0 0 12px var(--kn-pink); flex: none; }

/* ---------- Adımlar ---------- */
.kn-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.kn-steps::before {
    content: "";
    position: absolute;
    top: 47px;
    left: 16%;
    right: 16%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.6), rgba(236, 72, 153, 0.6), transparent);
}
.kn-steps li {
    position: relative;
    padding: 26px;
    border-radius: var(--kn-radius);
    border: 1px solid var(--kn-border);
    background: rgba(10, 9, 18, 0.85);
    text-align: center;
}
.kn-step-no {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 10px 30px -8px rgba(168, 85, 247, 0.8);
}
.kn-steps h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.kn-steps p { margin: 0; color: var(--kn-muted); font-size: 14.5px; }

/* ---------- CTA ---------- */
.kn-cta {
    position: relative;
    padding: clamp(48px, 7vw, 84px) 24px;
    border-radius: 32px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #3b0764 0%, #6d28d9 45%, #be185d 100%);
    box-shadow: 0 40px 100px -40px rgba(168, 85, 247, 0.8);
}
.kn-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.kn-cta-glow { position: absolute; width: 500px; height: 500px; left: 50%; top: -60%; transform: translateX(-50%); border-radius: 50%; background: rgba(255, 255, 255, 0.18); filter: blur(100px); }
.kn-cta > *:not(.kn-cta-glow) { position: relative; }
.kn-cta-logo { width: 72px; height: 72px; border-radius: 22px; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12), 0 20px 40px -10px rgba(0, 0, 0, 0.6); }
.kn-cta h2 { margin: 22px auto 12px; max-width: 620px; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; font-weight: 800; letter-spacing: -0.04em; color: #fff; }
.kn-cta p { margin: 0 auto 30px; max-width: 480px; color: rgba(255, 255, 255, 0.82); font-size: 17px; }
.kn-cta .kn-btn-ghost { color: #fff; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }
.kn-cta .kn-btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }

/* ---------- Alt bilgi ---------- */
.kn-footer {
    position: relative;
    z-index: 1;
    margin-top: auto;
    border-top: 1px solid var(--kn-border);
    background: rgba(6, 5, 11, 0.7);
    font-family: var(--kn-font);
}
.kn-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px;
    padding: 56px 0 40px;
}
.kn-footer-brand p { margin: 14px 0 0; max-width: 280px; color: var(--kn-muted); font-size: 14.5px; }
.kn-footer-col { display: grid; align-content: start; gap: 10px; }
.kn-footer-col h4 { margin: 0 0 4px; color: var(--kn-text); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.kn-footer-col a { color: var(--kn-muted); font-size: 14.5px; text-decoration: none; transition: color 0.2s; }
.kn-footer-col a:hover { color: var(--kn-text); }
.kn-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding: 22px 0 28px;
    border-top: 1px solid var(--kn-border);
    color: var(--kn-dim);
    font-size: 13px;
}

/* ---------- Görünme animasyonu ---------- */
.kn-js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--kn-ease), transform 0.8s var(--kn-ease); }
.kn-js [data-reveal].is-in { opacity: 1; transform: none; }
.kn-bento [data-reveal]:nth-child(2) { transition-delay: 0.06s; }
.kn-bento [data-reveal]:nth-child(3) { transition-delay: 0.12s; }
.kn-steps [data-reveal]:nth-child(2) { transition-delay: 0.1s; }
.kn-steps [data-reveal]:nth-child(3) { transition-delay: 0.2s; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1080px) {
    .kn-hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .kn-hero-copy { text-align: center; }
    .kn-lead { margin-inline: auto; }
    .kn-cta-row, .kn-trust { justify-content: center; }
    .kn-stage { max-width: 560px; width: 100%; margin: 0 auto; }
    .kn-card-security { grid-column: span 6; grid-row: auto; }
    .kn-card { grid-column: span 3; }
    .kn-card-wide { grid-column: span 6; }
}

@media (max-width: 860px) {
    .kn-links, .kn-hide-sm, .kn-user-name { display: none; }
    .kn-burger { display: block; }
    .kn-stats { grid-template-columns: repeat(2, 1fr); }
    .kn-stat:nth-child(3) { border-left: 0; }
    .kn-stat:nth-child(n + 3) { border-top: 1px solid var(--kn-border); }
    .kn-card-security { flex-direction: column; align-items: stretch; }
    .kn-steps { grid-template-columns: 1fr; }
    .kn-steps::before { display: none; }
    .kn-footer-grid { grid-template-columns: 1fr 1fr; }
    .kn-footer-brand { grid-column: span 2; }
}

@media (max-width: 620px) {
    .kn-hero { padding: 130px 0 60px; }
    .kn-stage { min-height: 600px; }
    .kn-embed-music { left: 0; right: auto; width: 100%; }
    .kn-embed-giveaway { width: 100%; }
    .kn-toast { display: none; }
    .kn-embed-fields.is-3 { grid-template-columns: 1fr 1fr; }
    .kn-card, .kn-card-wide { grid-column: span 6; }
    .kn-card-row { flex-direction: column; align-items: stretch; }
    .kn-mini-player { flex-basis: auto; }
    .kn-cta-row .kn-btn { width: 100%; }
    .kn-nav-wrap { width: calc(100% - 20px); top: 10px; margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .kn-page *, .kn-page *::before, .kn-page *::after { animation: none !important; transition: none !important; }
    .kn-js [data-reveal] { opacity: 1; transform: none; }
}
