/* ORACA Games website: studio home, game page and privacy policy. Plain static files (no build step). */
@font-face { font-family: Fraunces; font-weight: 900; font-display: swap; src: url('fonts/Fraunces_900Black.ttf'); }
@font-face { font-family: Nunito; font-weight: 800; font-display: swap; src: url('fonts/Nunito_800ExtraBold.ttf'); }
@font-face { font-family: Nunito; font-weight: 600; font-display: swap; src: url('fonts/Nunito_600SemiBold.ttf'); }
@font-face { font-family: Rubik; font-weight: 500; font-display: swap; src: url('fonts/Rubik_500Medium.ttf'); }
@font-face { font-family: Rubik; font-weight: 700; font-display: swap; src: url('fonts/Rubik_700Bold.ttf'); }

:root {
  --night: #05031A;
  --night-2: #120B33;
  --neon: #9B6BFF;
  --cyan: #4FD8FF;
  --cream: #FBF6EE;
  --paper: #F3EADC;
  --ink: #3A2C22;
  --muted: #7D6B5A;
  --accent: #C8692F;
  --gold: #F2B43A;
  --line: #E2D5C2;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Nunito, system-ui, sans-serif; font-weight: 600; color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 10; background: rgba(5, 3, 26, 0.82); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(155, 107, 255, 0.2); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: 0.12em; font-size: 15px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.bar nav { display: flex; gap: 22px; }
.bar nav a { color: rgba(255, 255, 255, 0.78); text-decoration: none; font-weight: 800; font-size: 14px; white-space: nowrap; }
.bar nav a:hover { color: #fff; }

/* hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 70% 30%, rgba(155, 107, 255, 0.35), transparent 55%), radial-gradient(ellipse at 15% 80%, rgba(79, 216, 255, 0.18), transparent 50%), linear-gradient(180deg, var(--night), var(--night-2)); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1.5px); background-size: 46px 46px; opacity: 0.18; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px; padding: 90px 0 100px; }
.kicker { font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; font-size: 13px; color: var(--cyan); }
.hero h1 { font-family: Fraunces, Georgia, serif; font-weight: 900; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; margin: 14px 0 18px; }
.hero p { font-size: 19px; color: rgba(255, 255, 255, 0.8); max-width: 520px; margin: 0 0 30px; }
.hero .logo { width: min(420px, 100%); justify-self: center; border-radius: 36px; box-shadow: 0 30px 80px rgba(155, 107, 255, 0.35); }
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; text-decoration: none; padding: 14px 26px; border-radius: 999px; }
.btn.primary { background: linear-gradient(180deg, #F08A45, var(--accent)); color: #fff; border-bottom: 4px solid #8E3D18; }
.btn.ghost { color: #fff; border: 2px solid rgba(255, 255, 255, 0.3); margin-left: 10px; }

/* game section */
.game { padding: 90px 0 40px; }
.game-head { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; }
.game-head img { width: 108px; height: 108px; border-radius: 26px; box-shadow: 0 14px 30px rgba(58, 44, 34, 0.25); }
.game-head h2 { font-family: Fraunces, Georgia, serif; font-weight: 900; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.05; margin: 4px 0 6px; }
.game-head .kicker { color: var(--accent); }
.badge { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: 0.08em; color: #fff; background: #3FA45B; padding: 6px 14px; border-radius: 999px; }
.lead { font-size: 19px; max-width: 760px; color: var(--ink); }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px 0 10px; }
.shots figure { margin: 0; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 28px rgba(58, 44, 34, 0.12); }
.shots figcaption { font-weight: 800; font-size: 14px; padding: 10px 14px; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0 10px; }
.feature { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.feature h3 { margin: 0 0 6px; font-weight: 800; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); }
.feature .n { font-family: Fraunces, Georgia, serif; font-weight: 900; color: var(--accent); font-size: 28px; line-height: 1; margin-bottom: 8px; }

/* about + contact */
.about { padding: 60px 0 80px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h2 { font-family: Fraunces, Georgia, serif; font-weight: 900; font-size: 30px; margin: 0 0 8px; }
.card p { margin: 0 0 10px; }

footer { background: var(--night); color: rgba(255, 255, 255, 0.7); padding: 34px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: #fff; }

/* policy pages */
.doc { padding: 60px 0 90px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-family: Fraunces, Georgia, serif; font-weight: 900; font-size: clamp(34px, 5vw, 50px); line-height: 1.05; margin: 0 0 6px; }
.doc h2 { font-weight: 800; font-size: 22px; margin: 34px 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 26px; }
.doc .summary { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px; }
.doc th, .doc td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-weight: 800; background: var(--paper); }
[dir='rtl'] body, body[dir='rtl'] { font-family: Rubik, system-ui, sans-serif; font-weight: 500; }
[dir='rtl'] .doc h1, [dir='rtl'] .doc h2 { font-family: Rubik, system-ui, sans-serif; font-weight: 700; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 60px 0 70px; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero .logo { width: 260px; grid-row: 1; }
  .btn.ghost { margin-left: 0; margin-top: 10px; }
  .shots, .features, .cards { grid-template-columns: 1fr; }
  .bar nav { gap: 14px; }
  .brand { font-size: 13px; white-space: nowrap; }
  .bar nav a[href='#about'] { display: none; }
  .game-head { flex-direction: column; align-items: flex-start; }
}
