/* KnightOrbit ana sayfa teması */
:root {
  --ko-bg: #05070d;
  --ko-bg-alt: #0a0f1a;
  --ko-panel: rgba(12, 17, 29, 0.82);
  --ko-line: rgba(255, 176, 64, 0.18);
  --ko-text: #d9e1ee;
  --ko-muted: #8b97ab;
  --ko-accent: #ffae3b;
  --ko-accent-2: #ff7a1a;
  --ko-mmo: #ff4a3d;
  --ko-eic: #3d9bff;
  --ko-vru: #b866ff;
  --ko-live: #3dff8b; /* çevrimiçi ışığı yeşil kalır; VRU mor (kullanıcı 11.11) */
}

body.ko-body { background: var(--ko-bg); color: var(--ko-text); font-family: 'Exo 2', sans-serif; }
.ko-home { background: var(--ko-bg); }
.ko-home h1, .ko-home h2, .ko-home h3, .ko-home h4 { font-family: 'Orbitron', sans-serif; letter-spacing: .02em; }
.ko-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Üst menü */
.ko-topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 10; padding: 18px 0; }
.ko-topbar-inner { display: flex; align-items: center; justify-content: space-between; }
.ko-brand img { height: 56px; width: auto; display: block; }
.ko-links { display: flex; align-items: center; width: auto; height: auto; line-height: normal; background: transparent; box-shadow: none; }
.ko-links > a { margin-left: 28px; }
.ko-links a { color: var(--ko-text); font-weight: 600; text-transform: uppercase; font-size: 13px; letter-spacing: .12em; }
.ko-links a:hover { color: var(--ko-accent); }

/* Düğmeler */
.ko-btn {
  display: inline-block; border: 0; cursor: pointer; border-radius: 4px;
  padding: 14px 30px; font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 14px;
  letter-spacing: .1em; text-transform: uppercase; color: #160b00 !important;
  background: linear-gradient(135deg, var(--ko-accent), var(--ko-accent-2));
  box-shadow: 0 0 24px rgba(255, 140, 30, .35); transition: transform .15s, box-shadow .15s;
}
.ko-btn:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(255, 140, 30, .55); }
.ko-btn-ghost { background: transparent; color: var(--ko-accent) !important; border: 1px solid var(--ko-accent); box-shadow: none; }
.ko-btn-ghost:hover { background: rgba(255, 174, 59, .1); }
.ko-btn-small { padding: 9px 18px; font-size: 12px; }
.ko-btn-block { width: 100%; }

/* Giriş bölümü */
.ko-hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px;
  background:
    linear-gradient(90deg, rgba(5,7,13,.95) 0%, rgba(5,7,13,.7) 45%, rgba(5,7,13,.2) 100%),
    linear-gradient(0deg, #05070d 0%, rgba(5,7,13,0) 30%),
    url('../img/knight/hero-bg.jpg') center / cover no-repeat;
}
.ko-hero-inner { display: flex; align-items: center; }
.ko-hero-text { flex: 1.15 1 0%; min-width: 0; margin-right: 60px; }
.ko-auth { flex: .85 1 0%; min-width: 0; }
.ko-hero-text h1 { font-size: 54px; line-height: 1.1; margin: 22px 0 18px; color: #fff; font-weight: 800; }
.ko-hero-text h1 em { font-style: normal; color: var(--ko-accent); text-shadow: 0 0 30px rgba(255, 150, 40, .5); }
.ko-hero-text p { font-size: 19px; line-height: 1.6; color: var(--ko-text); max-width: 560px; }
.ko-hero-cta { display: flex; flex-wrap: wrap; margin-top: 32px; }
.ko-hero-cta .ko-btn { margin: 0 16px 12px 0; }
.ko-badge {
  display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px;
  background: rgba(61, 255, 139, .08); border: 1px solid rgba(61, 255, 139, .3); color: #9effc4; font-size: 13px; font-weight: 600;
}
.ko-dot { margin-right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--ko-live); box-shadow: 0 0 10px var(--ko-live); animation: ko-pulse 1.8s infinite; }
@keyframes ko-pulse { 50% { opacity: .35; } }
.ko-scroll { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: var(--ko-muted); animation: ko-bob 2s infinite; }
.ko-scroll i { font-size: 40px; }
@keyframes ko-bob { 50% { transform: translate(-50%, 8px); } }

/* Giriş/kayıt kartı (Materialize üzerine) */
.ko-auth .card {
  background: var(--ko-panel); backdrop-filter: blur(10px); border: 1px solid var(--ko-line);
  border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); margin: 0;
}
.ko-auth .tabs { background: transparent; border-bottom: 1px solid var(--ko-line); border-radius: 8px 8px 0 0; }
.ko-auth .tabs .tab a { color: var(--ko-muted); font-family: 'Orbitron', sans-serif; letter-spacing: .1em; }
.ko-auth .tabs .tab a:hover, .ko-auth .tabs .tab a.active { color: var(--ko-accent); background: transparent; }
.ko-auth .tabs .indicator { background-color: var(--ko-accent); }
.ko-auth .card-content { padding: 20px 24px 8px; }
.ko-auth input:not([type=checkbox]) { color: #fff; border-bottom-color: rgba(255,255,255,.2) !important; }
.ko-auth input:focus { border-bottom: 1px solid var(--ko-accent) !important; box-shadow: 0 1px 0 0 var(--ko-accent) !important; }
.ko-auth .input-field label, .ko-auth .prefix { color: var(--ko-muted); }
.ko-auth .input-field label.active, .ko-auth .prefix.active { color: var(--ko-accent) !important; }
.ko-auth .helper-text { color: var(--ko-muted) !important; }
.ko-auth [type="checkbox"]+span:not(.lever) { color: var(--ko-muted); font-size: 13px; }
.ko-auth [type="checkbox"]:checked+span:not(.lever):before { border-right-color: var(--ko-accent); border-bottom-color: var(--ko-accent); }
.ko-auth a.modal-trigger { color: var(--ko-accent); }

/* Bölümler */
.ko-section { padding: 100px 0; background: var(--ko-bg); }
.ko-section-alt { background: radial-gradient(ellipse at top, #121a2c 0%, var(--ko-bg-alt) 60%); border-top: 1px solid var(--ko-line); border-bottom: 1px solid var(--ko-line); }
.ko-section-head { text-align: center; margin-bottom: 56px; }
.ko-eyebrow { color: var(--ko-accent); text-transform: uppercase; letter-spacing: .25em; font-size: 13px; font-weight: 700; }
.ko-section-head h2 { font-size: 40px; color: #fff; margin: 12px 0 0; font-weight: 800; }
.ko-center { text-align: center; margin-top: 48px; }

.ko-features, .ko-factions, .ko-steps { display: flex; margin-left: -14px; margin-right: -14px; }
.ko-feature, .ko-faction, .ko-steps li { flex: 1 1 0%; min-width: 0; margin: 0 14px; }
.ko-feature { background: var(--ko-bg-alt); border: 1px solid var(--ko-line); border-radius: 8px; overflow: hidden; transition: transform .2s, border-color .2s; }
.ko-feature:hover { transform: translateY(-6px); border-color: rgba(255, 174, 59, .5); }
.ko-feature-img { height: 0; padding-top: 75%; background: #111 center / cover no-repeat; }
.ko-feature-body { padding: 22px 24px 26px; }
.ko-feature-body h3 { font-size: 20px; color: #fff; margin: 0 0 10px; }
.ko-feature-body p { color: var(--ko-muted); line-height: 1.6; margin: 0; }
.ko-feature-links { display: flex; flex-wrap: wrap; margin: 14px -5px -4px; }
.ko-feature-links a { display: inline-block; margin: 0 5px 8px; padding: 7px 10px; border: 1px solid rgba(255,174,59,.4); border-radius: 4px; background: rgba(255,174,59,.06); color: var(--ko-accent); font-size: 12px; font-weight: 700; line-height: 1.35; }
.ko-feature-links a:hover { background: rgba(255,174,59,.16); border-color: var(--ko-accent); }

.ko-faction { text-align: center; padding: 0; overflow: hidden; border-radius: 8px; background: rgba(5, 7, 13, .6); border: 1px solid; transition: transform .2s, box-shadow .2s; }
.ko-faction:hover { transform: translateY(-6px); }
.ko-faction-art { position: relative; overflow: hidden; height: 0; padding-top: 118%; background: #0a0f1a; }
.ko-faction-art img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s; }
.ko-faction-art:after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(0deg, rgba(5, 7, 13, .97), rgba(5, 7, 13, 0)); }
.ko-faction:hover .ko-faction-art img { transform: scale(1.05); }
.ko-faction-body { position: relative; z-index: 1; margin-top: -56px; padding: 0 28px 32px; }
.ko-faction h3 { font-size: 32px; margin: 0 0 12px; text-shadow: 0 2px 12px rgba(0, 0, 0, .9); }
.ko-faction h3 small { display: block; font-family: 'Exo 2', sans-serif; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--ko-muted); margin-top: 4px; }
.ko-faction p { color: var(--ko-text); line-height: 1.6; margin: 0; }
.ko-mmo { border-color: rgba(255, 74, 61, .35); } .ko-mmo h3 { color: var(--ko-mmo); } .ko-mmo:hover { box-shadow: 0 0 40px rgba(255, 74, 61, .35); }
.ko-eic { border-color: rgba(61, 155, 255, .35); } .ko-eic h3 { color: var(--ko-eic); } .ko-eic:hover { box-shadow: 0 0 40px rgba(61, 155, 255, .35); }
.ko-vru { border-color: rgba(184, 102, 255, .35); } .ko-vru h3 { color: var(--ko-vru); } .ko-vru:hover { box-shadow: 0 0 40px rgba(184, 102, 255, .35); }

.ko-steps { list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.ko-steps li { position: relative; padding: 30px 26px; border-radius: 8px; background: var(--ko-bg-alt); border: 1px solid var(--ko-line); }
.ko-step-no { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; font-family: 'Orbitron', sans-serif; font-weight: 800; color: #160b00; background: linear-gradient(135deg, var(--ko-accent), var(--ko-accent-2)); }
.ko-steps h3 { font-size: 20px; color: #fff; margin: 16px 0 8px; }
.ko-steps p { color: var(--ko-muted); line-height: 1.6; margin: 0; }

/* Kullanım şartları penceresi */
.ko-home .modal { background: var(--ko-bg-alt); color: var(--ko-text); border: 1px solid var(--ko-line); }
.ko-home .modal h4 { color: #fff; font-size: 26px; }
.ko-home .modal ol li { margin-bottom: 10px; line-height: 1.6; }
.ko-home .modal .modal-footer { background: var(--ko-bg-alt); border-top: 1px solid var(--ko-line); }
.ko-home .modal .btn-flat { color: var(--ko-accent); }
.ko-legal { color: var(--ko-muted); font-size: 13px; margin-top: 20px; }

/* Alt bilgi */
.ko-body .page-footer { background: #03050a !important; border-top: 1px solid var(--ko-line); padding-top: 0; }
.ko-body .page-footer .footer-copyright { background: transparent; color: var(--ko-muted); }
.ko-body .page-footer a { color: var(--ko-text) !important; }

/* Mobil */
@media (max-width: 992px) {
  .ko-hero { min-height: 0; }
  .ko-scroll { display: none; }
  .ko-hero-inner { flex-direction: column; align-items: stretch; }
  .ko-hero-text { flex: none; margin: 0 0 40px; }
  .ko-auth { flex: none; }
  .ko-hero-text h1 { font-size: 40px; }
  .ko-features, .ko-factions, .ko-steps { flex-direction: column; margin-left: 0; margin-right: 0; }
  .ko-feature, .ko-faction, .ko-steps li { flex: none; margin: 0 0 24px; }
  .ko-faction { width: 100%; max-width: 420px; margin-left: auto; margin-right: auto; }
  .ko-links a:not(.ko-btn) { display: none; }
}
@media (max-width: 600px) {
  .ko-wrap { padding: 0 16px; }
  .ko-hero { padding-top: 100px; }
  .ko-hero-text h1 { font-size: 32px; }
  .ko-hero-text p { font-size: 16px; }
  .ko-section { padding: 70px 0; }
  .ko-section-head h2 { font-size: 30px; }
  .ko-brand img { height: 36px; }
  .ko-links .ko-btn-small { padding: 8px 12px; font-size: 11px; }
  .ko-hero-cta .ko-btn { flex: 1 1 auto; text-align: center; }
}

@media (min-height: 980px) { .ko-hero { min-height: 980px; } }
.ko-feature-img { position: relative; }
.ko-soon { position: absolute; top: 14px; right: 14px; padding: 6px 12px; border-radius: 4px; background: #ff8a00; color: #0b0f1a; font-family: 'Orbitron', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .12em; box-shadow: 0 0 14px rgba(255, 138, 0, .6); }

/* Galaksi kapıları kartı */
.ko-feature-gates { border-color: rgba(86, 190, 190, .28); }
.ko-feature-gates:hover { border-color: rgba(86, 190, 190, .62); }
.ko-feature-gates .ko-feature-img { background-position: center 42%; }
.ko-gates-badge { position: absolute; top: 16px; left: 16px; padding: 7px 11px; border: 1px solid rgba(122, 220, 211, .52); border-radius: 3px; background: rgba(5, 22, 28, .82); color: #9ce4db; font-family: 'Orbitron', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.ko-gate-list { display: flex; flex-wrap: wrap; margin: 15px -4px -2px; }
.ko-gate-list span { display: inline-block; margin: 0 4px 7px; padding: 5px 8px; border: 1px solid rgba(86, 190, 190, .28); border-radius: 3px; background: rgba(68, 159, 159, .08); color: #a8d8d4; font-family: 'Orbitron', sans-serif; font-size: 9px; letter-spacing: .06em; }
