@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --bg: #f0ebe3;
  --bg-alt: #e8e1d6;
  --surface: #faf7f3;
  --dark: #161210;
  --dark-surface: #1e1a16;
  --accent: #c27a2e;
  --accent-hover: #d8923e;
  --accent-muted: rgba(194, 122, 46, 0.1);
  --accent-glow: rgba(194, 122, 46, 0.25);
  --text: #2c2620;
  --text-muted: #8a7e72;
  --text-light: #b5aa9e;
  --border: #d6cec3;
  --border-light: #e4ded6;
  --white: #fdfcfa;
  --green: #3d9e5c;
  --red: #c94444;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1280px;
  --radius: 8px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 0.4s;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t) var(--ease);
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes popIn {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(240, 235, 227, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.nav-logo img {
  height: 34px;
  width: auto;
}

.nav-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  position: relative;
  transition: color var(--t) var(--ease);
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--t) var(--ease);
}

.nav-links a:not(.nav-cta):hover {
  color: var(--text);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 22px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: var(--radius);
  font-family: var(--font-display);
  transition: all var(--t) var(--ease);
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.nav-cta:active {
  transform: translateY(0) scale(0.97);
}

.nav-cta i {
  font-size: 1rem;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
}

.nav-burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t) var(--ease);
}

.nav-burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-burger.active span:nth-child(2) {
  opacity: 0;
}

.nav-burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 99;
  padding: 32px 20px;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  display: block;
}

.mobile-menu .nav-cta {
  margin-top: 20px;
  text-align: center;
  justify-content: center;
  padding: 14px 24px;
  font-size: 1rem;
}

.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  animation: fadeUp 0.7s var(--ease) both;
}

.hero-content {
  padding: 80px 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-muted);
  border: 1px solid rgba(194, 122, 46, 0.18);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-family: var(--font-display);
}

.hero-tag i {
  font-size: 0.9rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 40px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--t) var(--ease);
}

.btn-primary i {
  font-size: 1.1rem;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: none;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--t) var(--ease);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-ghost:active {
  transform: translateY(0) scale(0.97);
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(22, 18, 16, 0.5) 100%);
  pointer-events: none;
}

.hero-float {
  position: absolute;
  bottom: 36px;
  left: -24px;
  background: var(--surface);
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatY 5s ease-in-out infinite;
  z-index: 2;
}

.hero-float-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.5s ease-in-out infinite;
}

.hero-float-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-display);
}

.hero-float-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.section {
  padding: 120px 0;
}

.section.compact {
  padding: 0 0 120px;
}

.s-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.s-label i {
  font-size: 0.95rem;
}

.s-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
}

.s-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.hiw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hiw-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--t) var(--ease);
}

.hiw-item:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.04);
}

.hiw-num {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-muted);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
}

.hiw-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.hiw-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.resp-block {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  position: relative;
  overflow: hidden;
}

.resp-block::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: var(--accent);
  opacity: 0.05;
  border-radius: 50%;
  pointer-events: none;
}

.resp-block .s-label {
  color: var(--accent);
}

.resp-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.resp-block p {
  color: #b5aa9e;
  font-size: 0.92rem;
  line-height: 1.8;
  max-width: 720px;
}

.rules-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
}

.rules-bg {
  position: absolute;
  inset: 0;
}

.rules-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rules-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(22, 18, 16, 0.92) 0%, rgba(22, 18, 16, 0.4) 60%, rgba(22, 18, 16, 0.15) 100%);
}

.rules-inner {
  position: relative;
  z-index: 1;
  padding: 48px 56px;
  max-width: 560px;
}

.rules-inner .s-label {
  color: var(--accent);
}

.rules-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.15;
}

.rules-inner p {
  color: #c9bfb3;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}

.reviews-head .s-desc {
  margin-bottom: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--t) var(--ease);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.04);
}

.review-card:first-child {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 1rem;
}

.review-text {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

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

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--accent);
}

.review-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--dark);
}

.review-role {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.article-layout {
  display: grid;
  grid-template-columns: 0.55fr 0.45fr;
  gap: 48px;
  align-items: start;
}

.article-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/2;
}

.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.article-img:hover img {
  transform: scale(1.04);
}

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

.article-body p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 20px;
}

.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-light);
  transition: all var(--t) var(--ease);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.04);
}

.news-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-side .news-card-img {
  aspect-ratio: 4/3;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.news-card-body {
  padding: 24px;
}

.news-card-date {
  font-size: 0.73rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.news-card h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.news-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.news-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-head {
  margin-bottom: 48px;
}

.team-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t) var(--ease);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.04);
}

.team-card-img {
  aspect-ratio: 3/2;
  overflow: hidden;
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.team-card-body {
  padding: 24px;
}

.team-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-card-body span {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
}

.team-card-body p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 10px;
}

.team-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 60px;
  align-items: start;
}

.faq-sticky {
  position: sticky;
  top: 96px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-light);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-q span {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--dark);
}

.faq-q i {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform var(--t) var(--ease);
  flex-shrink: 0;
}

.faq-item.open .faq-q i {
  transform: rotate(45deg);
  color: var(--accent);
}

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

.faq-item.open .faq-a {
  max-height: 320px;
  padding-bottom: 22px;
}

.faq-a p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer {
  background: var(--dark);
  padding: 72px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-brand img {
  height: 30px;
  width: auto;
}

.footer-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}

.footer-responsible {
  background: rgba(194, 122, 46, 0.07);
  border: 1px solid rgba(194, 122, 46, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 24px;
}

.footer-responsible p {
  font-size: 0.84rem;
  color: #c9bfb3;
  line-height: 1.7;
}

.footer-responsible strong {
  color: var(--accent);
  font-weight: 600;
}

.footer-regulators {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-regulators a {
  display: block;
  opacity: 0.55;
  transition: opacity var(--t) var(--ease);
}

.footer-regulators a:hover {
  opacity: 1;
}

.footer-regulators img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.86rem;
  color: #9a9088;
  padding: 5px 0;
  transition: color var(--t) var(--ease);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  font-size: 0.76rem;
  color: #6a6058;
}

.footer-contact {
  font-size: 0.76rem;
  color: #6a6058;
}

.footer-contact a:hover {
  color: var(--accent);
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 18, 16, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-overlay.hidden {
  display: none;
}

.popup-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 380px;
  width: 100%;
  animation: popIn 0.4s var(--ease);
}

.popup-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-icon span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.popup-box h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.popup-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.popup-yes {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--t) var(--ease);
}

.popup-yes:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.popup-yes:active {
  transform: scale(0.97);
}

.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--dark-surface);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 18px 0;
  transition: transform 0.5s ease;
}

.cookie-bar.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-text {
  font-size: 0.84rem;
  color: #b5aa9e;
  line-height: 1.5;
  flex: 1;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-display);
  border-radius: var(--radius);
  transition: all var(--t) var(--ease);
  cursor: pointer;
}

.cookie-accept {
  background: var(--accent);
  color: var(--white);
  border: none;
}

.cookie-accept:hover {
  background: var(--accent-hover);
}

.cookie-decline {
  background: transparent;
  color: #9a9088;
  border: 1px solid rgba(255,255,255,0.1);
}

.cookie-decline:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}

.cookie-settings-btn {
  background: transparent;
  color: #9a9088;
  border: none;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-settings-btn:hover {
  color: var(--white);
}

.cookie-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(22, 18, 16, 0.7);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-panel.open {
  display: flex;
}

.cookie-panel-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 36px;
  animation: popIn 0.3s ease;
}

.cookie-panel-box h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  gap: 16px;
}

.cookie-option:last-of-type {
  border-bottom: none;
}

.cookie-opt-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

.cookie-opt-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.toggle-wrap {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-wrap input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: background var(--t) var(--ease);
}

.toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--t) var(--ease);
}

.toggle-wrap input:checked + .toggle-track {
  background: var(--accent);
}

.toggle-wrap input:checked + .toggle-track::after {
  transform: translateX(20px);
}

.toggle-wrap input:disabled + .toggle-track {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-panel-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.cookie-panel-actions .btn-primary,
.cookie-panel-actions .btn-ghost {
  flex: 1;
  justify-content: center;
  padding: 12px;
  font-size: 0.86rem;
}

.page-hero {
  padding: 140px 0 56px;
  animation: fadeUp 0.6s var(--ease) both;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

.page-content {
  padding: 0 0 100px;
}

.content-block {
  margin-bottom: 44px;
}

.content-block:last-child {
  margin-bottom: 0;
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.page-content h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  margin-top: 20px;
}

.page-content p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
  max-width: 700px;
}

.page-content p:last-child {
  margin-bottom: 0;
}

.page-content strong {
  color: var(--text);
  font-weight: 600;
}

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

.page-split {
  display: grid;
  grid-template-columns: 0.28fr 0.72fr;
  gap: 56px;
  align-items: start;
}

.page-sidebar {
  position: sticky;
  top: 88px;
}

.page-sidebar-nav {
  display: flex;
  flex-direction: column;
}

.page-sidebar-nav a {
  font-size: 0.86rem;
  color: var(--text-muted);
  padding: 9px 0 9px 16px;
  border-left: 2px solid var(--border-light);
  transition: all var(--t) var(--ease);
}

.page-sidebar-nav a:hover,
.page-sidebar-nav a.active {
  color: var(--accent);
  border-left-color: var(--accent);
}

.rules-section {
  margin-bottom: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--border-light);
}

.rules-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.rules-section h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.rule-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  margin-bottom: 18px;
  align-items: start;
}

.rule-num {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-muted);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--accent);
  flex-shrink: 0;
}

.rule-row p {
  margin-bottom: 0;
}

.game-wrap {
  padding: 88px 0 60px;
  min-height: 100dvh;
  animation: fadeUp 0.5s var(--ease) both;
}

.slot-container {
  max-width: 840px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}

.slot-header {
  text-align: center;
  margin-bottom: 28px;
}

.slot-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 6px;
}

.slot-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.slot-points {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.slot-points-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-family: var(--font-display);
}

.slot-points-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  min-width: 90px;
  text-align: center;
}

.slot-machine {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid rgba(194, 122, 46, 0.12);
}

.slot-reels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.slot-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slot-cell {
  aspect-ratio: 1;
  background: var(--dark-surface);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.slot-cell img {
  width: 68%;
  height: 68%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.slot-cell.win-cell {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.slot-cell.win-cell img {
  transform: scale(1.12);
}

.slot-cell.spinning img {
  opacity: 0.3;
  animation: shimmer 0.3s linear infinite;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  background-size: 200% 100%;
}

.slot-paylines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.73rem;
  color: #6a6058;
  font-family: var(--font-display);
}

.slot-paylines span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pay-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.pay-dot.red { background: var(--red); }
.pay-dot.accent { background: var(--accent); }
.pay-dot.green { background: var(--green); }

.slot-controls {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
}

.slot-bet-label,
.slot-result-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-family: var(--font-display);
  margin-bottom: 8px;
}

.slot-bet-options {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.slot-bet-btn {
  padding: 7px 13px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--t) var(--ease);
}

.slot-bet-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.slot-bet-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.slot-spin-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slot-spin {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot-spin:hover {
  background: var(--accent-hover);
  transform: scale(1.07);
  box-shadow: 0 6px 24px var(--accent-glow);
}

.slot-spin:active {
  transform: scale(0.95);
}

.slot-spin:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.slot-result {
  text-align: right;
}

.slot-result-val {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-muted);
  min-height: 28px;
}

.slot-result-val.win {
  color: var(--green);
}

.slot-result-val.lose {
  color: var(--red);
}

.slot-rules-mini {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.slot-rules-mini h3 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.sr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.84rem;
}

.sr-row:last-child {
  border-bottom: none;
}

.sr-match {
  color: var(--text);
  font-weight: 500;
}

.sr-pay {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-display);
}

.slot-note {
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-light);
  margin-top: 16px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
    padding-top: 96px;
  }
  .hero-content { padding: 0; }
  .hero-visual { min-height: 340px; }
  .hero-img-wrap { max-width: 100%; aspect-ratio: 16/10; }
  .hero-float { left: 16px; bottom: 20px; }
  .hiw-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 28px; }
  .news-grid { grid-template-columns: 1fr; }
  .team-layout { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-sticky { position: static; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card:first-child { grid-row: auto; }
  .footer-top { grid-template-columns: 1fr; }
  .page-split { grid-template-columns: 1fr; gap: 28px; }
  .page-sidebar { position: static; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .wrap { padding: 0 16px; }
  .section { padding: 80px 0; }
  .section.compact { padding: 0 0 80px; }
  .hero-title { font-size: 2rem; }
  .s-title { font-size: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; text-align: center; }
  .reviews-head, .news-head { flex-direction: column; align-items: flex-start; }
  .rules-inner { padding: 28px 24px; }
  .hiw-item { grid-template-columns: 1fr; gap: 12px; }
  .resp-block { padding: 28px 24px; }
  .cookie-inner { flex-direction: column; text-align: center; }
  .cookie-actions { flex-wrap: wrap; justify-content: center; width: 100%; }
  .cookie-accept, .cookie-decline { flex: 1; min-width: 90px; }
  .footer-links-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .popup-box { padding: 36px 28px; }
  .page-hero { padding: 108px 0 36px; }
  .page-sidebar-nav { flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
  .page-sidebar-nav a { border-left: none; border-bottom: 2px solid var(--border-light); padding: 8px 14px; white-space: nowrap; font-size: 0.8rem; }
  .slot-controls { grid-template-columns: 1fr; text-align: center; }
  .slot-bet-options { justify-content: center; }
  .slot-result { text-align: center; }
}

@media (max-width: 480px) {
  .hero { padding-top: 80px; }
  .hero-visual { min-height: 260px; }
  .hero-float { display: none; }
  .slot-machine { padding: 16px; }
  .slot-reels { gap: 4px; }
  .slot-col { gap: 4px; }
  .slot-spin { width: 64px; height: 64px; font-size: 0.76rem; }
  .slot-points-val { font-size: 1.4rem; }
  .review-card { padding: 24px; }
  .news-card-body { padding: 16px; }
  .team-card-body { padding: 16px; }
}
