:root {
  --bg: #0b0411;
  --bg-soft: #18081f;
  --card: rgba(255,255,255,0.055);
  --card-strong: rgba(255,255,255,0.1);
  --text: #fbf7ff;
  --muted: #dbcdf0;
  --border: rgba(255,255,255,0.1);
  --primary: #df7cff;
  --primary-2: #8d53ff;
  --primary-3: #ff77da;
  --success: #53d7a0;
  --danger: #ff7f9f;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(169,72,255,.22) 0%, rgba(169,72,255,0) 28%),
    radial-gradient(circle at 90% 20%, rgba(255,86,214,.16) 0%, rgba(255,86,214,0) 24%),
    linear-gradient(180deg, #130618 0%, var(--bg) 100%);
  color: var(--text);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.bg-grid {
  position: fixed; inset: 0; z-index: -3; pointer-events: none; opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
}
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(11, 4, 17, 0.68);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-badge {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 18px; font-weight: 800; color:#fff;
  background: linear-gradient(135deg, var(--primary-3), var(--primary-2));
  box-shadow: 0 0 18px rgba(223,124,255,.35), 0 0 38px rgba(141,83,255,.25);
}
.brand strong { display: block; font-size: 1.05rem; }
.brand small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.nav-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--muted); font-weight: 500; position: relative; }
.nav-links a:hover { color: var(--text); text-shadow: 0 0 12px rgba(223,124,255,.45); }
.nav-links .nav-cta, .btn, button {
  background: linear-gradient(135deg, #fff, #f6eaff);
  color: #351146; border: none; cursor: pointer;
  border-radius: 16px; font-weight: 800; box-shadow: var(--shadow);
}
.nav-links .nav-cta { padding: 12px 18px; }
.hero { padding: 84px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  padding: 10px 16px; border-radius: 999px; color: var(--muted);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.hero-title, .section-head h2 { font-size: clamp(2.3rem, 5vw, 4.7rem); line-height: 1.03; margin: 18px 0 20px; }
.hero-title { max-width: 920px; }
.lead { color: var(--muted); font-size: 1.08rem; line-height: 1.85; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.btn { padding: 14px 22px; font-size: .98rem; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline {
  background: rgba(255,255,255,.05); color: var(--text); border: 1px solid var(--border);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.btn:hover { transform: translateY(-1px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.stat-card, .card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 28px; box-shadow: var(--shadow); backdrop-filter: blur(14px);
}
.stat-card { padding: 20px; }
.stat-card strong { font-size: 2rem; display: block; }
.stat-card span { color: var(--muted); font-size: .94rem; }
.hero-panel { padding: 26px; position: relative; overflow: hidden; }
.hero-panel::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(242,146,255,.12), rgba(157,92,255,.05));
}
.hero-panel > * { position: relative; }
.feature-list { display: grid; gap: 12px; margin-top: 20px; }
.feature-item {
  padding: 16px 18px; border-radius: 22px; background: rgba(15,15,15,.18);
  border: 1px solid rgba(255,255,255,.08); color: var(--muted);
}
.section { padding: 78px 0; }
.section-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 16px 0 10px; }
.section-head p { color: var(--muted); line-height: 1.8; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { padding: 28px; position: relative; }
.card::after {
  content: ''; position: absolute; inset: 0; border-radius: 28px; pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), inset 0 0 0 1px rgba(255,255,255,.02);
}
.card h3, .card h4 { margin-top: 14px; margin-bottom: 10px; }
.card p, .card li { color: var(--muted); line-height: 1.8; }
.badge {
  display: inline-block; padding: 8px 12px; border-radius: 999px;
  background: rgba(223,124,255,.1); border: 1px solid rgba(223,124,255,.26); color: #f6d7ff;
  font-size: .84rem; font-weight: 700; box-shadow: 0 0 20px rgba(223,124,255,.08);
}
.cta-band {
  padding: 34px; border-radius: 32px; background: linear-gradient(135deg, rgba(223,124,255,.11), rgba(255,255,255,.03));
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.input, textarea, select {
  width: 100%; padding: 14px 16px; border-radius: 16px;
  border: 1px solid var(--border); background: rgba(255,255,255,.045);
  color: var(--text); font: inherit; outline: none;
}
.input:focus, textarea:focus, select:focus { border-color: rgba(223,124,255,.55); box-shadow: 0 0 0 3px rgba(223,124,255,.12); }
textarea { min-height: 120px; resize: vertical; }
label { display: block; margin-bottom: 8px; font-weight: 600; }
.helper { color: var(--muted); font-size: .92rem; line-height: 1.65; }
.alert {
  padding: 14px 16px; border-radius: 18px; margin-bottom: 16px;
  border: 1px solid rgba(83,215,160,.24); background: rgba(83,215,160,.12); color: #dffff1;
}
.flash-error {
  padding: 14px 16px; border-radius: 18px; margin-bottom: 16px;
  background: rgba(255, 127, 159, .1); border: 1px solid rgba(255, 127, 159, .22); color: #ffd9e3;
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 900px; }
th, td { padding: 16px; border-bottom: 1px solid var(--border); text-align: left; }
th { color: var(--muted); font-size: .92rem; font-weight: 600; }
tr:hover td { background: rgba(255,255,255,.025); }
.status {
  padding: 8px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; display: inline-block;
  background: rgba(223,124,255,.14); border: 1px solid rgba(223,124,255,.2);
}
.login-box { max-width: 480px; margin: 80px auto; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.faq-item { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
.faq-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.site-footer { border-top: 1px solid var(--border); padding: 32px 0 48px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 24px; }
.footer-grid p, .footer-grid li { color: var(--muted); line-height: 1.8; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.bg-orb {
  position: fixed; border-radius: 999px; filter: blur(90px); opacity: .24; pointer-events: none; z-index: -2;
  background: radial-gradient(circle, rgba(221,112,255,1) 0%, rgba(134,73,255,.55) 50%, rgba(18,6,23,0) 76%);
  animation: drift 12s ease-in-out infinite;
}
.orb-1 { width: 300px; height: 300px; top: 80px; left: -50px; }
.orb-2 { width: 360px; height: 360px; top: 150px; right: -70px; animation-delay: 2s; }
.orb-3 { width: 290px; height: 290px; top: 820px; left: 18%; animation-delay: 4s; }
@keyframes drift {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(0,24px,0) scale(1.05); }
}
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.visible { animation: fadeUp .7s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.modal {
  position: fixed; inset: 0; display: none; place-items: center; background: rgba(7,2,10,.76); z-index: 99; padding: 20px;
}
.modal.active { display: grid; }
.modal-card {
  width: min(760px, 100%); background: #1b0c23; border: 1px solid var(--border); border-radius: 28px; padding: 28px; box-shadow: var(--shadow);
}
.close-btn { float: right; background: transparent; color: var(--text); box-shadow: none; border: 1px solid var(--border); padding: 10px 12px; }
.neon-line { display: flex; flex-wrap: wrap; gap: 0; }
.neon-char {
  display: inline-block; color: rgba(255,255,255,.8);
  animation: sweep 4.8s linear infinite;
  transition: color .18s linear, text-shadow .18s linear;
}
.neon-space { width: .35em; display:inline-block; }
@keyframes sweep {
  0%,100% { color: rgba(255,255,255,.78); text-shadow: none; }
  8% {
    color: #fff;
    text-shadow:
      0 0 4px rgba(255,130,230,.95),
      0 0 10px rgba(255,130,230,.9),
      0 0 18px rgba(192,88,255,.85),
      0 0 32px rgba(132,70,255,.75);
  }
  16% { color: rgba(255,255,255,.78); text-shadow: none; }
}
@media (max-width: 980px) {
  .hero-grid, .grid-3, .grid-2, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta-band, .admin-top, .nav-wrap { flex-direction: column; align-items: flex-start; }
  .nav-links { gap: 12px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 56px; }
  .stats { grid-template-columns: 1fr; }
  .container { width: min(100% - 20px, 1180px); }
}


/* Neon kayan yazı efekti */
.hero-title{
  position: relative;
  display: block;
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 0 10px rgba(223,124,255,.08);
}

.sweep-title{
  position: relative;
  color: rgba(255,255,255,0.88);
}

.sweep-title::after{
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 42%,
    rgba(255,255,255,0.95) 48%,
    rgba(246,175,255,1) 50%,
    rgba(160,95,255,1) 52%,
    rgba(255,255,255,0) 58%,
    rgba(255,255,255,0) 100%
  );
  background-size: 220% 100%;
  background-repeat: no-repeat;
  background-position: -140% 0;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(223,124,255,.55)) drop-shadow(0 0 22px rgba(141,83,255,.4));
  animation: textSweep 4.8s linear infinite;
  pointer-events: none;
}

@keyframes textSweep{
  0%   { background-position: -140% 0; }
  100% { background-position: 140% 0; }
}



/* Neon sweep text and buttons */
.neon-sweep,
.neon-logo,
.neon-button,
.neon-heading {
    position: relative;
    display: inline-block;
}

.neon-sweep-text,
.neon-logo-text,
.neon-heading-text {
    position: relative;
    color: #f8eeff;
    text-shadow: 0 0 10px rgba(192, 120, 255, 0.20);
}

.neon-sweep::after,
.neon-logo::after,
.neon-heading::after,
.neon-button::after {
    content: "";
    position: absolute;
    top: -12%;
    left: -35%;
    width: 30%;
    height: 124%;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,190,255,0.08) 20%,
        rgba(232,163,255,0.92) 50%,
        rgba(151,71,255,0.48) 70%,
        rgba(255,255,255,0) 100%
    );
    filter: blur(6px);
    transform: skewX(-20deg);
    pointer-events: none;
    animation: neonSweepLTR 3.8s linear infinite;
}

.neon-logo::after { animation-duration: 4.2s; }
.neon-heading::after { animation-duration: 4s; }
.neon-button::after { animation-duration: 3s; border-radius: inherit; height: 140%; top: -20%; }

@keyframes neonSweepLTR {
    0%   { left: -38%; opacity: 0; }
    8%   { opacity: 1; }
    50%  { opacity: 1; }
    100% { left: 108%; opacity: 0; }
}

.hero h1,
.page-title,
.section-title,
.card-title,
.admin-title {
    position: relative;
}

.logo {
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.logo .brand-main,
.logo .brand-accent {
    position: relative;
    z-index: 1;
}

.logo .brand-accent {
    color: #d78fff;
    text-shadow: 0 0 8px rgba(215,143,255,.75), 0 0 18px rgba(146,63,255,.45);
}

.btn,
button,
input[type=submit] {
    position: relative;
    overflow: hidden;
}

.btn-primary,
.hero .btn-primary,
.neon-cta {
    box-shadow: 0 0 16px rgba(178, 88, 255, 0.28), inset 0 0 0 1px rgba(255,255,255,0.06);
}

.btn-secondary {
    box-shadow: 0 0 14px rgba(140, 72, 255, 0.12);
}

.section h2,
.page-heading,
.panel-heading {
    display: inline-block;
}

.glow-card,
.item,
.glass-card {
    position: relative;
    overflow: hidden;
}

.glow-card::after,
.item::after,
.glass-card::after {
    content: "";
    position: absolute;
    inset: auto auto -60% -30%;
    width: 50%;
    height: 160%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(214,144,255,0.08), rgba(143,64,255,0.15), rgba(255,255,255,0));
    transform: rotate(18deg);
    filter: blur(18px);
    animation: cardSweepLTR 6s linear infinite;
    pointer-events: none;
}

@keyframes cardSweepLTR {
    0% { left: -45%; opacity: 0; }
    15% { opacity: 1; }
    100% { left: 120%; opacity: 0; }
}


/* ===== Premium animated logo ===== */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.logo-mark {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.24), transparent 35%),
        linear-gradient(135deg, #ff85f7 0%, #b245ff 45%, #7028ff 100%);
    box-shadow:
        0 0 14px rgba(204, 109, 255, 0.45),
        0 0 34px rgba(124, 54, 255, 0.35),
        inset 0 0 0 1px rgba(255,255,255,0.12);
}

.logo-mark::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        conic-gradient(from 0deg, transparent 0deg, rgba(255,255,255,0.75) 36deg, transparent 70deg, transparent 360deg);
    animation: logoSpin 4.6s linear infinite;
    opacity: 0.9;
    filter: blur(1px);
}

.logo-mark::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 12px;
    background:
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.26), rgba(255,255,255,0.02) 55%, transparent 70%);
    box-shadow: inset 0 0 14px rgba(255,255,255,0.18);
}

.logo-core {
    position: absolute;
    inset: 16px;
    z-index: 2;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(240,210,255,0.45));
    clip-path: polygon(50% 0%, 90% 28%, 78% 100%, 22% 100%, 10% 28%);
    box-shadow: 0 0 18px rgba(255,255,255,0.48);
}

.logo-text-wrap {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
}

.logo-topline {
    font-size: 13px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.68);
    margin-left: 3px;
}

.neon-logo {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.neon-logo .brand-main,
.neon-logo .brand-accent {
    position: relative;
    z-index: 1;
}

.neon-logo .brand-main {
    color: #fff;
    text-shadow:
        0 0 8px rgba(255,255,255,0.16),
        0 0 18px rgba(191, 110, 255, 0.18);
}

.neon-logo .brand-accent {
    color: #e5b1ff;
    text-shadow:
        0 0 8px rgba(229,177,255,0.42),
        0 0 18px rgba(186,92,255,0.52),
        0 0 28px rgba(118,43,255,0.32);
}

.neon-logo::before {
    content: "";
    position: absolute;
    top: -18%;
    left: -34%;
    width: 28%;
    height: 140%;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,225,255,0.16) 18%,
        rgba(255,255,255,0.96) 50%,
        rgba(196,106,255,0.62) 72%,
        rgba(255,255,255,0) 100%
    );
    filter: blur(5px);
    transform: skewX(-20deg);
    animation: neonSweepLTR 3.2s linear infinite;
    pointer-events: none;
    z-index: 2;
}

/* ===== Strong neon buttons ===== */
.btn,
button,
input[type=submit] {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-primary,
.hero .btn-primary,
.neon-cta {
    background: linear-gradient(135deg, #ff80f8 0%, #cb58ff 46%, #7b30ff 100%) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #fff !important;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06) inset,
        0 0 16px rgba(197, 91, 255, 0.36),
        0 0 34px rgba(130, 54, 255, 0.30) !important;
}

.btn-primary:hover,
.hero .btn-primary:hover,
.neon-cta:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.12) inset,
        0 0 24px rgba(218, 110, 255, 0.52),
        0 0 44px rgba(130, 54, 255, 0.42) !important;
}

.btn-secondary {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(212, 144, 255, 0.22) !important;
    color: #fff !important;
    box-shadow:
        0 0 12px rgba(170, 91, 255, 0.14),
        inset 0 0 0 1px rgba(255,255,255,0.04);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.14) !important;
    box-shadow:
        0 0 16px rgba(192, 104, 255, 0.22),
        0 0 28px rgba(132, 62, 255, 0.16);
}

.neon-button::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.36), rgba(255,255,255,0.02), rgba(196,106,255,0.44));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.95;
    z-index: 0;
    pointer-events: none;
}

.neon-button::after {
    content: "";
    position: absolute;
    top: -30%;
    left: -36%;
    width: 26%;
    height: 170%;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,220,255,0.12) 20%,
        rgba(255,255,255,0.95) 50%,
        rgba(188,88,255,0.56) 72%,
        rgba(255,255,255,0) 100%
    );
    filter: blur(6px);
    transform: skewX(-18deg);
    animation: neonSweepLTR 2.6s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.btn span,
button span,
input[type=submit] span,
.btn-primary,
.btn-secondary {
    position: relative;
    z-index: 2;
}

@keyframes logoSpin {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1); }
}
