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

:root {
  --bg: #1a1534;
  --bg-soft: #2a244f;
  --accent: #d4a0ff;
  --accent-glow: #e2d1ff;
  --text: #ffffff;
  --muted: #b2b2b2;
  --card: #221b41;
  --header: #2d2551;
  --danger-muted: #f1373766;
  --danger: red;
  --chip: #2a244f;
  --shadow: 0 18px 40px rgba(9, 6, 23, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Public Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(
      circle at top,
      rgba(212, 160, 255, 0.18),
      transparent 45%
    ),
    linear-gradient(160deg, #16112b 0%, #1a1534 35%, #15112d 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 28px 80px;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.site-header .header-top,
.site-header .header-bottom {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-header .header-bottom {
  width: 100%;
  background: var(--header);
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: var(--shadow);
}

.logo {
  font-family: "Oxanium", sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo .logo-mark {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}

.logo span.glow {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(212, 160, 255, 0.55);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: flex-start;
  min-width: 240px;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  color: var(--muted);
  justify-content: flex-start;
  max-height: 15px;
  overflow: hidden;
}

.nav-links a {
  color: inherit;
  text-decoration: none;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-glow);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.selected {
  color: var(--accent-glow);
}

.nav-links a.selected::after {
  width: 100%;
}

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

.header-search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 240px;
}

.header-search .search {
  width: 100%;
  max-width: 320px;
}

.pill {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--accent);
  color: #1a1534;
  font-weight: 700;
  font-family: "Oxanium", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.pill {
  text-decoration: none;
}

.pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 160, 255, 0.35);
}

.search {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.search input {
  width: 100%;
  padding: 12px 42px 12px 16px;
  border-radius: 999px;
  border: none;
  background: rgb(42 33 72);
  color: var(--text);
  outline: none;
  font-size: 14px;
}

.search .icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  fill: var(--muted);
}

.search button.icon {
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: var(--muted);
}

.hero {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-content {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-family: "Oxanium", sans-serif;
  font-size: 36px;
  margin: 0 0 14px;
  text-transform: uppercase;
  line-height: 1.2;
}

.hero-text {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.ghost-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.ghost-link:hover {
  color: var(--accent-glow);
  border-bottom-color: var(--accent-glow);
}

.hero-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: rgba(34, 27, 65, 0.75);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-width: 220px;
}

.panel-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.panel-number {
  font-family: "Oxanium", sans-serif;
  font-size: 26px;
  font-weight: 700;
}

.panel-label {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 1.2px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

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

.socials button {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--card);
  color: var(--accent);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.socials button:hover {
  background: var(--accent);
  color: #1a1534;
}

.filters {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.filters .wraper {
  display: flex;
  align-items: center;
}

.filters a.tag {
  text-decoration: none;
}

.filters .tag.selected {
  background-color: var(--accent);
  color: var(--chip);
}

.filters .tag.reset {
  background: var(--danger-muted);
  color: var(--danger);
  padding: 4px 8px;
  font-size: 10px;
  display: flex;
  align-items: center;
  height: 33px;
}

.section {
  margin-top: 48px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.section h2 {
  margin: 0;
  font-family: "Oxanium", sans-serif;
  font-size: 28px;
  text-transform: uppercase;
}

.section-text {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 720px;
}

.section-text a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.section-text a:hover {
  color: var(--accent-glow);
}

.tag {
  background: var(--chip);
  color: var(--accent);
  border: 1px solid rgba(212, 160, 255, 0.2);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.tag:hover {
  transform: translateY(-2px);
  background: rgba(212, 160, 255, 0.15);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.card {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 50px rgba(9, 6, 23, 0.55);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-title {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
}
.card-title a {
  text-decoration: none;
  color: var(--text);
}
.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.author {
  color: #f6b1ff;
  font-weight: 600;
}

.post-hero {
  margin-top: 48px;
}

.post-hero h1 {
  font-family: "Oxanium", sans-serif;
  font-size: 34px;
  margin: 0 0 18px;
  line-height: 1.2;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  flex-wrap: wrap;
}

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

.author-block img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 160, 255, 0.35);
}

.author-hero .author-block img {
  width: 96px;
  height: 96px;
}

.author-hero h1 {
  color: #fff;
}

.author-name {
  display: block;
  color: var(--accent-glow);
  font-weight: 600;
}

.author-role {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.post-date {
  font-size: 12px;
}

.post-layout {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 28px;
}

.post-main {
  background: var(--card);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.post-thumb {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 18px;
}

.post-main p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 16px;
}

.post-main h2 {
  font-family: "Oxanium", sans-serif;
  margin: 24px 0 12px;
}

.post-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-aside h3 {
  margin: 0;
  font-family: "Oxanium", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  background: var(--card);
  border-radius: 16px;
  padding: 12px;
  align-items: center;
  box-shadow: var(--shadow);
}

.news-card img {
  width: 100%;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
}

.news-card p {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}

.news-card span {
  font-size: 12px;
  color: var(--muted);
}

.contact-hero {
  margin-top: 48px;
}

.contact-hero h1 {
  font-family: "Oxanium", sans-serif;
  font-size: 34px;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.contact-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.6;
}

.contact-form {
  margin-top: 28px;
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.form-grid input,
.form-grid textarea {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-soft);
  color: var(--text);
  padding: 12px 14px;
  font-size: 14px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: rgba(212, 160, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(212, 160, 255, 0.12);
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-error {
  color: var(--danger);
  font-size: 70%;
  margin-top: -5px;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.help-card {
  background: var(--card);
  padding: 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.help-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(212, 160, 255, 0.18);
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 12px;
}

.help-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.help-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.response-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.response-list li {
  margin-bottom: 6px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.team-card img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 160, 255, 0.35);
  margin-bottom: 12px;
}

.team-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.team-card h3 a{
  text-decoration: none;
  color: inherit;
}
.team-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.team-card span {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.general-page-page.section, .general-page-page .section:first-child {
  margin-top: 0px;
}

.cblock a{
  color: var(--accent);
}

footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 60px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.pulse {
  position: relative;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1px solid rgba(212, 160, 255, 0.4);
  opacity: 0;
  animation: pulse 2.5s infinite;
}

.pagination {
  list-style: none;
  margin: 36px auto 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(34, 27, 65, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.pagination li {
  display: flex;
  align-items: center;
}

.pagination-number,
.pagination-side {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease;
}

.pagination a:hover {
  transform: translateY(-1px);
  background: rgba(212, 160, 255, 0.18);
  color: var(--accent-glow);
  box-shadow: 0 8px 18px rgba(212, 160, 255, 0.25);
}

.pagination a:focus-visible {
  outline: 2px solid rgba(212, 160, 255, 0.6);
  outline-offset: 2px;
}

.pagination li.active .pagination-number {
  background: var(--accent);
  color: #1a1534;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(212, 160, 255, 0.35);
}

.pagination li.disabled .pagination-number,
.pagination li.disabled .pagination-side {
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.pagination-separator span {
  color: var(--muted);
  padding: 0 6px;
  font-weight: 600;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}

@media (max-width: 1100px) {
  .site-header .header-top,
  .site-header .header-bottom {
    align-items: center;
  }

  .site-header .header-actions {
    margin-left: auto;
  }

  .site-header .header-search {
    margin-left: auto;
  }

  .hero-panel {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-layout {
    grid-template-columns: 1fr;
  }

  .help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
  }

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

  .team-grid {
    grid-template-columns: 1fr;
  }

  .post-main {
    padding: 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .help-grid {
    grid-template-columns: 1fr;
  }

  .pagination {
    margin-top: 24px;
    padding: 10px 12px;
    border-radius: 20px;
  }

  .pagination-number,
  .pagination-side {
    padding: 6px 10px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  .site-header .header-bottom {
    background: transparent;
    box-shadow: none;
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
  }

  .site-header .header-search {
    margin-left: 0;
    width: 100%;
    display: block;
  }

  .header-search .search {
    max-width: 100%;
  }
}

@media (max-width: 500px) {
  .logo span {
    display: none;
  }
}
