:root {
  --primary: #6168fc;
  --primary-dark: #444bdf;
  --gold: #f5a623;
  --ink: #17172b;
  --muted: #667085;
  --line: #e8ebf3;
  --paper: #ffffff;
  --soft: #f6f7fb;
  --green: #168763;
  --danger: #d94444;
  --radius: 8px;
  --shadow: 0 16px 50px rgba(28, 34, 70, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
}

.sk-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr) 180px;
  align-items: center;
  min-height: 112px;
  padding: 0 48px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 2px solid #2c2c2c;
  border-bottom: 1px solid rgba(232, 235, 243, 0.9);
  box-shadow: 0 4px 16px rgba(21, 27, 49, 0.08);
  backdrop-filter: blur(10px);
}

.sk-logo img {
  width: 178px;
  max-height: 82px;
  object-fit: contain;
}

.sk-header-center {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.sk-top-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.sk-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(304px, 30vw);
  min-height: 58px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #dfe5ef;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(18, 25, 46, 0.06);
}

.sk-search span {
  color: #8a92a3;
  font-size: 1.55rem;
  line-height: 1;
}

.sk-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #333b4f;
  background: transparent;
  font-size: 1rem;
}

.sk-chip,
.sk-icon,
.sk-language select {
  min-width: 76px;
  min-height: 44px;
  border: 1px solid #dfe5ef;
  border-radius: 8px;
  color: #2f3445;
  background: #fff;
  box-shadow: 0 2px 10px rgba(18, 25, 46, 0.06);
  font-weight: 700;
}

.sk-language {
  margin: 0;
}

.sk-language select {
  padding: 0 28px 0 18px;
  outline: 0;
  text-align: center;
  text-transform: uppercase;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #5b6374 50%), linear-gradient(135deg, #5b6374 50%, transparent 50%);
  background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.sk-icon {
  min-width: 78px;
  font-size: 1.35rem;
  color: #5b6374;
}

.sk-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 58px);
  width: 100%;
}

.sk-nav a {
  color: #2d3140;
  font-size: 0.9rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.sk-nav .sk-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 0 26px;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, #6c63ff, #68a8ff);
  font-weight: 800;
  letter-spacing: 0.6px;
}

.sk-local-nav {
  display: none;
}

.sk-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 64px);
  color: #fff;
  background: #222735;
  font-size: 0.92rem;
}

.sk-socials {
  display: flex;
  gap: 10px;
}

.sk-socials a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #222735;
  background: #fff;
  font-weight: 900;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  padding: 0 clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(232, 235, 243, 0.8);
  backdrop-filter: blur(14px);
}

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

.brand img {
  width: 152px;
  max-height: 58px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: #30364a;
  font-weight: 700;
  font-size: 0.9rem;
}

.nav a:hover,
.nav a.is-active {
  background: #eef0ff;
  color: var(--primary-dark);
}

.hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 64px);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.anniversary-hero {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(66px, 9vw, 118px) clamp(18px, 4vw, 64px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(19, 20, 38, 0.95), rgba(44, 49, 88, 0.88)),
    url("/assets/alaman-cover.jpg") center / cover no-repeat;
}

.anniversary-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(0deg, rgba(12, 14, 27, 0.3), transparent);
  pointer-events: none;
}

.anniversary-inner {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
}

.anniversary-inner h1 {
  margin: 0 0 20px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(3.2rem, 8vw, 7.1rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.anniversary-inner p {
  margin: 0 auto;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
  line-height: 1.75;
}

.ann-watermark {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.04);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(11rem, 28vw, 26rem);
  line-height: 1;
  pointer-events: none;
}

.ann-directions {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(26px, 5vw, 76px);
  align-items: center;
  padding: clamp(58px, 8vw, 96px) clamp(18px, 4vw, 64px);
  color: #fff;
  background: #20243a;
}

.ann-directions p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.direction-grid div {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.ann-coming-soon {
  padding: clamp(54px, 7vw, 88px) clamp(18px, 4vw, 64px);
  text-align: center;
  color: #fff;
  background: #222735;
}

.ann-coming-soon h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: center / cover no-repeat var(--hero-image, url("/assets/alaman-cover.jpg"));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(16, 18, 34, 0.88), rgba(16, 18, 34, 0.58) 52%, rgba(16, 18, 34, 0.24));
}

.hero-inner {
  width: min(780px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  color: #ffe1a5;
  border: 1px solid rgba(245, 166, 35, 0.5);
  background: rgba(245, 166, 35, 0.14);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  margin: 22px 0 20px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p {
  width: min(620px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions,
.project-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 24px rgba(97, 104, 252, 0.22);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  box-shadow: none;
}

.button.gold {
  background: linear-gradient(135deg, var(--gold), #d98918);
  box-shadow: 0 10px 24px rgba(245, 166, 35, 0.22);
}

.button.ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.danger {
  background: var(--danger);
  box-shadow: none;
}

.button:disabled {
  cursor: default;
  opacity: 0.58;
  transform: none;
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 4vw, 64px);
}

.section.white {
  background: #fff;
}

.section-head {
  width: min(960px, 100%);
  margin: 0 auto 32px;
}

.section-head.center {
  text-align: center;
}

.section-label {
  display: block;
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
}

.section-copy {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.stats-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat strong {
  display: block;
  color: var(--primary-dark);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.project-list {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 26px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.project-card:nth-child(even) .project-media {
  order: 2;
}

.project-media {
  position: relative;
  min-height: 360px;
  background: #e9edf5;
}

.project-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.project-number {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--primary-dark);
  background: #fff;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.project-body {
  padding: clamp(28px, 4vw, 46px);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #eef0ff;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-pill.ready {
  color: #8a5600;
  background: #fff2d6;
}

.project-body h3 {
  margin: 18px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.65rem);
  line-height: 1.08;
}

.project-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.vote-box {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.vote-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.vote-meter {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf0f6;
}

.vote-meter span {
  display: block;
  height: 100%;
  width: var(--value, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--gold));
}

.project-hero {
  position: relative;
  min-height: 54vh;
  display: flex;
  align-items: flex-end;
  padding: 120px clamp(18px, 4vw, 64px) 54px;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: center / cover no-repeat var(--hero-image);
}

.project-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(17, 18, 34, 0.92), rgba(17, 18, 34, 0.28));
}

.project-hero-content {
  width: min(980px, 100%);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  margin-bottom: 22px;
}

.project-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.7rem, 6vw, 6rem);
  line-height: 0.96;
}

.project-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.75;
}

.detail-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}

.text-flow {
  display: grid;
  gap: 18px;
}

.text-block,
.side-panel,
.record-card,
.admin-panel,
.login-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.text-block {
  padding: 28px;
}

.text-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini-stat {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mini-stat strong {
  display: block;
  color: var(--primary-dark);
  font-size: 1.8rem;
}

.mini-stat span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.86rem;
}

.side-panel {
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 96px;
}

.side-panel h2,
.records-title,
.admin-panel h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
}

.schedule {
  display: grid;
  gap: 12px;
}

.schedule-item {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.schedule-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.schedule-item strong {
  color: var(--primary-dark);
}

.schedule-item span {
  color: var(--muted);
  line-height: 1.45;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: #e9edf5;
}

.records-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.entries-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.entry-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(28, 34, 70, 0.08);
}

.entry-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  background: #e9edf5;
}

.entry-body {
  padding: 18px;
}

.entry-body time {
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.entry-body h3 {
  margin: 8px 0;
  font-size: 1.12rem;
}

.entry-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.entry-body .button {
  width: 100%;
  margin-top: 14px;
}

.record-card {
  overflow: hidden;
}

.record-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  background: #e9edf5;
}

.record-body {
  padding: 18px;
}

.record-body time {
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.78rem;
}

.record-body h3 {
  margin: 8px 0;
  font-size: 1.05rem;
}

.record-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.empty {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 28px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-page {
  padding: clamp(34px, 6vw, 72px) clamp(18px, 4vw, 64px);
}

.login-panel {
  width: min(430px, 100%);
  margin: 32px auto;
  padding: 28px;
}

.admin-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
}

.admin-panel {
  padding: 22px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.field label {
  color: #384057;
  font-weight: 800;
  font-size: 0.86rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}

.field textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.5;
}

.admin-stats {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.admin-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-radius: var(--radius);
  background: #f7f8ff;
  font-weight: 800;
}

.admin-stat span {
  color: var(--primary-dark);
}

.post-list {
  display: grid;
  gap: 12px;
}

.post-row {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.post-row img {
  width: 82px;
  height: 62px;
  border-radius: 6px;
  object-fit: cover;
  background: #e9edf5;
}

.post-row h3 {
  margin: 0 0 4px;
  font-size: 0.96rem;
}

.post-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.row-actions {
  display: flex;
  gap: 8px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.notice {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.notice.success {
  color: var(--green);
}

.notice.error {
  color: var(--danger);
}

@media (max-width: 980px) {
  .stats-grid,
  .records-grid,
  .entries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card,
  .detail-grid,
  .admin-grid,
  .ann-directions {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(even) .project-media {
    order: 0;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .sk-header {
    position: relative;
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: auto;
    padding: 14px 14px 16px;
  }

  .sk-logo img {
    width: 150px;
  }

  .sk-top-controls {
    display: flex;
    gap: 8px;
    margin-top: 8px;
  }

  .sk-search,
  .sk-icon {
    display: none;
  }

  .sk-language select {
    min-width: 94px;
    min-height: 38px;
  }

  .sk-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: center;
    padding-top: 10px;
  }

  .sk-nav a {
    font-size: 0.74rem;
  }

  .sk-nav .sk-help {
    min-height: 34px;
    padding: 0 14px;
  }

  .sk-footer {
    flex-direction: column;
    text-align: center;
  }

  .topbar {
    height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 72vh;
  }

  .stats-grid,
  .records-grid,
  .entries-grid,
  .mini-stats,
  .gallery,
  .direction-grid {
    grid-template-columns: 1fr;
  }

  .project-media {
    min-height: 260px;
  }

  .post-row {
    grid-template-columns: 68px 1fr;
  }

  .post-row img {
    width: 68px;
    height: 58px;
  }

  .row-actions {
    grid-column: 1 / -1;
  }
}

/* Anniversary home: mirrors the supplied "10 лет добрых дел" page. */
.uk-container {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.ann-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  overflow: hidden;
  background: linear-gradient(145deg, #0d0d1a 0%, #1a1a3e 50%, #0d0d1a 100%);
}

.ann-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ann-hero .ann-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.035);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(300px, 40vw, 520px);
  line-height: 1;
  user-select: none;
}

.ann-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.ann-hero h1 {
  margin: 0 0 24px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 30%, #a8aaff 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ann-hero p {
  max-width: 680px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
}

.ann-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
}

.ann-scroll-hint .mouse {
  width: 22px;
  height: 36px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
}

.ann-scroll-hint .wheel {
  width: 3px;
  height: 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.4);
  animation: annScroll 2s ease-in-out infinite;
}

@keyframes annScroll {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

.ann-section {
  padding: 100px 0;
}

.ann-section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.ann-section-title {
  margin: 0 0 16px;
  color: #1a1a2e;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
}

.ann-stats-section {
  background: #fff;
}

.ann-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.ann-stat {
  position: relative;
  overflow: hidden;
  padding: 36px 28px;
  text-align: center;
  background: #fff;
  border: 1px solid #f0f0f8;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(97, 104, 252, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ann-stat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #6168fc, #77b5ff);
}

.ann-stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(97, 104, 252, 0.14);
}

.ann-stat-value {
  color: #6168fc;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: 1px;
}

.ann-stat-label {
  margin-top: 10px;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

.ann-directions-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #0d0d1a 0%, #1a1a3e 100%);
}

.ann-directions-inner {
  position: relative;
  z-index: 1;
}

.ann-directions-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.ann-directions-section .ann-section-label {
  color: #a8aaff;
}

.ann-directions-section .ann-section-title {
  color: #fff;
}

.ann-directions-text {
  max-width: 640px;
  margin: 24px 0 36px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
  line-height: 1.8;
}

.ann-infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}

.ann-infra-item {
  padding: 20px 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ann-infra-item:hover {
  background: rgba(97, 104, 252, 0.2);
  border-color: rgba(97, 104, 252, 0.5);
}

.ann-infra-icon {
  display: block;
  width: 26px;
  height: 26px;
  margin: 0 auto 10px;
  border: 2px solid #a8aaff;
  border-radius: 50%;
}

.ann-infra-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  line-height: 1.4;
}

.ann-projects-section {
  background: #fafafa;
}

.ann-project-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 56px;
}

.ann-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.ann-project:hover {
  box-shadow: 0 20px 60px rgba(97, 104, 252, 0.12);
}

.ann-project:nth-child(even) {
  direction: rtl;
}

.ann-project:nth-child(even) > * {
  direction: ltr;
}

.ann-project-image {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #e8e9ff;
}

.ann-project-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ann-project:hover .ann-project-image img {
  transform: scale(1.04);
}

.ann-project-num {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 4px 12px;
  color: #6168fc;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 100px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 3px;
  backdrop-filter: blur(4px);
}

.ann-project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 52px;
}

.ann-project-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  color: #6168fc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ann-project-tag::before {
  content: "";
  width: 20px;
  height: 2px;
  background: #6168fc;
}

.ann-project-content h3 {
  margin: 0 0 16px;
  color: #1a1a2e;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
}

.ann-project-content p {
  margin: 0 0 20px;
  color: #6b7280;
  font-size: 0.97rem;
  line-height: 1.75;
}

.ann-vote-note {
  font-weight: 800;
}

.ann-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.ann-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 12px 24px;
  color: #fff !important;
  background: linear-gradient(135deg, #6168fc, #4a51e0);
  border-radius: 100px;
  box-shadow: 0 6px 20px rgba(97, 104, 252, 0.3);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ann-btn-primary:hover {
  color: #fff;
  opacity: 0.88;
  transform: translateY(-2px);
}

.ann-gallery-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 24px;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.ann-gallery-strip::-webkit-scrollbar {
  display: none;
}

.ann-gallery-strip a {
  flex: 0 0 100px;
  height: 80px;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  scroll-snap-align: start;
}

.ann-gallery-strip img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ann-coming-soon {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #f5a623 0%, #ffcd6b 100%);
}

.ann-coming-soon::before {
  content: "✦";
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(255, 255, 255, 0.08);
  font-size: 300px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ann-coming-soon h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 3px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 960px) {
  .ann-hero {
    min-height: 65vh;
    padding: 80px 0 60px;
  }

  .ann-section {
    padding: 70px 0;
  }

  .ann-directions-layout,
  .ann-project {
    grid-template-columns: 1fr;
    direction: ltr !important;
  }

  .ann-project-image {
    min-height: 260px;
  }

  .ann-project-content {
    padding: 32px 28px;
  }
}

@media (max-width: 640px) {
  .uk-container {
    width: min(100% - 32px, 1120px);
  }

  .ann-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ann-infra-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .ann-project-image {
    min-height: 220px;
  }

  .ann-project-content {
    padding: 24px 20px;
  }

  .ann-gallery-strip a {
    flex-basis: 80px;
    height: 68px;
  }
}

.admin-details {
  margin: 14px 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-details summary {
  cursor: pointer;
  font-weight: 900;
}

.admin-details form {
  margin-top: 16px;
}

.stats-stack {
  display: grid;
  gap: 10px;
  margin: 14px 0 18px;
}

.admin-stat-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  background: #f4f5ff;
  border-radius: var(--radius);
}

.admin-stat-row span {
  color: var(--primary-dark);
  font-weight: 900;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.post-preview {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: center;
  margin: 14px 0;
  color: var(--muted);
}

.post-preview img {
  width: 90px;
  height: 70px;
  border-radius: var(--radius);
  object-fit: cover;
  background: #e9edf5;
}

.vote-start-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(97, 104, 252, 0.18);
  border-left: 5px solid var(--primary);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(232, 233, 255, 0.86), rgba(255, 255, 255, 0.96)),
    #fff;
  box-shadow: 0 16px 45px rgba(24, 30, 70, 0.1);
  text-align: center;
}

.vote-start-card h2 {
  margin: 8px 0 12px;
  color: var(--ink);
  font-size: clamp(1.7rem, 4vw, 2.65rem);
  line-height: 1.12;
}

.vote-start-card p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.vote-start-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 24px;
  padding: 0 24px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-weight: 900;
  letter-spacing: 0.4px;
}

.alaman-page {
  padding: clamp(72px, 9vw, 120px) 0 86px;
  background: #fafafa;
  min-height: 100vh;
}

.alaman-header {
  margin-bottom: 34px;
}

.alaman-page .project-title {
  margin: 0 0 26px;
  color: #1a1a2e;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
}

.alaman-video-block {
  width: 100%;
  margin: 0 0 30px;
  overflow: hidden;
  border-radius: 20px;
  background: #111827;
  box-shadow: 0 8px 32px rgba(97, 104, 252, 0.16);
  aspect-ratio: 16 / 9;
}

.alaman-video-block iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-photo-block {
  width: 100%;
  margin-bottom: 48px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, #e8e9ff, #f0f4ff);
  box-shadow: 0 8px 32px rgba(97, 104, 252, 0.13);
}

.hero-photo-block img {
  display: block;
  width: 100%;
  height: clamp(260px, 44vw, 440px);
  object-fit: cover;
}

.alaman-content {
  max-width: 1180px;
  margin: 0 auto;
}

.desc-block,
.goal-block,
.community-block {
  margin-bottom: 28px;
  padding: clamp(24px, 4vw, 40px);
  border-left: 5px solid var(--primary);
  border-radius: 20px;
  color: #253149;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  font-size: 1.06rem;
  line-height: 1.85;
}

.desc-block p,
.goal-block p,
.community-block p,
.trophy-block p {
  margin: 0;
}

.goal-label {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.trophy-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #6168fc, #4a51e0);
  box-shadow: 0 10px 32px rgba(97, 104, 252, 0.24);
  font-size: 1.06rem;
  line-height: 1.75;
}

.trophy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  color: var(--primary-dark);
  background: #fff;
  font-weight: 900;
  font-size: 1.45rem;
}

.kz-map-section {
  margin-bottom: 28px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.kz-map-title,
.schedule-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: #1a1a2e;
  font-size: 1.22rem;
  font-weight: 900;
}

.kz-map-title::before,
.schedule-title::before {
  content: "";
  width: 6px;
  height: 22px;
  border-radius: 4px;
  background: var(--primary);
}

.kz-map-real-area {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fbff, #eef3f7);
  padding: clamp(18px, 3vw, 30px);
}

.kz-map-frame {
  position: relative;
  width: min(100%, 920px);
  aspect-ratio: 1000 / 549;
}

.kz-map-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.95;
  filter: drop-shadow(0 12px 30px rgba(23, 59, 99, 0.1));
}

.kz-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2.5px solid #fff;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 7px rgba(97, 104, 252, 0.14), 0 6px 14px rgba(31, 45, 86, 0.16);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.kz-pin:hover {
  z-index: 10;
  transform: scale(1.6);
}

.kz-pin-gold {
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(245, 166, 35, 0.16), 0 6px 14px rgba(31, 45, 86, 0.16);
}

.kz-pin::after {
  display: none;
}

.kz-pin:hover::after {
  content: attr(data-city);
  position: absolute;
  left: 24px;
  top: -7px;
  display: block;
  padding: 5px 10px;
  border-radius: 8px;
  color: #fff;
  background: #1a1a2e;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
}

.kz-p-kyzylorda { left: 42.8%; top: 69.5%; }
.kz-p-zko { left: 13.9%; top: 41%; }
.kz-p-almaty-obl { left: 70.8%; top: 76.4%; }
.kz-p-mangystau { left: 21.3%; top: 76.1%; }
.kz-p-akmola { left: 56.7%; top: 28.7%; }
.kz-p-aktobe { left: 30.3%; top: 50.1%; }
.kz-p-kostanay { left: 42.7%; top: 27.4%; }
.kz-p-karaganda { left: 65.5%; top: 51.2%; }
.kz-p-pavlodar { left: 70.3%; top: 26.6%; }
.kz-p-sko { left: 51.3%; top: 17%; }
.kz-p-abai { left: 79.3%; top: 49.2%; }
.kz-p-turkestan { left: 53.1%; top: 86.7%; }

.obj-table-wrap {
  overflow: hidden;
  border: 1px solid #e8eaf0;
  border-radius: 14px;
}

.obj-table,
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.obj-table thead tr,
.schedule-table thead tr {
  color: #fff;
  background: linear-gradient(90deg, #1e3a5f, #2d5282);
}

.obj-table th,
.obj-table td,
.schedule-table th,
.schedule-table td {
  padding: 13px 15px;
  text-align: left;
  line-height: 1.5;
  vertical-align: middle;
}

.obj-table th,
.schedule-table th {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.obj-table tbody tr:nth-child(even) td,
.schedule-table tbody tr:nth-child(even) td {
  background: #f7f8fc;
}

.obj-table tbody tr:nth-child(odd) td,
.schedule-table tbody tr:nth-child(odd) td {
  background: #fff;
}

.obj-num,
.obj-region,
.schedule-date {
  color: var(--primary);
  font-weight: 900;
}

.obj-type-badge,
.sport-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 10px;
  border-radius: 999px;
  color: #3730a3;
  background: #eef2ff;
  font-size: 0.78rem;
  font-weight: 800;
}

.stage-soon {
  display: grid;
  gap: 8px;
  margin: 24px 0 34px;
  padding: 30px 28px;
  border: 2px dashed var(--primary);
  border-radius: 16px;
  color: var(--primary);
  background: linear-gradient(135deg, #f7f8ff, #eef0ff);
  text-align: center;
}

.stage-soon span {
  color: var(--muted);
  font-weight: 600;
}

.alaman-gallery {
  margin-top: 34px;
}

.alaman-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.alaman-page .gallery-card {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.alaman-page .gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(97, 104, 252, 0.12);
}

.alaman-page .gallery-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.alaman-page .gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.alaman-page .gallery-card:hover img {
  transform: scale(1.04);
}

@media (max-width: 720px) {
  .trophy-block {
    grid-template-columns: 1fr;
  }

  .kz-map-real-area {
    padding: 12px;
  }

  .obj-table-wrap,
  .schedule-section {
    overflow-x: auto;
  }

  .obj-table,
  .schedule-table {
    min-width: 760px;
  }
}
