:root { color-scheme: dark; font-family: Noto_Sans_kr, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; background: #000; color: #fff; }
body { margin: 0; }
[hidden] { display: none !important; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; background: #000; }
.brand { width: min(100% - 48px, 1280px); margin: auto; }
.brand-logo { display: block; width: 176px; height: 99px; object-fit: contain; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero { min-height: min(100svh, 1050px); padding: 104px 0 30px; display: flex; align-items: center; justify-content: center; }
.hero-stage { position: relative; width: min(100%, 1600px); height: clamp(430px, 48vw, 760px); }
.hero-video { width: 100%; height: 100%; object-fit: contain; }
.hero-fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg,#000,transparent 16%,transparent 91%,#000); }
.entry-button { position: absolute; z-index: 1; left: 50%; bottom: 4%; transform: translateX(-50%); display: inline-flex; align-items: center; justify-content: center; gap: 28px; width: 244px; min-height: 64px; padding: 14px 28px; color: #fff; border: 2px solid #fff; border-radius: 14px; background: linear-gradient(0deg,#d62812cc,#250704aa); box-shadow: 0 0 5px 3px #f53420e6; font-size: 23px; font-weight: 600; text-decoration: none; transition: background .2s, box-shadow .2s; }
.entry-button:hover { background: linear-gradient(0deg,#bd2515,#490d07); box-shadow: 0 0 12px 4px #ff3d27; }
.entry-button svg, #modal-close svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.item { min-width: 0; }
.item > div { position: relative; z-index: 1; padding: 24px 12px; }
.item button { cursor: pointer; min-height: 42px; }
.pragmaticplay-and-evolution .logo { flex-wrap: wrap; }
.pragmaticplay-and-evolution .logo > span { max-width: 42%; }
.pragmaticplay-and-evolution .logo > span:nth-child(2) { max-width: 7%; }

#details-dialog { width: min(1200px, calc(100vw - 32px)); max-height: calc(100svh - 40px); margin: auto; padding: 0; border: 1px solid #703737; border-radius: 14px; background: #100505; color: #fff; overflow: auto; overscroll-behavior: contain; }
#details-dialog::backdrop { background: #000c; backdrop-filter: blur(4px); }
.dialog-heading { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 12px 22px; background: #241010f5; border-bottom: 1px solid #4e2626; }
.dialog-heading h2 { font-size: 18px; font-weight: 700; }
#modal-close { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; color: #fff; background: #582121; cursor: pointer; }
.modal-container video { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; background: #000; }
.modal-container [class*="-content"], .modal-container .games-sub { height: auto; overflow: visible; }
.modal-container .splide__list { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 20px; }
.modal-container .splide__slide { width: auto; max-width: none; }
.modal-container .splide__slide img { max-width: 100%; }
body:has(dialog[open]) { overflow: hidden; }

@media (max-width: 767px) {
  .brand { width: calc(100% - 32px); }
  .brand-logo { width: 130px; height: 74px; }
  .hero { min-height: 620px; padding: 78px 0 30px; }
  .hero-stage { height: 490px; overflow: hidden; }
  .hero-video { object-fit: cover; }
  .entry-button { width: min(244px, calc(100% - 60px)); min-height: 60px; bottom: 4%; font-size: 22px; }
  .pragmaticplay-and-evolution .container { padding-top: 64px; padding-bottom: 64px; }
  .pragmaticplay-and-evolution h2 { font-size: clamp(25px, 6vw, 38px); line-height: 1.35; }
  .pragmaticplay-and-evolution .pne-img { flex-wrap: wrap; gap: 24px; }
  .pragmaticplay-and-evolution .pne-img span { width: 100%; }
  #details-dialog { width: calc(100vw - 20px); max-height: calc(100svh - 20px); }
  .modal-container .splide__list { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ONE branding and its horizontal video composition. */
.brand-logo { width: 144px; height: 81px; }
.hero-caption { position: absolute; left: 24px; right: 24px; bottom: calc(4% + 88px); margin: 0; text-align: center; color: #fff; font-size: clamp(25px, 3vw, 36px); font-weight: 700; line-height: 1.35; }
@media (max-width:767px) {
 .brand-logo { width: 120px; height: 68px; }
 .hero-video { object-fit: contain; transform: translateY(-50px) scale(1.6); }
 .hero-stage { height: 430px; }
 .hero-caption { bottom: calc(4% + 84px); font-size: 26px; }
}
