/* Egypt — sandstone / gold / night */
html, body { margin: 0; padding: 0; background: #0b0805; }
body.eg-body {
  min-height: 100%; overflow-x: hidden;
  font-family: Jost, system-ui, sans-serif;
  color: #EADFC6; -webkit-font-smoothing: antialiased;
  background-color: #0b0805;
  background-image: linear-gradient(rgba(8,6,4,.62), rgba(8,6,4,.78)), var(--eg-bg);
  background-size: cover; background-position: center top; background-attachment: fixed;
}
* { box-sizing: border-box; }
a { color: #E7B94F; text-decoration: none; }
a:hover { color: #F6D97A; }
a:focus-visible, button:focus-visible {
  outline: 2px solid #F6D97A; outline-offset: 2px;
}

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

.eg-shell { min-height: 100vh; }

/* Header */
.eg-header {
  position: sticky; top: 0; z-index: 40;
  padding: 14px clamp(14px, 3vw, 36px);
  background: linear-gradient(180deg, rgba(9,7,5,.92), rgba(9,7,5,.55));
  border-bottom: 1px solid rgba(227,176,75,.35);
  backdrop-filter: blur(6px);
}
.eg-header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; max-width: 1280px; margin: 0 auto;
}
.eg-brand {
  width: 190px; height: 82px; flex: 0 0 190px;
  display: flex; align-items: center; justify-content: center;
}
.eg-logo--header {
  width: 100%; height: 100%; max-width: 190px; object-fit: contain; display: block;
}
.eg-nav-slot--desktop { flex: 1 1 auto; min-width: 0; }
.eg-nav-slot--desktop .eg-main-nav {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(10px, 2vw, 28px); flex-wrap: wrap;
  font-family: Cinzel, serif; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase;
}
.eg-nav-slot--desktop .eg-nav-link {
  color: #EADFC6; padding: 6px 2px; border-bottom: 1px solid transparent;
}
.eg-nav-slot--desktop .eg-nav-link:hover {
  color: #F6D97A; border-bottom-color: #E3B04B;
}
.eg-header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.eg-burger {
  display: none; width: 46px; height: 46px; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: transparent; border: 1px solid rgba(227,176,75,.5);
  border-radius: 3px; cursor: pointer;
}
.eg-burger span {
  display: block; width: 20px; height: 1.5px; background: #E3B04B;
}
.eg-nav-slot--mobile {
  width: 100%; max-width: 1280px; margin: 10px auto 0;
  padding-top: 10px; border-top: 1px solid rgba(227,176,75,.22);
}
.eg-nav-slot--mobile[hidden] { display: none !important; }
.eg-nav-slot--mobile .eg-main-nav {
  display: flex; flex-direction: column; gap: 2px;
  font-family: Cinzel, serif; font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase;
}
.eg-nav-slot--mobile .eg-nav-link {
  color: #EADFC6; padding: 14px 4px;
  border-bottom: 1px solid rgba(227,176,75,.14); text-align: center;
}
.eg-nav-slot--mobile .eg-nav-link:hover { color: #F6D97A; }

/* Buttons Example 8 */
.eg-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: Cinzel, serif; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 3px; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease, filter .18s ease;
}
.eg-btn--ghost {
  font-size: 12px; padding: 11px 20px; min-height: 44px;
  color: #F0DFB4; background: transparent; border: 1px solid rgba(227,176,75,.6);
}
.eg-btn--ghost:hover { background: rgba(227,176,75,.12); color: #F6D97A; }
.eg-btn--gold {
  font-size: 12px; padding: 11px 22px; min-height: 44px; font-weight: 600;
  color: #20150a; background: linear-gradient(180deg, #F6D97A, #D69A2C);
  border: 1px solid #F6D97A;
}
.eg-btn--gold:hover { background: linear-gradient(180deg, #FFE9A3, #E3B04B); }
.eg-btn--claim {
  font-size: 14px; font-weight: 600; letter-spacing: .16em;
  padding: 16px 34px; min-height: 52px;
  color: #20150a; background: linear-gradient(180deg, #F6D97A, #D69A2C);
  border: 1px solid #FFE9A3;
  box-shadow: 0 10px 30px rgba(214,154,44,.28);
}
.eg-btn--claim:hover { background: linear-gradient(180deg, #FFE9A3, #E3B04B); }
.eg-btn--more {
  font-size: 13px; letter-spacing: .18em; padding: 15px 40px; min-height: 48px;
  color: #F0DFB4; background: rgba(227,176,75,.08);
  border: 1px solid rgba(227,176,75,.55);
}
.eg-btn--more:hover {
  background: rgba(227,176,75,.18); color: #F6D97A; border-color: #E3B04B;
}

/* Hero */
.eg-hero-wrap { padding: clamp(18px, 3vw, 40px) clamp(14px, 3vw, 36px) 0; }
.eg-hero {
  max-width: 1280px; margin: 0 auto; position: relative;
  border: 1px solid rgba(227,176,75,.45); border-radius: 6px; overflow: hidden;
  box-shadow: 0 0 60px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,235,180,.08);
  min-height: clamp(340px, 40vw, 540px); display: flex; align-items: center;
}
.eg-hero-media {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(6,4,2,.94) 0%, rgba(6,4,2,.8) 34%, rgba(6,4,2,.15) 62%, rgba(6,4,2,0) 100%),
    var(--eg-hero);
  background-size: cover; background-position: right center;
}
.eg-hero-inner {
  position: relative; z-index: 1; max-width: min(560px, 82%);
  padding: clamp(22px, 4vw, 56px);
}
.eg-hero-title {
  font-family: Cinzel, serif; font-weight: 800;
  font-size: clamp(28px, 4.4vw, 54px); line-height: 1.08;
  margin: 0 0 18px; color: #F6D97A;
  text-shadow: 0 2px 18px rgba(0,0,0,.8); text-wrap: balance;
}
.eg-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Dividers */
.eg-divider {
  display: flex; align-items: center; gap: 14px;
  max-width: 1280px; margin: clamp(28px, 4vw, 52px) auto;
  padding: 0 clamp(14px, 3vw, 36px);
}
.eg-divider-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227,176,75,.55));
}
.eg-divider-line--rev {
  background: linear-gradient(90deg, rgba(227,176,75,.55), transparent);
}
.eg-divider-mark {
  color: #E3B04B; font-size: 18px; letter-spacing: .3em; line-height: 1;
}

/* Sections */
.eg-section-inner, .eg-section-head { max-width: 1280px; margin: 0 auto; padding: 0 clamp(14px, 3vw, 36px); }
.eg-section-head { margin-bottom: 22px; }
.eg-section-head--row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.eg-section-title {
  font-family: Cinzel, serif; font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: .16em; text-transform: uppercase; color: #F6D97A; margin: 0;
}
.eg-section-title--sm {
  font-size: clamp(18px, 2vw, 24px); letter-spacing: .2em; color: #F0DFB4;
}
.eg-live-label { font-size: 13px; color: #9C8E75; letter-spacing: .08em; }

/* Providers marquee */
.eg-prov-marquee {
  position: relative; overflow: hidden; padding: 18px 0;
  border-top: 1px solid rgba(227,176,75,.22);
  border-bottom: 1px solid rgba(227,176,75,.22);
  background: rgba(8,6,4,.45);
}
.eg-prov-track {
  display: flex; width: max-content;
  animation: egMarquee 46s linear infinite;
}
.eg-prov {
  width: 120px; height: 34px; margin: 0 22px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.eg-prov-mask, .eg-pay-mask {
  display: block; width: 100%; height: 100%;
  background-color: #E3B04B;
  -webkit-mask-image: var(--eg-mask); mask-image: var(--eg-mask);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}

/* Games */
#games { padding: clamp(28px, 4vw, 56px) 0 0; }
.eg-games-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}
.eg-game { display: flex; flex-direction: column; gap: 8px; }
.eg-game.is-hidden { display: none !important; }
.eg-game-card {
  display: block; width: 100%; padding: 0; border: 2px solid #C9922C;
  border-radius: 4px; overflow: hidden; background: #120c06; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,232,170,.25), 0 8px 22px rgba(0,0,0,.45);
  aspect-ratio: 2 / 3; transition: border-color .18s ease;
}
.eg-game-card:hover { border-color: #F6D97A; }
.eg-game-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eg-game-likes {
  display: flex; align-items: center; gap: 7px; padding-left: 2px;
  font-size: 13px; color: #B9AA8D; font-variant-numeric: tabular-nums;
}
.eg-more-wrap { display: flex; justify-content: center; margin-top: clamp(24px, 3vw, 38px); }

/* Content */
.eg-prose-section { padding: 0 clamp(14px, 3vw, 36px); }
.eg-prose-section--solo { padding-top: clamp(28px, 4vw, 48px); }
.eg-article {
  max-width: 900px; margin: 0 auto;
  background: rgba(10,7,4,.72); border: 1px solid rgba(227,176,75,.3);
  border-radius: 6px; padding: clamp(22px, 4vw, 56px);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.eg-solo-title {
  font-family: Cinzel, serif; font-size: clamp(22px, 2.8vw, 34px);
  color: #F6D97A; margin: 0 0 18px; letter-spacing: .04em;
}
.eg-content { font-size: 16px; line-height: 1.75; color: #D5C7AA; }
.eg-content h1, .eg-content h2 {
  font-family: Cinzel, serif; color: #F6D97A; letter-spacing: .04em;
  margin: 0 0 12px;
}
.eg-content h2 { font-size: clamp(22px, 2.8vw, 34px); }
.eg-content h3 {
  font-family: Cinzel, serif; font-size: clamp(17px, 1.8vw, 21px);
  color: #E7B94F; margin: 32px 0 12px; letter-spacing: .06em;
}
.eg-content p { margin: 0 0 20px; }
.eg-content ul, .eg-content ol {
  margin: 0 0 22px; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.eg-content li { font-size: 15.5px; line-height: 1.65; color: #D5C7AA; }
.eg-content a { color: #E7B94F; }
.eg-content blockquote {
  margin: 30px 0; padding: 22px 26px; border-left: 3px solid #E3B04B;
  background: linear-gradient(90deg, rgba(227,176,75,.1), transparent);
  font-family: Cinzel, serif; font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.6; color: #F0DFB4; font-style: normal;
}
.eg-content table {
  width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 8px;
}
.eg-content table th {
  text-align: left; padding: 13px 16px;
  font-family: Cinzel, serif; font-size: 12.5px; letter-spacing: .14em;
  text-transform: uppercase; color: #F6D97A;
  border-bottom: 1px solid rgba(227,176,75,.4);
  background: rgba(227,176,75,.14);
}
.eg-content table td {
  padding: 12px 16px; color: #D5C7AA;
  border-bottom: 1px solid rgba(227,176,75,.16);
}
.eg-content-cta { margin-top: 28px; display: flex; justify-content: center; }

/* FAQ accordion (CMS light blocks → Egypt cards) */
.eg-faq {
  display: flex; flex-direction: column; gap: 10px; margin: 14px 0 0;
}
.eg-faq-item {
  border: 1px solid rgba(227,176,75,.28); border-radius: 4px;
  background: rgba(227,176,75,.05); overflow: hidden;
}
.eg-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; text-align: left; padding: 16px 18px; min-height: 52px;
  background: transparent; border: 0; cursor: pointer;
  font-family: Cinzel, serif; font-size: 15px; color: #F0DFB4;
}
.eg-faq-q:hover { background: rgba(227,176,75,.08); }
.eg-faq-sign { color: #E3B04B; font-size: 19px; flex: 0 0 auto; }
.eg-faq-a { padding: 0 18px 18px; font-size: 15px; line-height: 1.7; color: #C8BA9D; }
.eg-faq-a[hidden] { display: none !important; }

@media (max-width: 768px) {
  table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

/* Winners */
#winners { padding: 0 0 clamp(36px, 5vw, 72px); }
.eg-winners-scroller {
  display: flex; gap: 16px; overflow-x: auto;
  padding: 4px clamp(14px, 3vw, 36px) 18px;
  scroll-snap-type: x mandatory;
}
.eg-win {
  flex: 0 0 200px; scroll-snap-align: start;
  background: rgba(10,7,4,.78); border: 1px solid rgba(227,176,75,.34);
  border-radius: 5px; padding: 12px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .18s ease;
}
.eg-win:hover { border-color: #E3B04B; }
.eg-win-frame {
  border: 2px solid #C9922C; border-radius: 3px; overflow: hidden;
  aspect-ratio: 2 / 3; background: #120c06;
}
.eg-win-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eg-win-meta { display: flex; flex-direction: column; gap: 3px; }
.eg-win-nick { font-family: Cinzel, serif; font-size: 14px; color: #F0DFB4; }
.eg-win-amt {
  font-size: 17px; font-weight: 600; color: #9FD9A8;
  font-variant-numeric: tabular-nums;
}

/* Footer */
.eg-footer {
  border-top: 1px solid rgba(227,176,75,.3);
  background: linear-gradient(180deg, rgba(8,6,4,.75), rgba(8,6,4,.96));
  padding: clamp(28px, 4vw, 52px) clamp(14px, 3vw, 36px) 32px;
}
.eg-footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.eg-nav-slot--footer .eg-footer-nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 11px clamp(18px, 4vw, 44px);
  font-family: Cinzel, serif; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase;
}
.eg-footer-link { color: #EADFC6; }
.eg-footer-link:hover { color: #F6D97A; }
.eg-footer-rule {
  width: 100%; max-width: 760px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227,176,75,.45), transparent);
}
.eg-pay-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(18px, 3vw, 34px);
}
.eg-pay { width: 64px; height: 26px; flex: 0 0 auto; }
.eg-footer-art-wrap {
  width: 190px; height: 82px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.eg-footer-art {
  width: 100% !important; height: 100% !important;
  max-width: 190px !important; max-height: 82px !important;
  object-fit: contain !important; display: block; margin: 0;
}
.eg-rg {
  margin: 0; text-align: center; font-size: 12.5px; line-height: 1.7;
  color: #8C7F69; max-width: 720px;
}

@media (prefers-reduced-motion: reduce) {
  .eg-prov-track { animation: none !important; }
}

@media (max-width: 1100px) and (min-width: 861px) {
  .eg-games-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .eg-nav-slot--desktop { display: none !important; }
  .eg-burger { display: flex; }
  .eg-header-row { justify-content: center; gap: 12px; text-align: center; }
  .eg-brand { width: 140px; height: 60px; flex: 0 0 140px; }
  .eg-footer-art-wrap { width: 140px; height: 60px; }
  .eg-footer-art { max-width: 140px !important; max-height: 60px !important; }
  .eg-hero {
    display: block; min-height: 0;
  }
  .eg-hero-media {
    position: relative; height: 230px;
    background-image: var(--eg-hero) !important;
    background-size: auto 100%; background-position: 100% center;
  }
  .eg-hero-inner {
    max-width: 100%; padding: 24px 18px 28px; text-align: center;
    background: rgba(8,6,4,.78);
  }
  .eg-btn--claim { width: 100%; }
  .eg-games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .eg-prov { width: 92px; height: 28px; margin: 0 14px; }
  .eg-win { flex: 0 0 148px; }
}

@media (max-width: 520px) {
  .eg-brand { width: 116px; height: 50px; flex: 0 0 116px; }
  .eg-footer-art-wrap { width: 116px; height: 50px; }
  .eg-footer-art { max-width: 116px !important; max-height: 50px !important; }
  .eg-btn--ghost, .eg-btn--gold { padding: 10px 14px; font-size: 11px; }
  .eg-games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
