: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,#8800d6cc,#180626aa); box-shadow: 0 0 5px 3px #a100ffe6; font-size: 23px; font-weight: 600; text-decoration: none; transition: background .2s, box-shadow .2s; }
.entry-button:hover { background: linear-gradient(0deg,#7b00af,#32006a); box-shadow: 0 0 12px 4px #a100ff; }
.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%; }
.overview-bg { padding-top: 70px; }
.overview-bg .text-white { height: auto; overflow: visible; }
.overview-bg h2 { line-height: 1.7; }
.overview-bg p { line-height: 1.9; }

#details-dialog { width: min(1200px, calc(100vw - 32px)); max-height: calc(100svh - 40px); margin: auto; padding: 0; border: 1px solid #61357e; border-radius: 14px; background: #110018; 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: #1c0828f5; border-bottom: 1px solid #442456; }
.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: #412151; 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%; }
  .overview-bg { background-position: 28% top; padding-top: 45px; }
  .overview-bg .text-white { background: #0009; padding: 18px; border-radius: 12px; }
  #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; }
}
