@font-face { font-family: Lalezar; src: url(Lalezar.ttf) format('truetype'); font-display: swap; }
@font-face { font-family: Readex; src: url(ReadexPro.ttf) format('truetype'); font-weight: 200 700; font-display: swap; }

:root {
  --night: #1A120E; --walnut: #3E2A20; --walnut2: #2C1E17; --brass: #E5A13A; --brass-l: #F3C774;
  --patina: #3B6A63; --rose: #B82A4B; --ivory: #F7E8D1; --mint: #7FBF8E; --muted: #C9B59B;
  --gulf: #0F3B3A; --sand: #E8D3A9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ivory); font-family: Readex, Tahoma, sans-serif; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--brass-l); text-decoration: none; }
h1, h2, h3 { font-family: Lalezar, Readex, sans-serif; font-weight: 400; margin: 0; line-height: 1.3; }
h2 { font-size: clamp(30px, 5vw, 48px); color: var(--brass-l); text-align: center; margin-bottom: 36px; }
section { padding: 80px 16px; max-width: 1180px; margin: 0 auto; }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: url(img/keyart.webp) center 30% / cover no-repeat; transform: scale(1.06); animation: drift 24s ease-in-out infinite alternate; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse at 50% 55%, rgba(26,18,14,.55) 0%, rgba(26,18,14,.82) 55%, var(--night) 100%),
  linear-gradient(to bottom, rgba(26,18,14,.2), var(--night) 96%); }
.glow { position: absolute; z-index: -1; width: 60vmax; height: 60vmax; left: 50%; top: 42%; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(229,161,58,.28), transparent 62%); animation: flicker 5s ease-in-out infinite; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(16px, 4vw, 48px); }
.brand { display: flex; align-items: center; gap: 10px; font-family: Lalezar; font-size: 24px; color: var(--ivory); }
.links { display: flex; gap: 22px; font-size: 15px; }
.links a { color: var(--ivory); opacity: .85; } .links a:hover { color: var(--brass-l); opacity: 1; }
.hero-in { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 16px 90px; }
.logo { position: relative; width: 190px; height: 230px; margin-bottom: 4px; }
.logo .glass { position: absolute; inset: 0 auto auto 12px; width: 165px; animation: rise 1s cubic-bezier(.2,.9,.3,1.2) both; filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)); }
.logo .die { position: absolute; left: -26px; bottom: 6px; width: 92px; animation: roll 1.3s .5s cubic-bezier(.3,1.4,.5,1) both, bob 4s 2s ease-in-out infinite; filter: drop-shadow(0 10px 14px rgba(0,0,0,.55)); }
h1 img { width: min(520px, 86vw); height: auto; margin: 0 auto; animation: rise 1s .25s both; filter: drop-shadow(0 6px 20px rgba(0,0,0,.6)); }
.tag { font-family: Lalezar; font-size: clamp(26px, 4.6vw, 40px); color: var(--brass-l); margin: 8px 0 0; animation: rise 1s .45s both; }
.sub { max-width: 640px; color: var(--muted); font-size: clamp(15px, 2.2vw, 18px); margin: 10px 0 28px; animation: rise 1s .6s both; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; animation: rise 1s .75s both; }
.btn { font-family: Lalezar; font-size: 21px; padding: 12px 30px 10px; border-radius: 16px; display: inline-block; transition: transform .2s, box-shadow .2s; }
.btn.primary { color: var(--night); background: linear-gradient(180deg, var(--brass-l), var(--brass) 55%, #B9761F); box-shadow: 0 4px 0 #8A5414, 0 12px 30px rgba(229,161,58,.35), inset 0 1px 0 rgba(255,255,255,.5); border: 1px solid #FFE2A3; cursor: default; }
.btn.ghost { color: var(--ivory); border: 2px solid rgba(229,161,58,.65); background: rgba(62,42,32,.55); backdrop-filter: blur(4px); }
.btn.ghost:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.4); }
.steam { position: absolute; bottom: 0; left: 0; right: 0; height: 120px; pointer-events: none; }
.steam i { position: absolute; bottom: -30px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(247,232,209,.10), transparent 70%); animation: steam 9s linear infinite; }
.steam i:nth-child(1) { left: 18%; } .steam i:nth-child(2) { left: 48%; animation-delay: 3s; } .steam i:nth-child(3) { left: 76%; animation-delay: 6s; }

/* cafés */
.cafe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 26px; }
.cafe { position: relative; display: flex; gap: 18px; padding: 26px 24px; border-radius: 26px; overflow: hidden; border: 1px solid rgba(229,161,58,.35);
  box-shadow: 0 20px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06); transition: transform .35s; }
.cafe:hover { transform: translateY(-4px); }
.cafe.eg { background: linear-gradient(160deg, #4A3226, var(--walnut2) 70%); }
.cafe.gulf { background: linear-gradient(160deg, #18504D, #0C2A29 70%); border-color: rgba(232,211,169,.4); }
.cafe::before { content: ''; position: absolute; inset: 0; opacity: .07; background-image: radial-gradient(circle at 10px 10px, var(--ivory) 2px, transparent 2.5px); background-size: 22px 22px; pointer-events: none; }
.cafe-art { flex: 0 0 auto; align-self: flex-end; width: 130px; }
.cafe-art img { width: 100%; height: auto; filter: drop-shadow(0 12px 18px rgba(0,0,0,.5)); }
.cafe-text { flex: 1; min-width: 0; }
.cafe h3 { font-size: 34px; color: var(--brass-l); }
.cafe.gulf h3 { color: var(--sand); }
.cafe p { margin: 0 0 14px; color: var(--muted); }
.games { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.games li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 8px 14px; border-radius: 12px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.06); }
.games b { font-family: Lalezar; font-weight: 400; font-size: 20px; color: var(--ivory); }
.games span { font-size: 14px; color: var(--muted); }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.feat { position: relative; padding: 22px 22px 18px; border-radius: 20px; background: linear-gradient(180deg, rgba(62,42,32,.9), rgba(44,30,23,.9)); border: 1px solid rgba(229,161,58,.22); }
.feat .num { position: absolute; top: 14px; left: 18px; font-family: Lalezar; font-size: 40px; color: rgba(229,161,58,.22); line-height: 1; }
.feat h3 { font-size: 24px; color: var(--brass-l); margin-bottom: 4px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }
.stickers { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 42px; }
.stickers img { width: clamp(70px, 12vw, 110px); animation: bob 4s ease-in-out infinite; filter: drop-shadow(0 8px 12px rgba(0,0,0,.45)); }
.stickers img:nth-child(2n) { animation-delay: -1.3s; } .stickers img:nth-child(3n) { animation-delay: -2.6s; }

/* screenshots */
.reel { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; scrollbar-width: thin; scrollbar-color: var(--brass) transparent; }
.reel img { flex: 0 0 min(82vw, 720px); height: auto; border-radius: 18px; scroll-snap-align: center; border: 1px solid rgba(229,161,58,.3); box-shadow: 0 16px 36px rgba(0,0,0,.5); }

/* fair play */
.fair { display: flex; gap: 20px; align-items: center; max-width: 820px; padding: 26px 28px; margin: 10px auto 80px; border-radius: 22px; background: rgba(59,106,99,.18); border: 1px solid rgba(127,191,142,.35); }
.fair img { width: 64px; flex: 0 0 auto; }
.fair h3 { font-size: 26px; color: var(--mint); }
.fair p { margin: 0; color: var(--muted); }
.gulf-band { height: 220px; max-width: none; padding: 0; background: linear-gradient(var(--night), transparent 40%, transparent 60%, var(--night)), url(img/gulf.webp) center / cover; opacity: .55; }

footer { border-top: 1px solid rgba(229,161,58,.2); background: #140E0B; padding: 30px 16px; }
.foot-in { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted); }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-in p { margin: 0; }
.foot-brand { display: flex; align-items: center; gap: 8px; font-family: Lalezar; font-size: 20px; color: var(--ivory); }

@keyframes drift { from { transform: scale(1.06) translateX(0); } to { transform: scale(1.12) translateX(-2%); } }
@keyframes flicker { 0%, 100% { opacity: .85; } 40% { opacity: 1; } 55% { opacity: .7; } 70% { opacity: .95; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes roll { from { opacity: 0; transform: translate(-120px, -160px) rotate(-540deg); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes steam { from { transform: translateY(0) scale(.6); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(-110vh) scale(2.4); opacity: 0; } }

@media (max-width: 640px) {
  .links { display: none; }
  section { padding: 60px 16px; }
  .cafe { flex-direction: column-reverse; }
  .cafe-art { align-self: center; width: 110px; }
  .fair { flex-direction: column; text-align: center; margin: 0 16px 60px; }
  .logo { transform: scale(.85); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
