:root {
  --bg: #070604;
  --bg-2: #0e0b08;
  --ember: #ff6a24;
  --ember-soft: rgba(255, 106, 36, 0.58);
  --gold: #f4b869;
  --gold-soft: rgba(244, 184, 105, 0.42);
  --line: rgba(244, 184, 105, 0.42);
  --text: #f6dec2;
  --shadow: rgba(0, 0, 0, 0.76);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background:
    radial-gradient(circle at 14% 86%, rgba(255, 82, 24, 0.16), transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(244, 184, 105, 0.08), transparent 28%),
    linear-gradient(120deg, #040302, #0c0805 52%, #060403);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

.page-shell {
  position: relative;
  min-height: 100svh;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), transparent 44%, rgba(0, 0, 0, 0.26)),
    radial-gradient(circle at 50% 40%, rgba(255, 96, 29, 0.08), transparent 25%);
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  padding: clamp(22px, 3vw, 42px) clamp(24px, 4vw, 64px);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  gap: 0.46em;
  align-items: center;
  font-size: clamp(20px, 2.4vw, 42px);
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow:
    0 0 14px rgba(255, 106, 36, 0.28),
    0 0 34px rgba(244, 184, 105, 0.15);
  filter: drop-shadow(0 0 10px rgba(255, 98, 27, 0.14));
}

.brand span:first-child {
  font-weight: 700;
}

.brand span:last-child {
  font-weight: 400;
  opacity: 0.88;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
}

.panel {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
}

.panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.05);
  transform: scale(1.035);
}

.panel-left img {
  object-position: 46% 44%;
}

.panel-right img {
  object-position: 48% 36%;
}

.panel-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.panel-left .panel-overlay {
  background:
    radial-gradient(circle at 28% 36%, rgba(255, 150, 66, 0.06), transparent 24%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.64)),
    linear-gradient(0deg, rgba(4, 3, 2, 0.56), transparent 44%),
    linear-gradient(180deg, rgba(6, 4, 3, 0.30), transparent 28%);
}

.panel-right .panel-overlay {
  background:
    radial-gradient(circle at 44% 34%, rgba(244, 184, 105, 0.07), transparent 28%),
    linear-gradient(-90deg, rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.47)),
    linear-gradient(0deg, rgba(5, 4, 3, 0.42), transparent 42%),
    linear-gradient(180deg, rgba(6, 5, 4, 0.20), transparent 30%);
}

.panel-left::after,
.panel-right::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: auto 0 0 0;
  height: 30%;
  background:
    radial-gradient(circle at 18% 100%, rgba(255, 87, 25, 0.24), transparent 26%),
    linear-gradient(0deg, rgba(3, 2, 1, 0.78), transparent);
  pointer-events: none;
}

.panel-right::after {
  background:
    radial-gradient(circle at 88% 100%, rgba(244, 184, 105, 0.12), transparent 28%),
    linear-gradient(0deg, rgba(3, 2, 1, 0.58), transparent);
}

.split-line {
  position: absolute;
  z-index: 9;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background:
    linear-gradient(180deg, transparent, var(--line) 14%, var(--gold) 50%, var(--line) 86%, transparent);
  box-shadow:
    0 0 14px rgba(255, 106, 36, 0.55),
    0 0 42px rgba(244, 184, 105, 0.21);
  transform: translateX(-50%);
}

.split-line::before,
.split-line::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(255, 106, 36, 0.22), transparent);
  filter: blur(1px);
}

.split-line::before {
  top: 10%;
}

.split-line::after {
  bottom: 10%;
}

/* PRAVKA8: image artifact is fixed in lika_ad_presenter.webp.
   Default index.html uses clean divider only.
   index_logo.html can use .center-logo for a round favicon/logo badge. */

.center-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(62px, 5vw, 86px);
  height: clamp(62px, 5vw, 86px);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(244, 184, 105, 0.72);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 106, 36, 0.22), rgba(8, 5, 3, 0.94) 62%, rgba(4, 3, 2, 0.98));
  box-shadow:
    0 0 0 8px rgba(5, 3, 2, 0.70),
    0 0 24px rgba(255, 106, 36, 0.34),
    0 0 52px rgba(244, 184, 105, 0.18),
    inset 0 0 16px rgba(244, 184, 105, 0.10);
  overflow: hidden;
}

.center-logo img {
  width: 58%;
  height: 58%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 8px rgba(255, 106, 36, 0.55))
    drop-shadow(0 0 18px rgba(244, 184, 105, 0.24));
}

@media (max-width: 860px) {
  .site-header {
    padding: 20px 22px;
  }

  .brand {
    font-size: 20px;
    gap: 0.35em;
    letter-spacing: 0.15em;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 50svh 50svh;
  }

  .panel {
    min-height: 50svh;
  }

  .panel-left img {
    object-position: 48% 36%;
  }

  .panel-right img {
    object-position: 50% 26%;
  }

  .split-line {
    top: 50%;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 1px;
    transform: translateY(-50%);
    background:
      linear-gradient(90deg, transparent, var(--line) 14%, var(--gold) 50%, var(--line) 86%, transparent);
  }

  .split-line::before,
  .split-line::after {
    display: none;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 16px;
    letter-spacing: 0.11em;
  }

  .site-header {
    padding: 18px;
  }

  .phoenix-mark {
    width: 40px;
    height: 40px;
  }
}


@media (max-width: 860px) {
  .center-logo {
    width: 52px;
    height: 52px;
    top: 50%;
    left: 50%;
  }
}
