/* RuletaVirtual.com */

:root {
  --bg-dark:       #0b190b;
  --bg-dark-alt:   #0f1f0f;
  --bg-mid:        #162416;
  --bg-card-dark:  #1a2e1a;
  --bg-light:      #f4f0e6;
  --bg-white:      #ffffff;

  --text-light:    #e8e4d9;
  --text-muted:    #9e9880;
  --text-dark:     #1c1c1c;
  --text-body:     #2d2d2d;

  --gold:          #c9a84c;
  --gold-dark:     #a87f2a;
  --gold-light:    #e0c06a;
  --red:           #7a1a1a;
  --red-light:     #a02828;

  --border-gold:   rgba(201,168,76,0.22);
  --border-dark:   rgba(255,255,255,0.07);
  --border-light:  rgba(0,0,0,0.1);

  --shadow:        0 6px 32px rgba(0,0,0,0.45);
  --shadow-sm:     0 2px 10px rgba(0,0,0,0.25);
  --shadow-card:   0 4px 20px rgba(0,0,0,0.3);

  --radius:        10px;
  --radius-sm:     6px;
  --radius-lg:     16px;

  --max-w:         1100px;
  --font:          Verdana, Geneva, Tahoma, sans-serif;
  --transition:    0.2s ease;
}

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

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

body {
  font-family: var(--font);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--gold-light); }

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  line-height: 1.2;
  font-weight: 700;
}

h1 { text-align: center; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  background: var(--bg-dark-alt);
  border-bottom: 1px solid var(--border-gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover .brand-text { color: var(--gold-light); }
.brand:focus-visible { outline-color: var(--gold); }
.brand-icon { flex-shrink: 0; }

.brand-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
  transition: color var(--transition);
  white-space: nowrap;
}

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

.nav-menu a {
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}

.nav-menu a:focus-visible { outline-color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  background: var(--bg-dark);
  padding: 48px 0 40px;
}

.hero-content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 20px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(1.65rem, 3.5vw, 2.6rem);
  color: var(--text-light);
  margin-bottom: 18px;
  line-height: 1.15;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.game-section {
  padding: 0 0 28px;
  background: var(--bg-dark);
}

.game-embed-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.game-placeholder {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0a140a;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.game-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  transition: filter var(--transition);
}

.game-placeholder:hover img { filter: brightness(0.8); }

.game-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
  border-radius: var(--radius-lg);
}

.game-overlay-title {
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.game-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #0b190b;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}

.btn-play:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-play:focus-visible {
  outline: 2px solid var(--text-light);
  outline-offset: 3px;
}

.btn-fullscreen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-light);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  backdrop-filter: blur(4px);
}

.btn-fullscreen:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
}

.btn-fullscreen:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.game-wrapper {
  display: none;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  background: #000;
}

.game-wrapper.loaded { display: block; }

.game-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 56px 0;
}

.section-alt {
  background: var(--bg-dark-alt);
  color: var(--text-light);
  padding: 56px 0;
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 56px 0;
}

.section-mid {
  background: var(--bg-card-dark);
  color: var(--text-light);
  padding: 56px 0;
}

.section-h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  margin-bottom: 20px;
  color: inherit;
}

.section-dark .section-h2,
.section-alt .section-h2,
.section-mid .section-h2 { color: var(--text-light); }

.section-dark .section-h2 { border-left: 3px solid var(--gold); padding-left: 14px; }
.section-alt .section-h2  { border-left: 3px solid var(--red-light); padding-left: 14px; }
.section-mid .section-h2  { border-left: 3px solid var(--gold); padding-left: 14px; }
.section-light .section-h2 { border-left: 3px solid var(--red); padding-left: 14px; color: var(--text-dark); }

.section-h3 {
  font-size: 1.1rem;
  margin: 28px 0 12px;
  color: var(--gold);
}

.section-light .section-h3 { color: var(--red); }

p + p { margin-top: 14px; }

.section-dark p, .section-alt p, .section-mid p { color: var(--text-light); opacity: 0.9; }
.section-dark p a, .section-alt p a { color: var(--gold); }
.section-dark p a:hover, .section-alt p a:hover { color: var(--gold-light); }
.section-light p a { color: var(--red); }
.section-light p a:hover { color: var(--red-light); }

.article-body { max-width: 820px; margin-left: auto; margin-right: auto; }
.article-body p { margin-bottom: 16px; }
.article-body h2 { margin-top: 44px; margin-bottom: 18px; }
.article-body h3 { margin-top: 30px; margin-bottom: 12px; }

.article-body ul,
.article-body ol {
  list-style: none;
  margin: 16px 0 20px 0;
  padding: 0;
}

.article-body ul li,
.article-body ol li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.section-light .article-body ul li::before { background: var(--red); }

.article-body ol { counter-reset: ol-counter; }
.article-body ol li { counter-increment: ol-counter; }
.article-body ol li::before {
  content: counter(ol-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
}
.section-light .article-body ol li::before { color: var(--red); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.cards-grid--spaced { margin-top: 32px; }

.card {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
}

.section-light .card {
  background: var(--bg-white);
  border-color: var(--border-light);
}

.card-icon { font-size: 1.5rem; margin-bottom: 12px; }

.card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--gold);
}

.section-light .card h3 { color: var(--red); }

.card p { font-size: 0.875rem; opacity: 0.85; }

.callout {
  border-left: 4px solid var(--gold);
  background: rgba(201,168,76,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 24px 0;
}

.callout-red {
  border-left-color: var(--red-light);
  background: rgba(122,26,26,0.08);
}

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

.callout strong { color: var(--gold); }
.callout-red strong { color: var(--red-light); }

.section-light .callout strong { color: var(--red); }
.section-light .callout { background: rgba(122,26,26,0.05); border-left-color: var(--red); }

.summary-box {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-gold);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}

.summary-box h3 {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.summary-box ul li { font-size: 0.9rem; margin-bottom: 6px; }

.section-light .summary-box {
  background: var(--bg-white);
  border-color: var(--border-light);
  border-top-color: var(--red);
}

.section-light .summary-box h3 { color: var(--red); }

.variants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.variant-card {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.variant-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--gold);
}

.variant-card p {
  font-size: 0.87rem;
  color: var(--text-light);
  opacity: 0.85;
  margin-bottom: 14px;
}

.variant-card .badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-green { background: rgba(31,92,31,0.4); color: #6dd46d; border: 1px solid rgba(109,212,109,0.3); }
.badge-red   { background: rgba(122,26,26,0.4); color: #e07070; border: 1px solid rgba(224,112,112,0.3); }
.badge-gold  { background: rgba(201,168,76,0.15); color: var(--gold); border: 1px solid var(--border-gold); }

.variant-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.85rem;
}

.variant-stat:last-child { border-bottom: none; }
.variant-stat span:first-child { color: var(--text-muted); }
.variant-stat span:last-child { font-weight: 700; color: var(--text-light); }

.table-wrap { overflow-x: auto; margin: 24px 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.roulette-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.roulette-table thead th {
  background: var(--bg-mid);
  color: var(--gold);
  font-weight: 700;
  padding: 13px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border-gold);
  white-space: nowrap;
}

.roulette-table tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-light);
  vertical-align: middle;
}

.roulette-table tbody tr:last-child td { border-bottom: none; }
.roulette-table tbody tr:nth-child(odd) td { background: rgba(255,255,255,0.025); }
.roulette-table tbody tr:hover td { background: rgba(201,168,76,0.06); }

.section-light .roulette-table thead th { background: #e8e0d0; color: var(--red); border-bottom-color: var(--border-light); }
.section-light .roulette-table tbody td { color: var(--text-body); border-bottom-color: var(--border-light); }
.section-light .roulette-table tbody tr:nth-child(odd) td { background: rgba(0,0,0,0.02); }
.section-light .roulette-table tbody tr:hover td { background: rgba(122,26,26,0.04); }

.td-bet { font-weight: 600; }
.td-pay { color: var(--gold); font-weight: 700; }
.td-prob-eu { color: #6dd46d; }
.td-prob-am { color: #e07070; }
.section-light .td-pay { color: var(--red); }

.faq-list { margin-top: 24px; }

.faq-item {
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.section-light .faq-item { border-color: var(--border-light); }

.faq-question {
  width: 100%;
  background: var(--bg-card-dark);
  color: var(--text-light);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
  padding: 16px 52px 16px 18px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background var(--transition);
}

.section-light .faq-question { background: var(--bg-white); color: var(--text-dark); }

.faq-question:hover { background: rgba(201,168,76,0.08); }
.section-light .faq-question:hover { background: rgba(122,26,26,0.04); }

.faq-question:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

.faq-question::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 400;
  transition: transform var(--transition);
}

.section-light .faq-question::after { color: var(--red); }

.faq-question[aria-expanded="true"] { background: rgba(201,168,76,0.08); }
.section-light .faq-question[aria-expanded="true"] { background: rgba(122,26,26,0.04); }
.faq-question[aria-expanded="true"]::after { content: '−'; }

.faq-answer {
  display: none;
  padding: 0 18px 16px;
  background: var(--bg-card-dark);
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.65;
}

.section-light .faq-answer { background: var(--bg-white); color: var(--text-body); }

.faq-answer.is-open { display: block; }

.faq-answer p { opacity: 0.88; }

.author-box {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-gold);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 48px 0 0;
  box-shadow: var(--shadow-sm);
}

.author-box-inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-mid);
  border: 2px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.author-box h3 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.author-box p {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.65;
  opacity: 0.85;
  margin-bottom: 10px;
}

.author-box p:last-child { margin-bottom: 0; }

.section-light .author-box {
  background: var(--bg-white);
  border-color: var(--border-light);
  border-left-color: var(--red);
}

.section-light .author-box h3 { color: var(--red); }
.section-light .author-box p { color: var(--text-body); }

.privacy-box {
  background: rgba(201,168,76,0.05);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.privacy-box-icon { flex-shrink: 0; margin-top: 2px; }
.privacy-box--mt { margin-top: 16px; }
.privacy-box--mt-lg { margin-top: 28px; }

.summary-box--mt { margin-top: 28px; }
.contact-block--mt { margin-top: 16px; }
.callout--mt { margin-top: 28px; }

.article-body--narrow { max-width: 700px; margin-left: auto; margin-right: auto; }

.content-wrap {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.privacy-box p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  opacity: 1 !important;
}

.section-light .privacy-box { background: rgba(0,0,0,0.03); }
.section-light .privacy-box p { color: #666; }

.site-footer {
  background: var(--bg-dark-alt);
  border-top: 1px solid var(--border-gold);
  padding: 48px 0 28px;
  color: var(--text-muted);
}

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

.footer-brand .brand-text { font-size: 0.95rem; }

.footer-brand p {
  font-size: 0.82rem;
  margin-top: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-nav h4,
.footer-legal h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
}

.footer-nav ul li,
.footer-legal ul li { margin-bottom: 8px; }

.footer-nav ul li a,
.footer-legal ul li a {
  font-size: 0.84rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-nav ul li a:hover,
.footer-legal ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer-copy { color: var(--text-muted); }
.footer-publisher { color: var(--text-muted); }
.footer-publisher a { color: var(--text-muted); }
.footer-publisher a:hover { color: var(--gold); }

.page-hero {
  background: var(--bg-dark-alt);
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--border-gold);
}

.page-hero-inner {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.page-hero .breadcrumb a { color: var(--text-muted); }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero .breadcrumb .sep { color: var(--text-muted); opacity: 0.5; }

.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  color: var(--text-light);
  line-height: 1.2;
  margin-bottom: 16px;
}

.page-hero .page-intro {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 24px 0;
}

.contact-block {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 28px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}

.contact-block h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold);
  margin-bottom: 14px;
}

.contact-block p { font-size: 0.9rem; color: var(--text-light); opacity: 0.85; margin-bottom: 10px; }
.contact-block p:last-child { margin-bottom: 0; }

.contact-email a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}

.contact-email a:hover { color: var(--gold-light); border-bottom-color: var(--gold); }

.text-gold { color: var(--gold) !important; }
.text-red  { color: var(--red-light) !important; }
.text-muted-u { color: var(--text-muted) !important; }

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-sm { margin-top: 12px !important; }
.mt-md { margin-top: 24px !important; }

.bold { font-weight: 700; }

.internal-link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 1px;
  transition: color var(--transition), border-color var(--transition);
}

.internal-link:hover { color: var(--gold-light); border-bottom-color: var(--gold); }

.section-light .internal-link { color: var(--red); border-bottom-color: rgba(122,26,26,0.3); }
.section-light .internal-link:hover { color: var(--red-light); }

.legal-section { margin-bottom: 36px; }

.legal-section h2 {
  font-size: 1.15rem;
  color: var(--text-light);
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  margin-bottom: 14px;
}

.legal-section p {
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.85;
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-section ul { margin: 12px 0; }

.legal-section ul li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.85;
  margin-bottom: 7px;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.rg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.rg-card {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.rg-card h3 { font-size: 0.95rem; color: var(--gold); margin-bottom: 10px; }
.rg-card p { font-size: 0.87rem; color: var(--text-light); opacity: 0.85; }

.help-links { margin-top: 24px; }
.help-links h3 { font-size: 0.95rem; color: var(--gold); margin-bottom: 14px; }
.help-links li { margin-bottom: 8px; }
.help-links a { color: var(--text-light); font-size: 0.88rem; text-decoration: underline; text-underline-offset: 3px; }
.help-links a:hover { color: var(--gold); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 24px 0;
}

.about-item {
  padding: 20px;
  background: var(--bg-card-dark);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
}

.about-item h3 { font-size: 0.95rem; color: var(--gold); margin-bottom: 10px; }
.about-item p { font-size: 0.875rem; color: var(--text-light); opacity: 0.85; }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .two-col { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-dark-alt);
    border-bottom: 1px solid var(--border-gold);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 16px;
    gap: 2px;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  }

  .nav-menu.is-open { display: flex; }

  .nav-menu a {
    font-size: 0.9rem;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-dark);
  }

  .nav-menu a:last-child { border-bottom: none; }

  .hero { padding: 36px 0 32px; }
  .hero h1 { font-size: 1.5rem; }

  .game-section { padding-bottom: 20px; }

  .section-dark,
  .section-alt,
  .section-light,
  .section-mid { padding: 40px 0; }

  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  .cards-grid { grid-template-columns: 1fr; }
  .variants-grid { grid-template-columns: 1fr; }
  .rg-grid { grid-template-columns: 1fr; }

  .author-box-inner { flex-direction: column; gap: 14px; }

  .game-placeholder { aspect-ratio: 4 / 3; }
  .game-wrapper { aspect-ratio: 4 / 3; }

  .roulette-table { font-size: 0.78rem; }
  .roulette-table thead th,
  .roulette-table tbody td { padding: 10px 11px; }
}

@media (max-width: 480px) {
  .hero-badges { gap: 8px; }
  .hero-badge { font-size: 0.75rem; padding: 5px 11px; }
  .game-btns { flex-direction: column; align-items: center; }
  .btn-play, .btn-fullscreen { width: 100%; max-width: 280px; justify-content: center; }
  .page-hero { padding: 36px 0 30px; }
}
