@font-face {
  font-family: Rubik;
  src: url('../fonts/Rubik/Rubik-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Rubik;
  src: url('../fonts/Rubik/Rubik-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Rubik;
  src: url('../fonts/Rubik/Rubik-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Rubik;
  src: url('../fonts/Rubik/Rubik-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #1a2026;
  --surface: #232a31;
  --button: #30373d;
  --gold: #ffb700;
  --text: #fff;
  --muted: rgba(255, 255, 255, .6);
  font-family: Rubik, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
*, *::before, *::after { box-sizing: border-box; }
body { position: relative; isolation: isolate; margin: 0; background: var(--background); color: var(--text); }
body::before { content: ''; position: absolute; top: -100px; left: 50%; z-index: -1; width: min(349px,100%); height: 349px; background: #ff5c00; opacity: .2; filter: blur(115.425px); transform: translateX(-50%); pointer-events: none; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; cursor: pointer; color: inherit; border: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }
.icon { width: 24px; height: 24px; flex: 0 0 24px; --color: currentColor; }
.icon-large { width: 32px; height: 32px; flex-basis: 32px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: -60px; left: 16px; padding: 8px 16px; background: var(--gold); color: #1a2026; z-index: 100; border-radius: 8px; }
.skip-link:focus { top: 8px; }
.site-container { width: 100%; max-width: 1200px; margin-inline: auto; }

/* Header matches the 60 px bar of the reference page. */
.header { height: 60px; }
.header-inner { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.header-logo { flex-shrink: 0; }
.header-logo img { height: 35px; width: auto; }
.auth { display: flex; align-items: center; gap: 12px; }
.button { min-height: 44px; padding: 10px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; background: var(--button); color: #fff; font-size: 1rem; font-weight: 700; white-space: nowrap; }
.button:hover { filter: brightness(1.12); }
.button-primary { color: #232a31; background: var(--gold); }

/* Full original Romanian policy; typography and paragraph spacing are retained. */
.policy { width: 100%; max-width: 800px; margin: 0 auto; padding: 0 16px; color: rgba(255,255,255,.9); }
.policy h1 { margin: 0; color: #fff; font-size: 2.5rem; line-height: 1.5; font-weight: 900; }
.policy h2, .policy h3 { font-size: 1rem; line-height: 1.5; font-weight: 700; padding-bottom: 10px; }
.policy h2 { margin: 16px 0 8px; }
.policy h3 { margin: 13.3333px 0 5.3333px; }
.policy p { margin: 5.3333px 0; padding-bottom: 10px; text-align: justify; }
.policy a { overflow-wrap: anywhere; }
.policy a:hover { color: var(--gold); text-decoration: underline; }

/* Footer: providers, payment methods, useful links, and licensing. */
.footer { margin-top: 16px; padding: 8px 0 36px; }
.footer-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-clock { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px; background: var(--button); border-radius: 8px; font-size: .875rem; font-variant-numeric: tabular-nums; }
.clock-date { color: rgba(255,255,255,.7); }
.footer-actions { display: flex; align-items: center; gap: 16px; }
.footer-actions .button { font-size: .875rem; }
.footer-actions .icon { width: 16px; height: 16px; flex-basis: 16px; }
.language-picker { position: relative; }
.language-menu { position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 10; min-width: 160px; padding: 6px; background: var(--button); border-radius: 8px; box-shadow: 0 8px 20px #0005; }
.language-menu a, .language-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border-radius: 5px; text-align: left; background: transparent; font-size: .875rem; }
.language-menu a:hover, .language-menu button:hover { background: #ffffff12; }
.footer-divider { border: 0; border-top: 1px solid rgba(255,255,255,.08); margin: 32px 0; }
.provider-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 16px; }
.provider { min-height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--button); padding: 4px 16px; }
.provider img { width: 100%; max-width: 115px; height: 44px; object-fit: contain; }
.provider:hover { background: #3c444b; }
.payment-methods { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; }
.payment-methods img { width: auto; max-width: 66px; height: 24px; object-fit: contain; }
.app-links { display: flex; justify-content: center; gap: 8px; }
.app-link { display: flex; align-items: center; gap: 8px; padding: 7px 12px; background: #303741; border-radius: 8px; font-size: .75rem; line-height: 1.2; }
.app-link img { width: 28px; height: 32px; object-fit: contain; }
.app-link strong { display: block; font-size: .875rem; }
.footer-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px 16px; font-size: .875rem; font-weight: 500; line-height: 26px; color: #77cbb6; }
.footer-links a:hover { color: #a0e3d3; text-decoration: underline; }
.footer-copyright { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .75rem; }
.footer-copyright p { margin: 0; }
.license-logos { display: flex; align-items: center; gap: 16px; }
.age-icon { width: 36px; height: 37px; }
.responsible-logo { width: 100px; height: 38px; object-fit: contain; }
.onjn-logo { width: 32px; height: 38px; object-fit: contain; }
.footer-license { margin-top: 24px; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.footer-license p { margin: 0; }
.footer-license a { text-decoration: underline; }
.footer-license .contact { margin-top: 30px; color: rgba(255,255,255,.85); }

.support-dialog { width: calc(100% - 32px); max-width: 440px; padding: 32px; border: 1px solid #ffffff16; border-radius: 16px; background: var(--surface); color: #fff; box-shadow: 0 20px 80px #0008; }
.support-dialog::backdrop { background: #0009; }
.support-dialog h2 { margin: 16px 0 8px; font-size: 1.5rem; }
.support-dialog p { margin: 0 0 20px; color: rgba(255,255,255,.7); }
.support-dialog .button { display: flex; width: 100%; margin-top: 12px; }
.dialog-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; background: transparent; border-radius: 8px; }
.dialog-close:hover { background: #ffffff12; }
.dialog-symbol { color: var(--gold); }
body.dialog-open { overflow: hidden; }

@media (max-width: 1399px) {
  .site-container { padding-inline: 16px; }
}
@media (max-width: 1279px) {
  .site-container { max-width: 900px; }
  .auth .button { padding-inline: 12px; }
  .auth .icon { display: none; }
}
@media (max-width: 1099px) {
  .auth .button { font-size: .875rem; }
}
@media (max-width: 959px) {
  .site-container { max-width: none; padding-inline: 16px; }
  .header-logo img { height: 42px; }
  .header-inner { gap: 8px; }
  .auth .button { min-height: 36px; padding: 8px 12px; font-size: .875rem; }
  .policy h1 { font-size: 1.25rem; font-weight: 400; line-height: 1.5; }
  .provider-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
  .footer-links { font-weight: 400; }
  .footer-divider { margin-block: 24px; }
}
@media (max-width: 599px) {
  .provider-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
  .provider { padding-inline: 10px; min-height: 44px; }
  .provider img { height: 36px; }
  .footer-toolbar { align-items: stretch; flex-direction: column; }
  .footer-clock { align-self: flex-start; }
  .footer-actions { gap: 8px; }
  .footer-actions > .button { flex: 1; }
  .footer-links { grid-template-columns: 1fr; gap: 4px; }
  .footer-copyright { align-items: flex-start; flex-direction: column; }
  .license-logos { align-self: flex-end; }
}
@media (max-width: 359px) {
  .header-inner { padding-inline: 10px; }
  .auth { gap: 6px; }
  .auth .button { padding-inline: 8px; font-size: .8125rem; }
  .policy { padding-inline: 12px; }
  .provider-grid { gap: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .provider { transition: background .15s, filter .15s; }
}
@media print {
  :root { color-scheme: light; }
  body { background: #fff; color: #000; }
  .header, .footer, .skip-link, .support-dialog { display: none; }
  .policy { max-width: none; color: #000; }
  .policy h1 { color: #000; font-size: 24pt; }
  .policy h2, .policy h3 { break-after: avoid; }
  .policy p { orphans: 3; widows: 3; }
}
