@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap');
:root{--bg:#08060f;--gold:#edc45e;--gold2:#fff0bd;--green:#16a653;--text:#fff9eb;--muted:#b8afc1}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 22% 8%,#301229 0,transparent 31%),radial-gradient(circle at 83% 17%,#261243 0,transparent 35%),var(--bg);color:var(--text);font-family:"Cairo",Tahoma,sans-serif}a{color:inherit;text-decoration:none}
.site-header{position:sticky;top:0;z-index:20;width:min(1240px,calc(100% - 40px));height:78px;margin:18px auto 0;padding:0 22px;display:flex;align-items:center;gap:36px;border:1px solid #39244e;border-radius:22px;background:rgba(9,6,16,.87);backdrop-filter:blur(18px);box-shadow:0 14px 35px #0006}.brand{display:flex;align-items:center;gap:12px}.brand img{width:48px;height:48px;border-radius:50%;border:1px solid #9165ad}.brand strong{font-size:22px;color:var(--gold)}.site-header nav{display:flex;gap:35px;margin-inline:auto}.site-header nav a{color:#ddd5e2;font-weight:700}.site-header nav a:hover{color:var(--gold)}.header-actions,.hero-actions{display:flex;gap:12px}.button{min-height:44px;padding:8px 20px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--gold);border-radius:12px;font-weight:800}.button-green{background:linear-gradient(#23c768,#0a8240);color:#fff;box-shadow:inset 0 0 0 1px #8bf3b2,0 5px 0 #07582b}.button-outline{background:#120d1d;color:var(--gold)}.menu-button{display:none}
main{overflow:hidden}.hero{width:min(1280px,100%);min-height:500px;margin:auto;display:grid;grid-template-columns:52% 48%;align-items:center;border-bottom:1px solid #5c3f79}.hero-art{position:relative;height:500px;display:grid;place-items:center}.hero-art::before{content:"";position:absolute;width:470px;height:470px;border-radius:50%;background:radial-gradient(circle,#d87820 0 3%,#70254e 28%,#6d209373 48%,transparent 70%)}.hero-art::after{content:"";position:absolute;inset:8% 5%;background:url("assets/brand-hat.jpg") center/cover;opacity:.2;mix-blend-mode:screen;mask-image:radial-gradient(circle,#000 25%,transparent 70%)}.hero-art img{position:relative;z-index:2;width:min(520px,90%);height:500px;object-fit:cover;object-position:center 25%;filter:drop-shadow(0 22px 35px #000)}.magic-ring{position:absolute;z-index:1;width:390px;height:390px;border:2px solid #ecbb5466;border-radius:50%;box-shadow:0 0 45px #812da3,inset 0 0 45px #812da3}.hero-copy{padding:30px 34px}.eyebrow{display:inline-block;padding:7px 14px;border:1px solid #6e497d;border-radius:999px;background:#1a1025;color:#d6c7de;font-size:13px}.hero h1{margin:20px 0 12px;font-size:70px;line-height:1.12;letter-spacing:-3px}.hero h1 em{font-style:normal;background:linear-gradient(#fff7d7,#d99e31);-webkit-background-clip:text;color:transparent}.hero-copy>p{max-width:620px;color:var(--muted);font-size:17px;line-height:1.9}.hero-actions{margin-top:27px}.button-large{min-width:230px;min-height:70px;display:grid}.button-large span{font-size:20px}.button-large b{font-size:10px;font-weight:600;opacity:.72}.cross-play{display:block;margin-top:17px;color:#a79bb1}
.games-section{padding:45px max(20px,calc((100% - 1240px)/2)) 38px;background:linear-gradient(180deg,#34164f8c,#0e0818a6)}.section-heading{text-align:center;margin-bottom:27px}.section-heading span{color:#a887bb}.section-heading h2{margin:4px 0;font-size:32px;color:var(--gold2)}.games-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.game-card{min-height:220px;display:grid;grid-template-columns:47% 1fr;border:1px solid #74518e;border-radius:17px;overflow:hidden;background:linear-gradient(145deg,#1a0f28,#0b0811);box-shadow:0 12px 28px #0006}.game-card img{width:100%;height:100%;object-fit:cover}.game-card div{padding:25px 18px;display:flex;flex-direction:column;justify-content:center}.game-card h3{margin:0;color:var(--gold);font-size:27px}.game-card p{margin:7px 0 15px;color:#bdb3c5;font-size:12px}.game-card a{width:max-content;padding:8px 14px;border:1px solid #87629d;border-radius:999px;color:#f4d77e;font-size:12px}
.social-strip{width:min(1240px,calc(100% - 40px));margin:22px auto 50px;padding:24px;display:grid;grid-template-columns:repeat(3,1fr) 1.35fr;border:1px solid #54396d;border-radius:18px;background:linear-gradient(90deg,#160e25,#0c0913)}.social-strip>div{padding:15px 20px;border-inline-start:1px solid #31233e}.social-strip span{float:right;width:44px;height:44px;margin-left:12px;display:grid;place-items:center;border:1px solid #7b58a0;border-radius:50%;color:var(--gold)}.social-strip h3,.social-strip p{margin:0}.social-strip h3{font-size:15px;color:#f2d987}.social-strip p{font-size:10px;color:#9e93a6}.social-strip aside{padding:6px 20px}.social-strip aside h2{margin:0;color:var(--gold)}.social-strip aside p{margin:4px 0 10px;color:#aaa0b2;font-size:11px}.social-strip aside a{color:#f0d272;border-bottom:1px solid #f0d272}
footer{min-height:100px;padding:25px max(20px,calc((100% - 1240px)/2));display:flex;align-items:center;gap:30px;border-top:1px solid #2d203a;background:#07050c;color:#9e93a6}footer .brand{margin-left:auto}footer .brand img{width:36px;height:36px}footer div:last-child{display:flex;gap:18px}footer a:hover{color:var(--gold)}
@media(max-width:900px){.site-header{width:calc(100% - 20px);height:66px;margin-top:10px;padding:0 12px}.site-header nav,.header-actions{display:none}.site-header.open{height:auto;padding-block:12px;flex-wrap:wrap}.site-header.open nav,.site-header.open .header-actions{width:100%;display:flex;justify-content:center}.site-header.open nav{order:3;gap:14px}.menu-button{display:block;margin-right:auto;border:0;background:transparent;color:#fff;font-size:24px}.brand strong{font-size:17px}.brand img{width:40px;height:40px}.hero{grid-template-columns:1fr;padding-top:15px}.hero-art{height:330px}.hero-art img{height:340px}.hero-art::before{width:320px;height:320px}.magic-ring{width:260px;height:260px}.hero-copy{padding:0 20px 40px;text-align:center}.hero h1{font-size:44px;letter-spacing:-1px}.hero-copy>p{font-size:14px}.hero-actions{justify-content:center}.button-large{min-width:0;flex:1}.games-grid{grid-template-columns:1fr}.game-card{min-height:190px}.social-strip{grid-template-columns:1fr 1fr}.social-strip aside{grid-column:1/-1;margin-top:12px;text-align:center}.social-strip>div{border-bottom:1px solid #30243b}footer{flex-wrap:wrap;justify-content:center;text-align:center}footer .brand{margin:0}}
@media(max-width:560px){.site-header.open nav{flex-wrap:wrap}.hero-actions{flex-direction:column}.button-large{width:100%}.hero h1{font-size:38px}.games-section{padding-inline:14px}.game-card{grid-template-columns:42% 1fr}.social-strip{width:calc(100% - 20px);grid-template-columns:1fr}.social-strip aside{grid-column:auto}.section-heading h2{font-size:25px}footer div:last-child{width:100%;justify-content:center}}

/* Layout fidelity overrides for the selected desktop concept. */
@media(min-width:901px){
  .hero-art{grid-column:2;grid-row:1}
  .hero-copy{grid-column:1;grid-row:1}
  .game-card:nth-child(3){order:1}
  .game-card:nth-child(2){order:2}
  .game-card:nth-child(1){order:3}
}
@media(max-width:900px){
  .hero-art{grid-column:1;grid-row:1}
  .hero-copy{grid-column:1;grid-row:2}
  .menu-button{font-size:0}
  .menu-button::after{content:"القائمة";font-family:inherit;font-size:13px;font-weight:800}
  .social-strip>div>span{display:none}
}
