/* Egypt Slots Ltd */
:root {
  --bg: #F7F2E8;
  --surface: #FFFFFF;
  --surface-2: #EFE6D4;
  --line: #E0D3BA;
  --fg: #1A1F2E;
  --muted: #565B6E;
  --link: #1F3B73;
  --gold: #C8962E;
  --gold-deep: #9C6F14;
  --on-gold: #1A1408;
  --band: #142447;
  --band-2: #1D3263;
  --band-fg: #F7F2E8;
  --band-muted: #B9C1D8;
  --art-sky: #1D3263;
  --art-sun: #E2B04A;
  --art-lit: #E7C77E;
  --art-shade: #B98D3A;
  --art-sand: #D9BD84;

  --font-head: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1220;
    --surface: #161B2C;
    --surface-2: #121728;
    --line: #283050;
    --fg: #EEE9DD;
    --muted: #A3A9BD;
    --link: #E3B65A;
    --gold: #D7A440;
    --gold-deep: #E3B65A;
    --on-gold: #1A1408;
    --band: #0A0E1A;
    --band-2: #141B30;
    --band-fg: #EEE9DD;
    --band-muted: #A3A9BD;
    --art-sky: #141B30;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  padding: 8px 14px; border-radius: 6px;
  background: var(--gold); color: var(--on-gold); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Header */
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 72px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: .02em;
  color: var(--fg); text-decoration: none;
}
.brand svg { width: 32px; height: 32px; flex: none; }
.mark-lit { fill: var(--gold); }
.mark-shade { fill: var(--gold-deep); }
.nav { display: flex; align-items: center; gap: 4px 22px; flex-wrap: wrap; }
.nav a { color: var(--muted); font-size: .94rem; font-weight: 500; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font: 600 .95rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-line { border-color: rgba(247, 242, 232, .35); color: var(--band-fg); }
.btn-line:hover { border-color: var(--band-fg); }

/* Home hero */
.hero { background: var(--band); color: var(--band-fg); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; padding: 80px 24px; }
.eyebrow {
  margin-bottom: 14px; font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.hero h1, .page-hero h1 {
  font-family: var(--font-head); font-weight: 700; line-height: 1.12;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}
.hero .lede { margin-top: 20px; max-width: 54ch; font-size: 1.08rem; color: var(--band-muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-art { width: 100%; height: auto; border-radius: 20px; }
.art-sky { fill: var(--art-sky); }
.art-sun { fill: var(--art-sun); }
.art-lit { fill: var(--art-lit); }
.art-shade { fill: var(--art-shade); }
.art-sand { fill: var(--art-sand); }
.art-star { fill: var(--band-fg); opacity: .55; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--surface-2); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2, .split h2, .contact h2 {
  font-family: var(--font-head); font-weight: 700; line-height: 1.2;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
}
.section-head h2 + p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.section-head .eyebrow, .split .eyebrow { color: var(--gold-deep); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.split p + p { margin-top: 14px; }
.split .muted { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  padding: 28px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
}
.card-icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
  border-radius: 12px; background: var(--surface-2); color: var(--gold-deep);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); }

.notice {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 28px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold);
}
.notice svg { width: 28px; height: 28px; color: var(--gold-deep); }
.notice h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.notice p { color: var(--muted); }
.notice p + p { margin-top: 8px; }

.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.details div { padding: 22px 24px; background: var(--surface); }
.details dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.details dd { font-weight: 600; word-break: break-word; }

/* Contact band */
.contact { background: var(--band-2); color: var(--band-fg); padding: 72px 0; }
.contact-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.contact p { margin-top: 10px; color: var(--band-muted); max-width: 52ch; }

/* Inner pages */
.page-hero { background: var(--band); color: var(--band-fg); padding: 56px 0 48px; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 2.8rem); }
.page-hero .lede { margin-top: 14px; max-width: 62ch; color: var(--band-muted); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 20px; font-size: .9rem; color: var(--band-muted); }
.meta strong { color: var(--band-fg); font-weight: 600; }

.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding: 56px 24px 88px; }
.toc { position: sticky; top: 24px; align-self: start; }
.toc h2 { margin-bottom: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toc ol { padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 5px 0; font-size: .9rem; line-height: 1.4; color: var(--muted); text-decoration: none; }
.toc a::before { content: counter(toc, decimal-leading-zero); min-width: 1.6em; font-weight: 700; color: var(--gold-deep); }
.toc a:hover { color: var(--fg); }

.doc section { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.doc section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.doc h2 { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; line-height: 1.3; margin-bottom: 14px; }
.doc h3 { font-size: 1rem; font-weight: 700; margin: 20px 0 6px; }
.doc p, .doc ul { max-width: 70ch; margin-bottom: 12px; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--gold); }

.table-scroll { overflow-x: auto; margin: 8px 0 12px; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; background: var(--surface); }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
tr:last-child td { border-bottom: 0; }

.contact-card {
  padding: 24px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold);
}
.contact-card p { margin-bottom: 6px; }
.contact-card .email { font-size: 1.1rem; font-weight: 700; word-break: break-all; }

.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; padding: 56px 24px 88px; }
.support-grid aside { position: sticky; top: 24px; }
.faq h2 { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; margin-bottom: 18px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-weight: 600; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--gold-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); max-width: 66ch; }
.faq details p + p { margin-top: -8px; }

/* Footer */
.foot { background: var(--surface); border-top: 1px solid var(--line); padding: 40px 0; font-size: .9rem; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
.foot .brand { font-size: 1rem; margin-bottom: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--fg); }

@media (max-width: 880px) {
  .hero-in { grid-template-columns: 1fr; padding: 56px 24px; }
  .hero-art { max-width: 460px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .doc-layout, .support-grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px 64px; }
  .toc, .support-grid aside { position: static; }
  .toc { padding: 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .wrap, .hero-in, .doc-layout, .support-grid { padding-left: 16px; padding-right: 16px; }
  .top-in { padding-top: 14px; padding-bottom: 14px; }
  .section { padding: 64px 0; }
  .notice { grid-template-columns: 1fr; gap: 12px; }
  .actions .btn { flex: 1 1 auto; }
}

@media print {
  .top, .toc, .skip-link { display: none; }
  .page-hero { background: none; color: #000; padding: 0 0 16px; }
  .page-hero .lede, .meta { color: #333; }
  .doc-layout { display: block; padding: 0; }
}
