@import url('https://fonts.googleapis.com/css2?family=Lalezar&family=Tajawal:wght@400;500;700;800;900&family=Lilita+One&display=swap');

:root {
    --ink: #1E130A;
    --wood-900: #24160B;
    --wood-800: #3A2413;
    --wood-700: #56361D;
    --wood-600: #6E4526;
    --parch-100: #FBF3E6;
    --parch-200: #F1E3CC;
    --parch-300: #E3CFB2;
    --parch-400: #D5BD9C;
    --gold: #FFC934;
    --gold-dark: #E09A00;
    --grass: #6CBF2E;
    --ruby: #E0452F;
    --text: #1E130A;
    --text-soft: #6B5540;
    --radius: 20px;
    --display: 'Lalezar', 'Tajawal', system-ui, sans-serif;
    --body: 'Tajawal', system-ui, sans-serif;
}
html[lang="en"] { --display: 'Lilita One', 'Tajawal', system-ui, sans-serif; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--text); background: var(--wood-800); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ---------- typography ---------- */
h1, h2, h3, .display { font-family: var(--display); font-weight: 400; line-height: 1.2; letter-spacing: 0; }
.outlined {
    color: #fff;
    text-shadow: 0 4px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 -3px 0 var(--ink), 2px 2px 0 var(--ink), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink);
}
.eyebrow { display: inline-block; font-weight: 900; font-size: 13px; letter-spacing: .02em; background: var(--gold); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 12px; box-shadow: 0 2px 0 var(--ink); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: 900 16px/1 var(--body); text-decoration: none; cursor: pointer;
    padding: 14px 22px; border-radius: 14px; border: 3px solid var(--ink);
    box-shadow: 0 4px 0 var(--ink); transition: transform .08s, box-shadow .08s, filter .15s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--ink); filter: brightness(1.05); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn-gold { background: linear-gradient(180deg, #FFD95A 0%, #FFC934 55%, #F0AE0C 100%); color: var(--ink); box-shadow: 0 4px 0 var(--ink), inset 0 -4px 0 rgba(0,0,0,.12), inset 0 2px 0 rgba(255,255,255,.55); }
.btn-light { background: var(--parch-100); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: linear-gradient(180deg, #2A190D, #1E130A);
    border-bottom: 4px solid var(--ink);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo-mark {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: linear-gradient(180deg, #FFD95A, #F0AE0C); border: 3px solid var(--ink); box-shadow: 0 3px 0 #000;
    
}
.logo-text { font-family: var(--display); font-size: 24px; line-height: 1; text-shadow: 0 2px 0 #000; }
.logo-text small { display: block; font-family: var(--body); font-size: 11px; font-weight: 700; color: var(--parch-300); text-shadow: none; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { color: var(--parch-200); text-decoration: none; font-weight: 800; padding: 8px 12px; border-radius: 10px; }
.nav-links a:hover { background: rgba(255,201,52,.15); color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-btn { background: transparent; color: #fff; border: 2px solid var(--parch-300); border-radius: 10px; padding: 6px 12px; font: 900 14px var(--body); cursor: pointer; }
.lang-btn:hover { background: rgba(255,255,255,.1); }
.menu-btn { display: none; background: var(--gold); border: 2px solid var(--ink); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; font-size: 20px; }

/* ---------- torn edges between bands ---------- */
.band { position: relative; padding: 88px 0; }
.band-wood {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='%23fff' fill-opacity='.035'%3E%3Cpath d='M22 10l7 14-7 14-7-14zM67 55l7 14-7 14-7-14z'/%3E%3Ccircle cx='67' cy='22' r='3'/%3E%3Ccircle cx='22' cy='67' r='3'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(180deg, #6E4526 0%, #56361D 100%);
    color: #fff;
}
.band-parch {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='%23000' fill-opacity='.04'%3E%3Cpath d='M22 10l7 14-7 14-7-14zM67 55l7 14-7 14-7-14z'/%3E%3Ccircle cx='67' cy='22' r='3'/%3E%3Ccircle cx='22' cy='67' r='3'/%3E%3C/g%3E%3C/svg%3E"),
        #D8C4AD;
}
.band-parch::before, .band-parch::after {
    content: ''; position: absolute; left: 0; right: 0; height: 22px; z-index: 2;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='22' viewBox='0 0 120 22'%3E%3Cpath d='M0 22V9l9 4 10-7 12 6 9-8 11 7 8-5 13 8 10-6 11 5 9-7 10 6 8-4v14z' fill='%23D8C4AD'/%3E%3Cpath d='M0 9l9 4 10-7 12 6 9-8 11 7 8-5 13 8 10-6 11 5 9-7 10 6 8-4' fill='none' stroke='%23B89C78' stroke-width='2'/%3E%3C/svg%3E") repeat-x;
    background-size: 120px 22px;
}
.band-parch::before { top: -21px; }
.band-parch::after { bottom: -21px; transform: scaleY(-1); }

/* ---------- hero ---------- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(ellipse at 70% 10%, rgba(255,201,52,.28), transparent 55%),
        linear-gradient(180deg, #3A2413 0%, #24160B 100%);
    padding: 70px 0 110px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 62px); margin: 14px 0 12px; }
.hero p.lead { font-size: 19px; color: var(--parch-200); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-art { position: relative; height: 480px; }
.hero-art .card-art {
    position: absolute; border: 4px solid var(--ink); border-radius: 22px; overflow: hidden;
    box-shadow: 0 8px 0 var(--ink), 0 30px 50px rgba(0,0,0,.45); background: #000;
}
.hero-art .a1 { width: 60%; inset-inline-end: 0; top: 0; transform: rotate(3deg); z-index: 2; }
.hero-art .a2 { width: 50%; inset-inline-start: 0; top: 70px; transform: rotate(-5deg); z-index: 1; }
.hero-art .a3 { width: 34%; inset-inline-start: 34%; bottom: -10px; transform: rotate(-1deg); z-index: 3; border-radius: 26px; }
.hero-stats { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.stat { background: rgba(0,0,0,.28); border: 2px solid rgba(0,0,0,.45); border-radius: 14px; padding: 10px 16px; min-width: 120px; }
.stat b { display: block; font-family: var(--display); font-size: 28px; line-height: 1.1; color: var(--gold); }
.stat span { font-size: 13px; color: var(--parch-300); font-weight: 700; }
.hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='22' viewBox='0 0 120 22'%3E%3Cpath d='M0 22V9l9 4 10-7 12 6 9-8 11 7 8-5 13 8 10-6 11 5 9-7 10 6 8-4v14z' fill='%236E4526'/%3E%3C/svg%3E") repeat-x;
    background-size: 120px 22px;
}

/* ---------- section heads ---------- */
.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 54px); margin-top: 10px; }
.section-head p { max-width: 640px; margin: 8px auto 0; font-size: 18px; }
.band-wood .section-head p { color: var(--parch-200); }
.band-parch .section-head p { color: var(--text-soft); }

/* ---------- games ---------- */
.game {
    display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
    margin-bottom: 64px;
}
.game:last-child { margin-bottom: 0; }
.game.flip .game-media { order: 2; }
.game-media {
    position: relative; background: var(--parch-100); border: 4px solid var(--ink); border-radius: var(--radius);
    box-shadow: 0 8px 0 var(--ink); padding: 18px; overflow: hidden;
}
.shots { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.shots img { flex: 0 0 auto; height: 460px; width: auto; aspect-ratio: 9 / 19.5; object-fit: cover; border-radius: 14px; border: 3px solid var(--ink); scroll-snap-align: start; background: #000; }
.shots.najla img { aspect-ratio: 9 / 16; }
.shots-nav { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.shots-nav button { width: 38px; height: 38px; border-radius: 10px; border: 2px solid var(--ink); background: var(--gold); font: 900 18px var(--body); cursor: pointer; box-shadow: 0 2px 0 var(--ink); }
.game-info .icon { width: 96px; height: 96px; border-radius: 24px; border: 4px solid var(--ink); box-shadow: 0 5px 0 var(--ink); margin-bottom: 16px; }
.game-info h3 { font-size: clamp(34px, 4vw, 48px); }
.game-info .tag { display: inline-flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 14px; }
.game-info .tag span { background: rgba(0,0,0,.25); border: 2px solid rgba(0,0,0,.4); padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.game-info p { font-size: 17px; color: var(--parch-200); }
.game-info ul { list-style: none; margin: 14px 0 22px; display: grid; gap: 8px; }
.game-info li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.game-info li::before { content: '⚔'; color: var(--gold); flex-shrink: 0; }
.rating { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border-radius: 12px; padding: 6px 12px; font-weight: 900; margin-bottom: 16px; }
.rating .stars { color: var(--gold); letter-spacing: 2px; }
.stores { display: flex; gap: 10px; flex-wrap: wrap; }

.soon {
    display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
    background: var(--parch-100); color: var(--ink); border: 4px solid var(--ink); border-radius: var(--radius);
    box-shadow: 0 8px 0 var(--ink); padding: 26px; margin-top: 64px;
}
.soon-art {
    width: 120px; height: 120px; border-radius: 28px; border: 4px solid var(--ink); box-shadow: 0 5px 0 var(--ink);
    background: linear-gradient(160deg, #F7D89A 0%, #E0A44A 60%, #B8762A 100%); display: grid; place-items: center;
}
.soon-art svg { width: 84px; height: 84px; }
.soon h3 { font-size: 34px; }
.soon p { color: var(--text-soft); font-size: 17px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.panel { background: var(--parch-100); border: 4px solid var(--ink); border-radius: var(--radius); box-shadow: 0 8px 0 var(--ink); padding: 28px; }
.panel h3 { font-size: 30px; margin-bottom: 8px; }
.panel p { font-size: 17px; color: var(--text-soft); margin-bottom: 10px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.value { background: var(--parch-200); border: 2px solid var(--parch-400); border-radius: 14px; padding: 14px; }
.value b { display: block; font-size: 16px; }
.value span { font-size: 14px; color: var(--text-soft); }
.timeline { list-style: none; position: relative; padding-inline-start: 28px; }
.timeline::before { content: ''; position: absolute; inset-inline-start: 9px; top: 6px; bottom: 6px; width: 4px; background: var(--parch-400); border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 22px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
    content: ''; position: absolute; inset-inline-start: -26px; top: 6px; width: 18px; height: 18px; border-radius: 50%;
    background: var(--gold); border: 3px solid var(--ink);
}
.timeline li.next::before { background: var(--parch-100); }
.timeline .yr { font-family: var(--display); font-size: 22px; line-height: 1.2; }
.timeline .ev { font-weight: 700; }
.timeline .ev span { display: block; font-weight: 500; color: var(--text-soft); font-size: 15px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: var(--parch-100); color: var(--ink); border: 4px solid var(--ink); border-radius: var(--radius); box-shadow: 0 8px 0 var(--ink); padding: 26px; display: flex; flex-direction: column; }
.contact-card .ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; border: 3px solid var(--ink); background: var(--gold); box-shadow: 0 3px 0 var(--ink); margin-bottom: 14px; }
.contact-card h3 { font-size: 26px; }
.contact-card p { color: var(--text-soft); margin: 6px 0 18px; flex: 1; }
.contact-card .btn { align-self: flex-start; }

/* ---------- footer ---------- */
.site-footer { background: #120A04; color: var(--parch-300); padding: 46px 0 28px; border-top: 4px solid var(--ink); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
.site-footer h4 { color: #fff; font-family: var(--display); font-weight: 400; font-size: 20px; margin-bottom: 8px; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.site-footer a { color: var(--parch-200); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.legal-line { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- legal pages ---------- */
.doc { color: var(--ink); background: var(--parch-100); border: 4px solid var(--ink); border-radius: var(--radius); box-shadow: 0 8px 0 var(--ink); padding: clamp(22px, 4vw, 44px); }
.doc h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 4px; }
.doc .updated { color: var(--text-soft); font-size: 14px; margin-bottom: 22px; }
.doc h2 { font-size: 24px; margin: 26px 0 6px; }
.doc p, .doc li { font-size: 16px; color: #3B2A1A; }
.doc ul { padding-inline-start: 22px; margin: 6px 0; }

/* ---------- language visibility ---------- */
html[lang="ar"] [data-en-only], html[lang="en"] [data-ar-only] { display: none !important; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
    .hero-grid, .game, .about-grid { grid-template-columns: 1fr; }
    .game.flip .game-media { order: 0; }
    .hero-art { height: 380px; max-width: 520px; width: 100%; margin-inline: auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .nav-links { display: none; position: absolute; top: 68px; inset-inline: 0; flex-direction: column; align-items: stretch; background: #1E130A; padding: 12px 16px 16px; border-bottom: 4px solid var(--ink); }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px; }
    .menu-btn { display: block; }
    .band { padding: 64px 0; }
    .hero { padding: 40px 0 90px; }
    .hero-art { height: auto; margin-top: 10px; }
    .hero-art .a2, .hero-art .a3 { display: none; }
    .hero-art .a1 { position: relative; width: 72%; margin-inline: auto; transform: rotate(2deg); inset: auto; }
    .hero-art .a1 img { max-height: 380px; width: 100%; object-fit: cover; object-position: top; }
    .soon { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .values { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .shots img { height: 380px; }
    .logo-text small { display: none; }
}

/* utility pages */
.back-link { text-decoration: none; }
.doc-page { padding-top: 56px; }
.legal-line-plain { border: 0; margin: 0; padding: 0; }
.page-404 { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.page-404 .lead { margin: 10px auto 24px; }
.contact-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
@media (max-width: 960px) { .contact-grid.two { grid-template-columns: 1fr; } }
