@import url('https://fonts.googleapis.com/css2?family=Syncopate:wght@400;700&family=Space+Mono:wght@400;700&display=swap');

/* =========================
   BASE RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #F8FAFC;
  color: #0F172A;
  line-height: 1.6;
}

::selection {
  background: #DC2626;
  color: #fff;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =========================
   HEADER
========================= */
header {
  padding: 25px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #E2E8F0;
  background: rgba(248,250,252,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-family: 'Syncopate', sans-serif;
  font-size: 16px;
  letter-spacing: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.logo a {
  text-decoration: none;
  color: #1E293B;
}

nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #64748B;
  font-family: 'Syncopate', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #DC2626;
}

.active {
  color: #1E293B;
  font-weight: 700;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  padding: 180px 10%;
  color: #fff;
  background-image: url("images/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.75) 0%, rgba(30,41,59,0.5) 50%, rgba(15,23,42,0.3) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, #F8FAFC 0%, transparent 100%);
}

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

.hero h1 {
  font-family: 'Syncopate', sans-serif;
  font-size: 48px;
  font-weight: 700;
  max-width: 800px;
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: 2px;
}

.hero p {
  max-width: 600px;
  font-size: 17px;
  color: #CBD5E1;
  line-height: 1.7;
}

.hero .btn {
  align-self: flex-start;
  margin-top: 32px;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  font-family: 'Syncopate', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: 0.3s ease;
}

.btn:hover {
  background: #DC2626;
  border-color: #DC2626;
  color: #fff;
}

.btn-dark {
  border-color: #1E293B;
  color: #1E293B;
}

.btn-dark:hover {
  background: #DC2626;
  border-color: #DC2626;
  color: #fff;
}

.btn-secondary {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  border-color: #fff;
  color: #fff;
}

.btn-small {
  padding: 10px 22px;
  font-size: 10px;
  margin-top: 16px;
}

/* =========================
   SECTIONS
========================= */
section {
  padding: 100px 10%;
  border-top: 1px solid #E2E8F0;
}

.section-title {
  font-family: 'Syncopate', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: #1E293B;
}

.section-subtitle {
  font-family: 'Syncopate', sans-serif;
  font-size: 11px;
  color: #DC2626;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
  font-weight: 700;
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(220,38,38,0.2);
  background: rgba(220,38,38,0.06);
}

/* =========================
   RUBRIC CARDS
========================= */
.rubrics-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
  margin-top: 32px;
}

.rubrics-grid::-webkit-scrollbar { display: none; }

.rubric-card {
  position: relative;
  flex: 0 0 260px;
  height: 462px;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background-size: cover;
  background-position: center;
  background-color: #1E293B;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  scroll-snap-align: start;
}

.rubric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30,41,59,0.15);
}

.rubric-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.8) 0%, rgba(15,23,42,0.05) 60%);
}

.rubric-card span {
  position: relative;
  z-index: 1;
  font-family: 'Syncopate', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* =========================
   GRID (ARTICLES)
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.card {
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 24px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 14px;
  border-radius: 4px;
}

.card .card-tag {
  display: inline-block;
  font-family: 'Syncopate', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #DC2626;
  margin-bottom: 8px;
  font-weight: 700;
}

.card h3 {
  font-family: 'Syncopate', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: 1px;
  color: #1E293B;
}

.card p {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
}

/* =========================
   VIDEO EMBED
========================= */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================
   PAGE HEADER (inner pages)
========================= */
.page-header {
  padding: 80px 10% 60px;
  background: #F1F5F9;
}

.page-header h1 {
  font-family: 'Syncopate', sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1E293B;
  margin-bottom: 12px;
}

.page-header p {
  color: #64748B;
  max-width: 600px;
  font-size: 16px;
}

/* =========================
   BREADCRUMBS
========================= */
.breadcrumbs {
  padding: 20px 10%;
  font-size: 13px;
  color: #94A3B8;
  background: #fff;
  border-bottom: 1px solid #E2E8F0;
}

.breadcrumbs a {
  color: #64748B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #DC2626;
}

.breadcrumbs span {
  color: #1E293B;
  font-weight: 600;
}

/* =========================
   CATEGORY FILTER (blog page)
========================= */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid #E2E8F0;
  background: #fff;
  font-family: 'Syncopate', sans-serif;
  font-size: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  text-decoration: none;
  color: #64748B;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.filter-btn:hover {
  border-color: #DC2626;
  color: #DC2626;
}

.filter-btn.active {
  background: #DC2626;
  color: #fff;
  border-color: #DC2626;
}

/* =========================
   ARTICLE PAGE
========================= */
.article-hero {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.7) 0%, rgba(15,23,42,0.2) 100%);
}

.article-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 10% 100px;
}

.article-content .card-tag {
  display: inline-block;
  font-family: 'Syncopate', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #DC2626;
  font-weight: 700;
  margin-bottom: 12px;
}

.article-content h1 {
  font-family: 'Syncopate', sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #1E293B;
}

.article-meta {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 40px;
}

.article-meta span {
  margin-right: 20px;
}

.article-body {
  max-width: 720px;
  font-size: 17px;
  color: #334155;
  line-height: 1.8;
}

.article-body p {
  margin-bottom: 24px;
}

.article-body iframe {
  width: 100%;
  height: 450px;
  border: none;
  margin: 40px 0;
  border-radius: 4px;
}

.article-body img {
  width: 100%;
  margin: 40px 0;
  border-radius: 4px;
}

/* =========================
   ABOUT PAGE
========================= */
.about-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}

.about-photo {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 4px;
}

.about-text h2 {
  font-family: 'Syncopate', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1E293B;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  color: #475569;
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-social {
  margin-top: 30px;
}

.about-social a {
  display: inline-block;
  margin-right: 15px;
  padding: 10px 24px;
  border: 1px solid #E2E8F0;
  text-decoration: none;
  font-family: 'Syncopate', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #64748B;
  transition: 0.3s ease;
}

.about-social a:hover {
  background: #DC2626;
  color: #fff;
  border-color: #DC2626;
}

/* =========================
   DONATE PAGE
========================= */
.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.donate-card {
  padding: 40px 30px;
  border: 1px solid #E2E8F0;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: 0.3s ease;
  border-radius: 4px;
}

.donate-card:hover {
  border-color: #DC2626;
  background: #FEF2F2;
}

.donate-card .donate-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.donate-card h3 {
  font-family: 'Syncopate', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #1E293B;
}

.donate-card p {
  font-size: 13px;
  color: #64748B;
}

/* =========================
   PAGINATION
========================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}

.pagination a {
  padding: 10px 16px;
  border: 1px solid #E2E8F0;
  text-decoration: none;
  color: #64748B;
  font-size: 14px;
  transition: 0.3s ease;
}

.pagination a:hover {
  border-color: #DC2626;
  color: #DC2626;
}

.pagination a.active {
  background: #DC2626;
  color: #fff;
  border-color: #DC2626;
}

/* =========================
   SHOP / PRODUCTS
========================= */
.shop-grid-mini {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card-mini {
  display: block;
  border: 1px solid #E2E8F0;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 4px;
  overflow: hidden;
}

.product-card-mini:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30,41,59,0.1);
}

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

.prod-mini-info {
  padding: 12px;
}

.prod-mini-info h4 {
  font-family: 'Syncopate', sans-serif;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: #1E293B;
}

.prod-mini-price {
  font-size: 12px;
  color: #64748B;
}

.preorder-card {
  position: relative;
  cursor: default;
}

.preorder-badge-lg {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #DC2626;
  color: #fff;
  font-family: 'Syncopate', sans-serif;
  font-size: 9px;
  font-weight: 700;
  padding: 5px 10px;
  z-index: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.preorder-tg-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  background: #DC2626;
  color: #fff;
  text-decoration: none;
  font-family: 'Syncopate', sans-serif;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.15s;
}

.preorder-tg-btn:hover {
  background: #B91C1C;
  color: #fff;
}

/* =========================
   SUPPORT SECTION
========================= */
.support {
  background: #EEF2F6;
  text-align: center;
}

.support p {
  max-width: 600px;
  margin: 0 auto 20px;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}

.support-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* =========================
   SECTION VARIATIONS
========================= */
.section-alt {
  background: #EEF2F6;
}

.section-dark {
  background: #1E293B !important;
  border-top: none;
}

.section-dark .section-title {
  color: #fff;
}

.section-dark .section-subtitle {
  color: #DC2626;
  border-color: rgba(220,38,38,0.3);
  background: rgba(220,38,38,0.1);
}

.section-dark p {
  color: #CBD5E1;
}

/* =========================
   FOOTER
========================= */
footer {
  padding: 60px 10% 40px;
  border-top: 1px solid #E2E8F0;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: 'Syncopate', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: #1E293B;
}

.footer-col p {
  font-size: 13px;
  color: #64748B;
  line-height: 1.8;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: #64748B;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #DC2626;
}

.footer-bottom {
  border-top: 1px solid #E2E8F0;
  padding-top: 30px;
  text-align: center;
  font-size: 12px;
  color: #94A3B8;
}

/* =========================
   ADMIN
========================= */
.admin-body {
  background: #f5f5f5;
}

.admin-panel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 5%;
}

/* ========================
   ADMIN SIDEBAR LAYOUT
======================== */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 240px;
  min-width: 240px;
  background: #fff;
  border-right: 1px solid #eee;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar-logo {
  padding: 24px 20px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  border-bottom: 1px solid #eee;
  color: #111;
}

.sidebar-nav {
  flex: 1;
  padding: 12px 0;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 14px;
  color: #555;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: 0.2s ease;
}

.sidebar-nav a:hover {
  background: #f9f9f9;
  color: #111;
}

.sidebar-nav a.active {
  background: #f5f5f5;
  color: #111;
  font-weight: 600;
  border-left-color: #111;
}

.sidebar-footer {
  padding: 12px 0;
  border-top: 1px solid #eee;
}

.sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 13px;
  color: #888;
  text-decoration: none;
  transition: 0.2s ease;
}

.sidebar-footer a:hover {
  color: #111;
  background: #f9f9f9;
}

/* ========================
   ADMIN MAIN CONTENT
======================== */
.admin-main {
  flex: 1;
  padding: 40px 5%;
  max-width: calc(100% - 240px);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.admin-header h1 {
  font-size: 28px;
  font-weight: 300;
}

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

.admin-content {
  /* wrapper for page-specific content */
}

/* ========================
   STATS GRID (dashboard)
======================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: #fff;
  padding: 24px;
  border: 1px solid #eee;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 32px;
  font-weight: 300;
  color: #111;
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

.top-posts {
  background: #fff;
  border: 1px solid #eee;
  margin-bottom: 32px;
}

.top-posts h3 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  color: #555;
}

.top-posts-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
}

.top-posts-item:last-child {
  border-bottom: none;
}

.top-posts-item .tp-title {
  color: #333;
  flex: 1;
  margin-right: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-posts-item .tp-views {
  color: #999;
  font-size: 12px;
  white-space: nowrap;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.admin-table th,
.admin-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.admin-table th {
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
}

.admin-table tr:hover {
  background: #fafafa;
}

.admin-actions a,
.admin-actions button {
  margin-right: 10px;
  padding: 6px 14px;
  font-size: 12px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  text-decoration: none;
  color: #555;
  transition: 0.3s ease;
}

.admin-actions a:hover,
.admin-actions button:hover {
  border-color: #111;
  color: #111;
}

.admin-btn {
  display: inline-block;
  padding: 10px 24px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.admin-btn:hover {
  background: #333;
}

.admin-form {
  max-width: 700px;
  background: #fff;
  padding: 40px;
}

.admin-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 24px;
  background: #fff;
}

.admin-form textarea {
  min-height: 300px;
  resize: vertical;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  outline: none;
  border-color: #111;
}

.admin-login {
  max-width: 400px;
  margin: 100px auto;
  background: #fff;
  padding: 40px;
}

.admin-login h1 {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 30px;
  text-align: center;
}

.admin-login .error {
  color: #c00;
  font-size: 13px;
  margin-bottom: 15px;
  text-align: center;
}

/* =========================
   GALLERY
========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}
.gallery-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.2s;
}
.gallery-thumb:hover {
  opacity: 0.85;
}

/* =========================
   LIGHTBOX
========================= */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox.open {
  display: flex;
}
.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  z-index: 2001;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #fff;
  cursor: pointer;
  padding: 0 20px;
  user-select: none;
  z-index: 2001;
}
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #999;
  font-size: 14px;
}

/* =========================
   MARQUEE BAR
========================= */
.marquee-bar {
  width: 100%;
  overflow: hidden;
  background: #1E293B;
  color: #fff;
  display: flex;
  align-items: center;
  height: 48px;
}

.marquee-bar a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 40px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.marquee-item .sep {
  opacity: 0.3;
  margin-right: 40px;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================
   ICONS ROW
========================= */
.icons-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 28px 10%;
  background: #fff;
  border-bottom: 1px solid #E2E8F0;
  flex-wrap: wrap;
}

.icons-row-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.icons-row-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border: 1.5px solid #E2E8F0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #DC2626;
}

.icons-row-text h4 {
  font-family: 'Syncopate', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1E293B;
  margin: 0 0 2px;
}

.icons-row-text p {
  font-size: 11px;
  color: #64748B;
  margin: 0;
  line-height: 1.2;
}

/* =========================
   COLLECTIONS GRID
========================= */
.collections-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  min-height: 540px;
}

.collection-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  background: #1E293B;
  isolation: isolate;
}

.collection-card.featured {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.collection-card.tl { grid-column: 2; grid-row: 1; }
.collection-card.tr { grid-column: 3; grid-row: 1; }
.collection-card.bl { grid-column: 2; grid-row: 2; }
.collection-card.br { grid-column: 3; grid-row: 2; }

.collection-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.collection-card:hover img { transform: scale(1.05); }

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(15,23,42,0.65) 0%, rgba(15,23,42,0.1) 50%, transparent 100%);
  pointer-events: none;
}

.collection-card-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
}

.collection-card-content h3 {
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: #fff;
}

.collection-card.featured .collection-card-content h3 {
  font-size: clamp(1.6rem, 3vw, 3rem);
}

.collection-card-content .cta {
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #fff;
  opacity: 0.9;
}

/* =========================
   PRODUCT CAROUSEL (homepage)
========================= */
.carousel-section {
  padding: 100px 10%;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid #E2E8F0;
}

.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 20px;
  flex-wrap: wrap;
}

.carousel-heading {
  font-family: 'Syncopate', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1E293B;
  margin: 0;
}

.carousel-arrows {
  display: flex;
  gap: 10px;
}

.carousel-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid #E2E8F0;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
  color: #1E293B;
}

.carousel-arrow:hover { border-color: #DC2626; color: #DC2626; }
.carousel-arrow svg { width: 18px; height: 18px; display: block; }

.carousel-viewport {
  overflow-x: auto;
  width: 100%;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel-viewport::-webkit-scrollbar { display: none; }

.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.carousel-slide {
  flex: 0 0 360px;
  scroll-snap-align: start;
  min-width: 0;
}

.carousel-card {
  display: block;
  border: 1px solid #E2E8F0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30,41,59,0.1);
}

.carousel-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #F1F5F9;
}

.carousel-card-body {
  padding: 20px;
}

.carousel-card-title {
  font-family: 'Syncopate', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #1E293B;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.carousel-card-price {
  font-size: 15px;
  color: #64748B;
  margin: 0 0 14px;
}

.carousel-card-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #DC2626;
  color: #fff;
  font-family: 'Syncopate', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-card-btn:hover { background: #B91C1C; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 28px;
  height: 3px;
  border: none;
  border-radius: 2px;
  background: #CBD5E1;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}

.carousel-dot.active { background: #1E293B; width: 40px; }

/* =========================
   FRAMED BANNER
========================= */
.framed-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  border-radius: 10px;
  overflow: hidden;
  border: 6px solid #1E293B;
  background: #1E293B;
  margin: 60px 10%;
}

.framed-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 460px;
}

.framed-banner-panel {
  display: flex;
  align-items: center;
  padding: 48px 40px;
  background: #0F172A;
}

.framed-banner-content {
  color: #fff;
  max-width: 520px;
}

.framed-banner-eyebrow {
  font-family: 'Syncopate', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #DC2626;
  margin: 0 0 16px;
  font-weight: 700;
}

.framed-banner-title {
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.framed-banner-text {
  font-size: 15px;
  line-height: 1.6;
  color: #CBD5E1;
  margin: 0 0 24px;
}

.framed-banner-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #DC2626;
  color: #fff;
  font-family: 'Syncopate', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}

.framed-banner-btn:hover { background: #B91C1C; }

/* =========================
   SCROLLING GALLERY
========================= */
.scroll-gallery {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 0;
  background: #F8FAFC;
}

.scroll-gallery-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  height: 620px;
  overflow: hidden;
}

.scroll-column {
  overflow: hidden;
  height: 100%;
}

.scroll-track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  will-change: transform;
}

.scroll-track.up { animation: scrollUp 28s linear infinite; }
.scroll-track.down { animation: scrollDown 28s linear infinite; }
.scroll-track.right { animation: scrollUp 24s linear infinite; }

@keyframes scrollUp {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, calc(-1 * var(--scroll-dist, 800px)), 0); }
}

@keyframes scrollDown {
  from { transform: translate3d(0, calc(-1 * var(--scroll-dist, 800px)), 0); }
  to { transform: translate3d(0, 0, 0); }
}

.scroll-card {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: #F1F5F9;
}

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

.scroll-card.wide { aspect-ratio: 1 / 1; }
.scroll-card.tall { aspect-ratio: 3 / 4; }

/* =========================
   FAQ ACCORDION
========================= */
.faq-section {
  padding: 60px 10%;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #E2E8F0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Syncopate', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #1E293B;
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover { color: #DC2626; }
.faq-question .icon { font-size: 18px; color: #94A3B8; transition: transform 0.3s; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); color: #DC2626; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 0 20px;
}

.faq-answer p {
  font-size: 14px;
  color: #64748B;
  line-height: 1.7;
  margin: 0;
}

/* =========================
   DARK FOOTER
========================= */
.footer-dark {
  background: #0F172A;
  color: #CBD5E1;
  padding: 60px 10% 40px;
}

.footer-dark-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 40px;
}

.footer-dark-signup h3 {
  font-family: 'Syncopate', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 4px;
}

.footer-dark-signup p {
  font-size: 13px;
  color: #94A3B8;
  margin: 0 0 16px;
}

.footer-dark-signup form {
  display: flex;
  gap: 0;
  max-width: 400px;
}

.footer-dark-signup input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 14px;
  outline: none;
}

.footer-dark-signup input::placeholder { color: #64748B; }
.footer-dark-signup input:focus { border-color: #DC2626; }

.footer-dark-signup button {
  padding: 12px 20px;
  background: #DC2626;
  color: #fff;
  border: none;
  font-family: 'Syncopate', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.footer-dark-signup button:hover { background: #B91C1C; }

.footer-dark-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-dark-col h4 {
  font-family: 'Syncopate', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 20px;
}

.footer-dark-col p {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.8;
  margin: 0;
}

.footer-dark-col a {
  display: block;
  font-size: 13px;
  color: #94A3B8;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-dark-col a:hover { color: #DC2626; }

.footer-dark-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: #64748B;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-dark-socials {
  display: flex;
  gap: 16px;
}

.footer-dark-socials a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-dark-socials a:hover { color: #DC2626; }

.footer-dark-payments {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-dark-payments span {
  font-size: 11px;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-dark-payments img { height: 20px; opacity: 0.5; }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .rubric-card {
    flex: 0 0 220px;
    height: 391px;
  }

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

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

@media (max-width: 900px) {
  header {
    flex-direction: column;
    gap: 12px;
    padding: 20px 8%;
  }

  .hero {
    padding: 120px 8%;
  }

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

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

  section {
    padding: 60px 8%;
  }

  .rubric-card {
    flex: 0 0 200px;
    height: 356px;
    padding: 20px;
  }

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

  .about-photo {
    height: 300px;
  }

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

  .article-content {
    padding: 40px 8% 80px;
  }

  .article-content h1 {
    font-size: 24px;
  }

  .article-body iframe {
    height: 250px;
  }

  .article-hero {
    height: 250px;
  }

  .page-header {
    padding: 60px 8% 40px;
  }

  .page-header h1 {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .admin-form {
    padding: 20px;
  }

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

  .admin-table th,
  .admin-table td {
    padding: 10px 12px;
  }

  /* Новые компоненты — responsive */
  .icons-row { gap: 20px; padding: 20px 8%; }
  .icons-row-item { flex: 1 1 100%; justify-content: center; }

  .collections-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }

  .collection-card.featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 300px;
  }

  .collection-card.tl, .collection-card.tr,
  .collection-card.bl, .collection-card.br {
    grid-column: auto;
    grid-row: auto;
    min-height: 200px;
  }

  .carousel-slide { flex: 0 0 300px; }
  .carousel-section { padding: 40px 5%; }
  .about-3col { grid-template-columns: 1fr !important; }

  .framed-banner {
    grid-template-columns: 1fr;
    min-height: auto;
    margin: 40px 8%;
  }

  .framed-banner-image { min-height: 280px; }
  .framed-banner-panel { padding: 32px 24px; }

  .scroll-gallery-inner { height: 380px; }

  .footer-dark-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-dark-grid { grid-template-columns: 1fr 1fr; }
  .footer-dark-bottom { flex-direction: column; text-align: center; }

  .faq-section { padding: 40px 8%; }
}

@media (max-width: 500px) {
  .rubric-card {
    flex: 0 0 160px;
    height: 284px;
    padding: 16px;
  }

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

  .hero p {
    font-size: 15px;
  }

  .carousel-slide { flex: 0 0 100%; }
  .collections-grid { grid-template-columns: 1fr; }
  .collection-card.featured { min-height: 240px; }
  .collection-card.tl, .collection-card.tr,
  .collection-card.bl, .collection-card.br { min-height: 180px; }
  .scroll-gallery-inner { height: 280px; }
  .footer-dark-grid { grid-template-columns: 1fr; }
  .framed-banner { margin: 30px 5%; }
  .framed-banner-title { font-size: 1.4rem; }
}
