@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg-deep: #010514;
  --panel: rgba(5, 9, 20, 0.85);
  --panel-soft: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text-soft: #a8b6ff;
  --accent: #3f7bff;
  --accent-strong: #1d49ff;
  --hero-banner: none;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(97, 156, 255, 0.35), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(255, 116, 213, 0.22), transparent 40%),
    linear-gradient(180deg, rgba(1, 5, 20, 0.9), rgba(1, 5, 20, 0.98)),
    url("/assets/images/arkaplan.png");
  background-attachment: fixed;
  background-size: cover, cover, cover, 250px 250px;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-position: center, center, center, center;
  color: #fff;
  min-height: 100vh;
  line-height: 1.6;
}

.splash-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 40% 40%, rgba(63, 123, 255, 0.8), rgba(5, 9, 20, 0.99)) #010514;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.splash-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-inner {
  text-align: center;
  max-width: 420px;
  color: #cfe1ff;
  padding: 48px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(3, 8, 24, 0.85);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.splash-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: radial-gradient(circle at 30% 30%, #ffd64f, #f5641b 45%, #081531 60%);
  border-radius: 50%;
  position: relative;
}

.splash-icon::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.splash-inner h1 {
  font-size: 38px;
  margin-bottom: 8px;
  letter-spacing: 0.8px;
}

.splash-inner p {
  margin-bottom: 20px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
}

.splash-loader {
  margin: 16px auto 24px;
  width: 220px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.splash-bar {
  width: 60%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  animation: splashMove 2.8s ease infinite;
}

@keyframes splashMove {
  0% { transform: translateX(-90%); }
  100% { transform: translateX(250%); }
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 3;
}

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

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3f7bff, #46e5ff);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.2px;
  box-shadow: 0 10px 30px rgba(40, 100, 255, 0.45);
}
.brand-mark.has-image {
  border-radius: 16px;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 45px rgba(5, 15, 40, 0.45);
}
.brand-mark.has-image span {
  display: none;
}
.brand-mark span {
  font-size: 20px;
  color: #fff;
  font-weight: 700;
}

.brand-copy strong {
  font-size: 18px;
  display: block;
  letter-spacing: 0.4px;
}

.brand-copy small {
  display: block;
  font-size: 11px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
}

.nav a {
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  color: var(--text-soft);
  letter-spacing: 0.5px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover {
  color: #fff;
  border-color: var(--accent);
}

.main-nav {
  justify-self: center;
  flex: 1;
  justify-content: center;
}

.header-stats {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--text-soft);
}

.header-stats strong {
  color: #fff;
  font-weight: 600;
}

.main-content {
  padding: 40px 0 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero {
  margin: 0 auto;
  padding: 0;
  width: min(1160px, 100%);
}

.hero-landing {
  position: relative;
  border-radius: 32px;
  padding: 60px;
  overflow: hidden;
  background: linear-gradient(145deg, #030b1f, #050b25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(1, 3, 12, 0.8);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.hero-landing::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 26px;
  background-image: var(--hero-banner);
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
  filter: saturate(1.3);
}

.hero-profile {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-profile span {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2px;
}

.hero-showcase {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  background: #02030a;
  padding: 36px 46px;
  border-radius: 26px;
  border: none;
  box-shadow:
    inset 0 0 45px rgba(63, 123, 255, 0.15),
    0 40px 80px rgba(0, 0, 0, 0.8);
}

.featured-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-left: auto;
  color: var(--accent);
}

.hero-fog {
  position: absolute;
  inset: 12%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(40px, 4vw, 64px);
  margin-bottom: 18px;
  line-height: 1.2;
}

.hero-lede {
  color: #d4ddff;
  max-width: 420px;
  margin-bottom: 24px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 26px;
  height: 52px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 16px 40px rgba(63, 123, 255, 0.35);
}

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

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

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  letter-spacing: 0.6px;
}

.hero-pill.wa {
  background: rgba(46, 209, 91, 0.12);
  border-color: rgba(46, 209, 91, 0.3);
}

.hero-pill.tg {
  background: rgba(79, 138, 246, 0.14);
  border-color: rgba(79, 138, 246, 0.35);
}

.hero-pill.info {
  color: #9ec4ff;
}

._hero-showcase-backer {
  position: absolute;
  inset: 0;
}
.showcase-card {
  position: relative;
  width: 100%;
  border-radius: 28px;
  padding: 28px;
  background: #030712;
  border: none;
  box-shadow: 0 45px 120px rgba(0, 0, 0, 0.9), inset 0 0 60px rgba(63, 123, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.showcase-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.showcase-media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.showcase-media img {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-placeholder {
  min-height: 220px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.showcase-info h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.showcase-info p {
  font-size: 14px;
  color: var(--text-soft);
}

.price {
  display: inline-flex;
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
}

.type-pill {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  letter-spacing: 0.5px;
}

.contact-widget {
  position: fixed;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
}

.contact-widget-btn {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-widget-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5);
}

.contact-widget-whatsapp {
  background: linear-gradient(145deg, #1ed760, #0e9c3d);
}

.contact-widget-telegram {
  background: linear-gradient(145deg, #6cbfff, #0c58d9);
}

.contact-widget-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-size: 22px 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.contact-widget-icon.wa {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZD0iTTE2LjEgMTguNGMtMS4xLjYtMi4zIDEuMS0zLjYgMS4zLTMuMy41LTYuNi0xLjEtOC4yLTQuMWExMi4zIDEyLjMgMCAwIDEtMS01LjRjMC0uMy4yLS42LjUtLjZoMi4xYS41LjUgMCAwIDEgLjUuNCA2LjIgNi4yIDAgMCAwIC40IDIuMS41LjUgMCAwIDEtLjEuNWwtMS40IDEuNmMxLjIgMiAzLjYgMy42IDYgNC4yIDEuMS4yIDIuMi4yIDMuMy4xLjMgMCAuNS4yLjUuNXYyYzAgLjMtLjQuNS0uNy40em0yLjgtNS4zYy0uMi0uMy0uNS0uNC0uOS0uMy0xLjEuMi0yLjYuNC0zLjUgMC0uNC0uMi0uOS0uNi0xLjItMS4xLS4xLS4zLS4xLS43LjItMSAuNy0uOCAxLjQtMS42IDItMi40LjQtLjQuOS0uNCAxLjItLjIuNy4zIDEuNiAxIDEuOSAxLjMuMy40LjMuOS4xIDEuMy0uNSAxLTEgMi0xLjYgMi45eiIvPjwvc3ZnPg==");
}

.contact-widget-icon.tg {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZD0iTTMgMTJsMTctNy01IDE4LTQuNS02LjV6Ii8+PC9zdmc+");
}

.audio-pill {
  position: fixed;
  bottom: 16px;
  left: 84px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-pill::before {
  content: "♪";
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 28px;
  padding: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: 32px;
}

.section-subtitle {
  color: var(--text-soft);
  margin-top: 10px;
  font-size: 15px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.reason-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.reason-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.reason-card p {
  color: var(--text-soft);
  font-size: 14px;
}

.reason-panel {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.reason-panel strong {
  display: block;
  font-size: 28px;
  margin-top: 6px;
}

.reason-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-soft);
}

.footer {
  margin-top: 40px;
  width: 100%;
  background: transparent;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-dark {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-soft);
}

.footer-links a:hover {
  color: #fff;
}

body.admin-shell {
  background: linear-gradient(135deg, rgba(2, 6, 18, 0.95), rgba(3, 7, 24, 0.95));
}

body.admin-shell .topbar {
  background: rgba(3, 7, 20, 0.95);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.admin-badge {
  margin-left: 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(63, 123, 255, 0.15);
  color: #b0c7ff;
  white-space: nowrap;
}

body.admin-shell .tablewrap {
  background: rgba(4, 9, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
}

.thumb-col {
  width: 84px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.thumb-empty {
  font-size: 11px;
  color: var(--text-soft);
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  letter-spacing: 0.5px;
}

.chip-success {
  border-color: rgba(63, 123, 255, 0.5);
  background: rgba(63, 123, 255, 0.15);
  color: #a3c9ff;
}

.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.tablewrap {
  max-width: 1100px;
  margin: 22px auto;
  padding: 0 18px;
}

.tablewrap table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tablewrap th,
.tablewrap td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  font-size: 14px;
}

.tablewrap th {
  background: rgba(255, 255, 255, 0.06);
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 14px;
}

label {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 6px;
  display: block;
}

.field-note {
  font-size: 11px;
  color: #9bb3ff;
  display: block;
  margin-top: 4px;
}

.formgrid {
  display: grid;
  gap: 14px;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.nav-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  align-items: end;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-soft);
}

.notice {
  margin: 10px 0;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.notice.ok {
  color: #d8ffe4;
}

.notice.err {
  color: #ffd2dc;
}

.cards {
  width: 100%;
  display: grid;
  gap: 16px;
}

.card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-weight: 600;
  color: #fff;
}

@media (max-width: 900px) {
  .topbar {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .header-stats {
    width: 100%;
    justify-content: space-between;
  }

  .hero-landing {
    padding: 36px;
  }

  .audio-pill {
    left: auto;
    right: 18px;
    bottom: 18px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-profile {
    width: 60px;
    height: 60px;
  }

  .contact-widget {
    top: auto;
    bottom: 18px;
    left: 50%;
    transform: translate(-50%, 0);
    flex-direction: row;
    gap: 14px;
  }

  .hero-showcase {
    grid-column: 1 / -1;
  }

  body.admin-shell .topbar {
    align-items: flex-start;
  }

  body.admin-shell .nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  body.admin-shell .tablewrap {
    padding: 12px;
  }

  body.admin-shell table {
    font-size: 13px;
  }

  body.admin-shell .row-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
