/* Start page: the login video under the floating bar (1080p, its bottom edge fading into the city behind every page), the
   text and Jogar Agora, the next events on the video's lower part, then the server's facts. */
.hero { position: relative; margin-top: -80px; display: flex; flex-direction: column; }
.hero-media { position: absolute; inset: 0; overflow: hidden; background: #15120f url('../art/poster.webp') center 30% / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - 220px), transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - 220px), transparent 100%); }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12, 10, 8, .86) 0%, rgba(12, 10, 8, .5) 40%, rgba(12, 10, 8, 0) 74%),
              linear-gradient(0deg, rgba(12, 10, 8, .7) 0%, rgba(12, 10, 8, 0) 42%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-main { position: relative; z-index: 1; display: flex; flex-direction: column; padding-block: 150px 40px; }
.hero h1 { margin: 0; }
.hero-word { display: block; width: min(520px, 86%); height: auto; filter: drop-shadow(0 4px 14px #000d); }
.hero p { margin: 14px 0 28px; color: #e2d6bf; max-width: 46ch; font-size: 19px; text-shadow: 0 1px 3px #000; }
.hero-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.hero-events { position: relative; z-index: 2; padding-bottom: 44px; }
.hero-events h2 { margin: 0 0 10px; font: 700 14px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #efe2c4; text-shadow: 0 1px 2px #000; }
.ev-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .ev-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ev-row { grid-template-columns: minmax(0, 1fr); } }
.ev-card { display: flex; flex-direction: column; min-width: 0; background: #1b1814; border: 1px solid var(--rim); box-shadow: inset 0 0 0 1px #0d0b09, 0 10px 24px #000c; text-decoration: none; color: inherit; transition: transform .15s; }
.ev-card:hover { transform: translateY(-2px); }
.ev-card .art { aspect-ratio: 546 / 180; max-width: 100%; border-bottom: 2px solid var(--ember); }
.ev-card .body { padding: 10px 12px 12px; }
.ev-card h3 { margin: 0; font: 700 17px/1.2 var(--body); color: var(--title); }
.ev-card .when { color: var(--gold-hi); font-weight: 700; font-size: 15px; }
.ev-card .count { color: var(--muted); font-size: 14px; }
.ev-card .count b { color: var(--text); }
/* An event's picture: a banner as the background, or a centred emblem. */
.art { background: #0f0d0b center / cover no-repeat; }
.art-hellsgate { background-image: url('../art/event-hellsgate.webp'); }
.art-arena { background-image: url('../art/event-arena.webp'); }
.art-castle { background-image: url('../art/poster.webp'); }
.art.icon { display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, #3a2412 0%, #120d09 70%); }
.ev-card .art.icon img { height: 74%; width: auto; }

.why h2 { margin: 0 0 24px; text-align: center; font: 700 clamp(28px, 3.2vw, 38px)/1.15 var(--body); color: var(--gold); text-shadow: 0 2px 0 #000; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: linear-gradient(#23201b, #191713); border: 1px solid var(--rim); box-shadow: inset 0 0 0 1px #0d0b09, inset 0 0 0 2px var(--rim-dark), 0 8px 24px #000a; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { padding: 18px 14px 16px; text-align: center; min-width: 0; }
.stat + .stat { border-left: 1px solid var(--rim-dark); }
@media (max-width: 760px) { .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--rim-dark); } }
.stat b { display: block; font: 700 clamp(30px, 3.4vw, 40px)/1 var(--body); color: var(--gold-hi); text-shadow: 0 0 18px rgba(232, 119, 46, .35); }
.stat span { display: block; margin-top: 6px; color: #efe2c4; font-weight: 700; font-size: 15px; }
.stat small { display: block; color: var(--muted); font-size: 13px; }
.pk-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 26px 0 8px; }
@media (max-width: 800px) { .pk-rules { grid-template-columns: minmax(0, 1fr); } }
.pk-rules div { min-width: 0; padding-left: 14px; border-left: 2px solid var(--ember); }
.pk-rules b { display: block; color: var(--title); font-size: 17px; }
.pk-rules span { color: var(--muted); font-size: 15px; }
