/* ==========================================================================
   Groupire Lottery - site.css
   ========================================================================== */

:root {
  --c-primary: #5E17EB;
  --c-primary-dark: #3E0FA5;
  --c-primary-soft: #F6F4FF;
  --c-accent: #FF3D8A;
  --c-accent-dark: #E22874;
  --c-text: #1B1140;
  --c-text-soft: #5A4F7A;
  --c-muted: #8C84A6;
  --c-border: #E7E2F5;
  --c-white: #ffffff;
  --c-bg: #ffffff;
  --c-bg-alt: #FAF8FF;
  --c-success: #22C08A;
  --c-danger: #E03838;
  --shadow-sm: 0 2px 8px rgba(27, 17, 64, 0.06);
  --shadow-md: 0 10px 30px rgba(94, 23, 235, 0.10);
  --shadow-lg: 0 20px 50px rgba(94, 23, 235, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --container: 1240px;
  --transition: 0.25s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--c-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-accent); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5, h6 { color: var(--c-text); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}
.btn-primary:hover { background: var(--c-accent-dark); border-color: var(--c-accent-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 61, 138, 0.35); }
.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline-white:hover { background: #fff; color: var(--c-primary); }
.btn-ghost {
  background: transparent;
  color: var(--c-primary);
}
.btn-ghost:hover { background: var(--c-primary-soft); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; }
.logo-text {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--c-primary);
  line-height: 1.1;
}
.logo-text small { display: block; font-size: 11px; font-weight: 600; color: var(--c-muted); letter-spacing: 0.1em; text-transform: uppercase; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: 10px 14px;
  color: var(--c-text);
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active { background: var(--c-primary-soft); color: var(--c-primary); }
.nav-phone {
  color: var(--c-primary);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 14px;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--c-accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: var(--c-text);
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  transition: all var(--transition);
}
.icon-btn:hover { background: var(--c-primary-soft); color: var(--c-primary); }
.icon-btn svg { width: 18px; height: 18px; }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  color: var(--c-primary);
}
.menu-toggle:hover { background: var(--c-primary-soft); }
.menu-toggle svg { width: 24px; height: 24px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, #5E17EB 0%, #7B3EF0 60%, #9457F2 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  min-height: 520px;
}
.hero-left {
  padding: 60px 24px 60px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
  margin-bottom: 18px;
  backdrop-filter: blur(10px);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero p.lead { color: rgba(255,255,255,0.85); font-size: 17px; margin-bottom: 28px; max-width: 520px; }
.countdown-label { font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 8px; }
.countdown {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}
.countdown-item {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  min-width: 78px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.countdown-value { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.countdown-label-item { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.75); margin-top: 6px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-right {
  position: relative;
  min-height: 520px;
  background: linear-gradient(135deg, #2B0B6B 0%, #5E17EB 100%);
  overflow: hidden;
}
.hero-right img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-right-overlay {
  position: absolute;
  left: 32px;
  bottom: 32px;
  color: #fff;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-right-overlay span { display: block; }
.hero-right-overlay .accent { color: var(--c-accent); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 72px 0; }
.section-alt { background: var(--c-bg-alt); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--c-text-soft); max-width: 640px; margin: 0 auto; font-size: 17px; }
.section-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.section-link:hover { gap: 10px; }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.section-head-row h2 { margin: 0; }

/* How your support helps */
.support-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.support-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #E9E0FF, #FFE0EE);
}
.support-image img { width: 100%; height: 100%; object-fit: cover; }
.support-image::after {
  content: '';
  position: absolute;
  right: -30px; top: -30px;
  width: 120px; height: 120px;
  background: var(--c-accent);
  border-radius: 50%;
  opacity: 0.15;
  z-index: 0;
}
.support-items { display: flex; flex-direction: column; gap: 28px; }
.support-item { }
.support-item h3 { font-size: 22px; margin-bottom: 8px; color: var(--c-primary); }
.support-item p { color: var(--c-text-soft); margin: 0; }
.support-cta { margin-top: 16px; }

/* Support cards (customer support section) */
.support-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.support-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  transition: all var(--transition);
}
.support-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.support-card-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EDE5FF, #FFE0EE);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.support-card-icon img { width: 64px; height: 64px; object-fit: contain; }
.support-card h3 { margin-bottom: 6px; color: var(--c-primary); }
.support-card p { color: var(--c-text-soft); margin: 0 0 12px; font-size: 15px; }
.support-card-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.support-card-actions a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--c-primary);
}
.support-card-actions a:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* Result cards */
.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.result-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.result-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.result-card-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 20px;
}
.result-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; color: var(--c-primary);
}
.result-brand img { width: 48px; height: 48px; border-radius: 8px; }
.result-date { color: var(--c-muted); font-size: 13px; text-align: right; }
.result-date strong { display: block; color: var(--c-text); font-size: 15px; }
.result-number {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--c-primary), #7B3EF0);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 16px;
  margin-bottom: 14px;
}
.result-location { color: var(--c-text-soft); margin-bottom: 20px; }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.result-actions a {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 13px; font-weight: 600;
}
.result-actions a:hover { background: var(--c-primary); color: #fff; }

/* Winners stories */
.winner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.winner-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.winner-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.winner-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-primary-soft);
}
.winner-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.winner-card:hover .winner-image img { transform: scale(1.05); }
.winner-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.winner-meta {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 12px; color: var(--c-muted);
}
.winner-meta .tag {
  padding: 3px 10px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  border-radius: 999px;
  font-weight: 600;
}
.winner-body h3 { font-size: 18px; margin-bottom: 10px; }
.winner-body p { color: var(--c-text-soft); font-size: 14px; flex: 1; }
.winner-body a { margin-top: 12px; font-size: 14px; font-weight: 600; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-cta {
  background: linear-gradient(135deg, var(--c-primary), #8B3DFF);
  color: #fff;
  padding: 34px 0;
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-cta h3 { color: #fff; margin: 0 0 4px; font-size: 22px; }
.footer-cta p { margin: 0; color: rgba(255,255,255,0.85); }

.site-footer {
  background: #1B1140;
  color: rgba(255,255,255,0.82);
  padding: 56px 0 24px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.72); }
.footer-col a:hover { color: #fff; }
.footer-logo img { width: 60px; height: 60px; border-radius: 12px; margin-bottom: 14px; }
.footer-logo .brand-name { color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 8px; }
.footer-logo p { color: rgba(255,255,255,0.62); font-size: 13px; }
.footer-contact { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 14px; }

.footer-payments { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.payment-badge {
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.payment-badge svg { height: 20px; width: auto; display: block; }

.footer-apps { display: flex; gap: 10px; flex-wrap: wrap; }
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,0.2);
}
.app-badge svg { width: 22px; height: 22px; }
.app-badge small { display: block; font-size: 10px; color: rgba(255,255,255,0.7); font-weight: 500; }
.app-badge:hover { background: #111; color: #fff; }

.footer-responsible {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin: 30px 0;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-responsible-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  margin-right: 10px;
}
.responsible-logo {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  transition: background var(--transition);
}
.responsible-logo:hover { background: rgba(255,255,255,0.15); }
.responsible-logo img { height: 34px; width: auto; }

.footer-legal {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  line-height: 1.6;
}

/* ==========================================================================
   Page hero (secondary)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--c-primary) 0%, #7B3EF0 100%);
  color: #fff;
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before, .page-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}
.page-hero::before {
  width: 380px; height: 380px;
  background: var(--c-accent);
  top: -140px; right: -100px;
}
.page-hero::after {
  width: 260px; height: 260px;
  background: #fff;
  bottom: -120px; left: -60px;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 780px; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 18px; margin: 0; }
.breadcrumbs {
  display: flex; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.breadcrumbs a { color: rgba(255,255,255,0.85); }
.breadcrumbs a:hover { color: #fff; }

/* ==========================================================================
   Content blocks
   ========================================================================== */
.prose {
  max-width: 820px;
  margin: 0 auto;
}
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; color: var(--c-primary); }
.prose p, .prose li { color: var(--c-text-soft); font-size: 16px; }
.prose ul li { margin-bottom: 8px; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-primary-soft), #FFE8F0);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-primary);
  margin-bottom: 16px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--c-text-soft); margin: 0; font-size: 15px; }

/* Ticket plans */
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ticket-card {
  background: #fff;
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.ticket-card:hover { border-color: var(--c-primary); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.ticket-card.featured {
  border-color: var(--c-accent);
  background: linear-gradient(180deg, #fff 0%, #FFF5F9 100%);
}
.ticket-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ticket-price { font-size: 40px; font-weight: 800; color: var(--c-primary); margin: 8px 0 6px; letter-spacing: -0.03em; }
.ticket-price small { font-size: 16px; color: var(--c-muted); font-weight: 600; }
.ticket-count { color: var(--c-text-soft); margin-bottom: 20px; }
.ticket-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 20px;
}
.ticket-card ul li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: 14px;
  color: var(--c-text-soft);
  border-bottom: 1px dashed var(--c-border);
}
.ticket-card ul li:last-child { border-bottom: 0; }
.ticket-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%);
  background: var(--c-primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4'><polyline points='4 12 10 18 20 6'/></svg>");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* FAQ accordion */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item.open { box-shadow: var(--shadow-sm); border-color: var(--c-primary); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q:hover { color: var(--c-primary); }
.faq-q .faq-icon {
  width: 28px; height: 28px;
  background: var(--c-primary-soft);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); background: var(--c-primary); color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--c-text-soft);
  font-size: 15px;
}
.faq-a-inner { padding: 0 24px 22px; }

/* News grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-image { aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-primary-soft); }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-image img { transform: scale(1.06); }
.news-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-body .news-meta { font-size: 12px; color: var(--c-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.news-body h3 { font-size: 18px; margin-bottom: 10px; }
.news-body p { color: var(--c-text-soft); font-size: 14px; flex: 1; }
.news-body a.read-more { margin-top: 12px; font-weight: 600; font-size: 14px; }

/* Auth forms */
.auth-wrap {
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}
.auth-wrap h1 { font-size: 28px; margin-bottom: 6px; text-align: center; }
.auth-wrap .auth-sub { text-align: center; color: var(--c-text-soft); margin-bottom: 26px; }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--c-text);
}
.form-field input[type=text],
.form-field input[type=email],
.form-field input[type=password],
.form-field input[type=number],
.form-field input[type=tel],
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--c-text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(94, 23, 235, 0.1);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--c-text-soft);
  margin-bottom: 16px;
}
.form-check input { margin-top: 2px; }
.auth-alt {
  text-align: center;
  margin-top: 20px;
  color: var(--c-text-soft);
  font-size: 14px;
}
.form-msg {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}
.form-msg.show { display: block; }
.form-msg.success { background: #E8F8F1; color: #146C4E; border: 1px solid #B5E6D2; }
.form-msg.error { background: #FBEAEA; color: #9A2020; border: 1px solid #F0C2C2; }

/* Cart */
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  max-width: 640px; margin: 0 auto;
}
.cart-empty svg { width: 80px; height: 80px; color: var(--c-primary); margin-bottom: 20px; }
.cart-empty h2 { margin-bottom: 10px; }
.cart-empty p { color: var(--c-text-soft); margin-bottom: 22px; }

/* VIP plans */
.vip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vip-card {
  background: #fff;
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.vip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vip-card.featured {
  background: linear-gradient(180deg, #5E17EB 0%, #7B3EF0 100%);
  color: #fff;
  border-color: transparent;
  transform: scale(1.02);
}
.vip-card.featured h3, .vip-card.featured .vip-price { color: #fff; }
.vip-card.featured p, .vip-card.featured ul li { color: rgba(255,255,255,0.85); }
.vip-card.featured ul li::before { background: #fff !important; color: var(--c-primary) !important; }
.vip-name { font-size: 13px; font-weight: 700; color: var(--c-accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.vip-card.featured .vip-name { color: #FFD9E8; }
.vip-card h3 { font-size: 26px; margin-bottom: 8px; }
.vip-price { font-size: 44px; font-weight: 800; color: var(--c-primary); line-height: 1; margin-bottom: 6px; letter-spacing: -0.03em; }
.vip-price small { font-size: 16px; color: var(--c-muted); font-weight: 600; }
.vip-card.featured .vip-price small { color: rgba(255,255,255,0.75); }
.vip-card > p { color: var(--c-text-soft); margin-bottom: 20px; }
.vip-card ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.vip-card ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 14px;
  color: var(--c-text-soft);
}
.vip-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%);
  background: var(--c-primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4'><polyline points='4 12 10 18 20 6'/></svg>");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Info rows */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  padding: 24px;
  text-align: center;
}
.info-card .info-val { font-size: 32px; font-weight: 800; color: var(--c-primary); letter-spacing: -0.02em; }
.info-card .info-label { color: var(--c-muted); font-size: 14px; margin-top: 4px; }

/* Single article */
.article-hero { aspect-ratio: 16 / 7; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { display: flex; gap: 14px; color: var(--c-muted); font-size: 14px; margin-bottom: 16px; }

/* ==========================================================================
   Popups / Overlays
   ========================================================================== */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(27, 17, 64, 0.7);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-backdrop.show { display: flex; }
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: none; } }
.modal h2 { margin-bottom: 12px; }
.modal p { color: var(--c-text-soft); margin-bottom: 22px; }
.modal .modal-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--c-primary-soft), #FFE0EE);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--c-primary);
}
.modal .modal-icon svg { width: 36px; height: 36px; }
.modal-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.cookie-bar {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  background: #1B1140;
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: none;
  align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  z-index: 90;
  max-width: 1240px;
  margin: 0 auto;
}
.cookie-bar.show { display: flex; }
.cookie-bar p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.85); }
.cookie-bar a { color: var(--c-accent); }

/* Toast */
.toast {
  position: fixed;
  top: 84px;
  right: 24px;
  background: #1B1140;
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 120;
  display: none;
  animation: toastIn 0.3s ease;
}
.toast.show { display: block; }
.toast.success { background: var(--c-success); }
.toast.error { background: var(--c-danger); }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 960px) {
  .main-nav, .nav-phone { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-left { padding: 56px 0; }
  .hero-right { min-height: 320px; }
  .support-grid { grid-template-columns: 1fr; gap: 32px; }
  .support-image { aspect-ratio: 16 / 10; }
  .support-cards { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .winner-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .ticket-grid { grid-template-columns: 1fr 1fr; }
  .vip-grid { grid-template-columns: 1fr; }
  .vip-card.featured { transform: none; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }

  .mobile-nav {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(27,17,64,0.7);
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }
  .mobile-nav.open { opacity: 1; pointer-events: auto; }
  .mobile-nav-inner {
    position: absolute;
    top: 0; right: 0;
    width: 300px; max-width: 85%;
    height: 100%;
    background: #fff;
    padding: 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition);
  }
  .mobile-nav.open .mobile-nav-inner { transform: translateX(0); }
  .mobile-nav a {
    display: block;
    padding: 12px 10px;
    font-weight: 600;
    color: var(--c-text);
    border-bottom: 1px solid var(--c-border);
  }
  .mobile-nav a:hover { color: var(--c-primary); }
  .mobile-nav .close-btn {
    display: flex; justify-content: flex-end;
    margin-bottom: 10px;
  }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero h1 { font-size: 2rem; }
  .winner-grid, .feature-grid, .news-grid, .info-grid { grid-template-columns: 1fr; }
  .ticket-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .section-head-row { align-items: flex-start; }
  .auth-wrap { padding: 28px 22px; }
  .support-card { flex-direction: column; text-align: center; }
  .countdown-item { min-width: 66px; padding: 12px 14px; }
  .countdown-value { font-size: 22px; }
}

.mobile-nav { display: none; }
@media (max-width: 960px) {
  .mobile-nav { display: block; }
}
