@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

/* === SHABLON 1 (EN4): CYBER CARBON LOBBY (Shell_6 + Topology_3 + Material_6 + Hero_06 + H2_6) === */
:root {
  --en4-bg: #09303A;
  --en4-surface: #07687C;
  --bg-primary: #09303A;
  --bg-surface: #0C2129;
  --bg-deep: #040B0E;
  --text-primary: #FFFFFF;
  --text-muted: #A9D6E5;
  --accent-primary: #00AFD8;
  --accent-secondary: #38D9F5;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  min-width: 0;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  background-color: #071317;
  background-image:
    radial-gradient(ellipse 75% 45% at 50% 0%, rgba(0, 175, 216, 0.16), transparent 62%),
    linear-gradient(180deg, #071317 0%, #050D10 100%);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

body {
  padding-bottom: 64px;
}

p, li, td, th, dd, dt {
  margin: 0 0 16px 0;
  color: var(--text-primary);
  text-align: left;
  overflow-wrap: anywhere;
  hyphens: auto;
}

a {
  color: var(--accent-primary);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-secondary);
}

h1, h2, h3, h4, h5, h6, nav a, .btn, .cta, button {
  hyphens: manual !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem 0;
  color: var(--text-primary);
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 2.05rem);
  line-height: 1.22;
  margin: 0 0 1.1rem 0;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--accent-primary);
  color: var(--text-primary);
}

h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 0.65rem 0;
  color: var(--text-primary);
}

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === BUTTONS (Cyber Chamfer Neon Rim) === */
.btn, .cta, .en4-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.78rem 1.65rem;
  background: linear-gradient(135deg, #00AFD8, #0082A3);
  color: #041014;
  border: none;
  box-shadow: 0 0 18px rgba(0, 175, 216, 0.35);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover, .cta:hover, .en4-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(0, 175, 216, 0.55);
  filter: brightness(1.08);
  color: #041014;
}

/* === SHELL 6: TOP HUD BAR === */
.en4-hud-bar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.75rem max(1rem, calc((100% - 1180px) / 2));
  background: rgba(6, 37, 45, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 175, 216, 0.35);
}

.en4-hud-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.en4-hud-brand .hud-logo {
  width: 144px;
  height: 30px;
  object-fit: contain;
}

.en4-hud-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.en4-hud-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.en4-hud-nav a:hover, .en4-hud-nav a.is-active {
  background: rgba(0, 175, 216, 0.16);
  color: var(--accent-secondary);
}

/* === SHELL 6: BOTTOM DOCK (Pinned full-width <=44px, 0 Hero Overlap) === */
.en4-bottom-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  height: 44px;
  padding: 0 0.75rem;
  background: rgba(4, 11, 14, 0.96);
  border-top: 1px solid rgba(0, 175, 216, 0.45);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  overflow-x: auto;
}

.en4-bottom-dock a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.en4-bottom-dock a:hover {
  background: rgba(0, 175, 216, 0.18);
  color: var(--accent-primary);
}

@media (max-width: 900px) {
  .en4-hud-nav {
    display: none;
  }
  .en4-hud-bar {
    padding: 0.55rem 1rem;
  }
  .en4-bottom-dock {
    justify-content: space-around;
    padding: 0 0.4rem;
    gap: 0.2rem;
    height: 42px;
  }
  .en4-bottom-dock a {
    font-size: 0.76rem;
    padding: 0.3rem 0.45rem;
  }
}

/* === CONTAINER & ALTERNATING BANDS (Topology_3) === */
.en4-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.en4-band {
  width: 100%;
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1rem, 3vw, 2rem);
}

.en4-band:nth-of-type(even) {
  background: rgba(7, 104, 124, 0.28);
  border-top: 1px solid rgba(0, 175, 216, 0.18);
  border-bottom: 1px solid rgba(0, 175, 216, 0.18);
}

.en4-band:nth-of-type(odd) {
  background: transparent;
}

/* === HERO (Full-Width Backdrop + Centered Spotlight Card) === */
.en4-hero {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(2rem, 4.5vw, 3.75rem) clamp(1rem, 3vw, 2rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 175, 216, 0.28);
  background-image: url('banners/en4-luckydaysc-hero-skycity-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.en4-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 16, 22, 0.45) 0%, rgba(4, 16, 22, 0.72) 100%);
  z-index: 1;
  pointer-events: none;
}

.en4-hero-card {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  background: rgba(6, 24, 31, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-left: 3px solid var(--accent-primary);
  border-right: 1px solid rgba(0, 175, 216, 0.35);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  overflow: hidden;
  filter: drop-shadow(0 14px 32px rgba(0, 175, 216, 0.14));
}

.en4-hero-banner {
  width: 100%;
  height: auto;
  display: block;
  border-top: 1px solid rgba(0, 175, 216, 0.28);
}

.en4-hero-body {
  padding: clamp(1.25rem, 3vw, 2.35rem) clamp(1rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
}

.en4-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.85rem;
  background: rgba(0, 175, 216, 0.12);
  border: 1px solid rgba(0, 175, 216, 0.5);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  color: var(--accent-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.en4-hero-body h1 {
  text-align: center;
  margin-bottom: 0.25rem;
}

.en4-hero-body p {
  max-width: 68ch;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
}

@media (max-width: 640px) {
  .en4-hero {
    padding: 0.75rem;
  }
  .en4-hero-body {
    padding: 1rem 0.9rem;
    gap: 0.65rem;
  }
  .en4-hero-body h1 {
    font-size: 1.65rem;
  }
  .en4-hero-body p {
    font-size: 0.92rem;
    line-height: 1.5;
  }
}

/* === MATERIAL 6: CYBER CHAMFER CARDS === */
.en4-card, .card {
  position: relative;
  background: linear-gradient(160deg, rgba(12, 33, 41, 0.94), rgba(5, 16, 20, 0.96));
  color: var(--text-primary);
  padding: 1.5rem;
  border-left: 3px solid var(--accent-primary);
  border-top: 1px solid rgba(0, 175, 216, 0.32);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.en4-card::before, .card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background: linear-gradient(225deg, var(--accent-primary) 45%, transparent 46%);
  pointer-events: none;
}

/* === LOBBY CATEGORY BAR === */
.en4-cat-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.en4-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(6, 37, 45, 0.8);
  color: var(--text-muted);
  border: 1px solid rgba(0, 175, 216, 0.3);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.en4-cat-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.en4-cat-btn:hover, .en4-cat-btn.is-active {
  background: var(--accent-primary);
  color: #06252D;
  border-color: var(--accent-primary);
}

/* === SLOT POSTER GRID (6 Posters, Full Card Image + Hover/Tap Play) === */
.games-grid, .en4-games-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 194px));
  justify-content: space-between;
  gap: 0.9rem;
}

@media (max-width: 1080px) {
  .games-grid, .en4-games-grid {
    grid-template-columns: repeat(4, minmax(0, 194px));
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .games-grid, .en4-games-grid {
    grid-template-columns: repeat(3, minmax(0, 194px));
  }
}

@media (max-width: 540px) {
  .games-grid, .en4-games-grid {
    grid-template-columns: repeat(2, minmax(0, 194px));
  }
}

.en4-poster-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #06252D;
  border: 1px solid rgba(0, 175, 216, 0.3);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.en4-poster-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-secondary);
}

.en4-poster-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.en4-poster-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.en4-poster-card:hover .en4-poster-media img {
  transform: scale(1.06);
}

.en4-poster-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 0.22rem 0.6rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--accent-secondary);
  color: #06252D;
}

.en4-poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(6, 37, 45, 0.72);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.en4-poster-card:hover .en4-poster-overlay,
.en4-poster-card:focus-within .en4-poster-overlay {
  opacity: 1;
}

@media (hover: none) {
  .en4-poster-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(6, 37, 45, 0.88), transparent 60%);
    align-items: flex-end;
    padding-bottom: 12px;
  }
}

.en4-poster-meta {
  padding: 0.65rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.en4-poster-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-primary);
}

.en4-poster-studio {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === REWARDS WHEEL FEATURE + BONUS CARDS === */
.en4-wheel-stage {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

@media (max-width: 820px) {
  .en4-wheel-stage {
    grid-template-columns: 1fr;
  }
}

.en4-wheel-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(12, 33, 41, 0.85);
  border-left: 3px solid var(--accent-primary);
  border-top: 1px solid rgba(0, 175, 216, 0.4);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.en4-pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 760px) {
  .en4-pros-cons {
    grid-template-columns: 1fr;
  }
}

.en4-pros-cons ul {
  margin: 0;
  padding-left: 1.2rem;
}

.en4-pros-cons li {
  margin-bottom: 0.6rem;
}

.en4-bonus-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 820px) {
  .en4-bonus-row {
    grid-template-columns: 1fr;
  }
}

.en4-bonus-amount {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-secondary);
  margin-bottom: 0.35rem;
}

/* === PROVIDER STRIP === */
.en4-provider-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}

.en4-provider-pill {
  padding: 0.55rem 1.05rem;
  border-radius: 8px;
  background: rgba(6, 37, 45, 0.85);
  border: 1px solid rgba(0, 175, 216, 0.3);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* === SIGNUP STEPS 1 -> 2 -> 3 === */
.en4-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 820px) {
  .en4-steps-grid {
    grid-template-columns: 1fr;
  }
}

.en4-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-secondary);
  color: #06252D;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

/* === CASHIER GRID === */
.en4-cashier-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 820px) {
  .en4-cashier-wrap {
    grid-template-columns: 1fr;
  }
}

.en4-pay-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (max-width: 480px) {
  .en4-pay-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.en4-pay-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem;
  background: rgba(6, 37, 45, 0.8);
  border: 1px solid rgba(0, 175, 216, 0.28);
  border-radius: 10px;
}

.en4-pay-item img {
  height: 28px;
  width: auto;
}

.en4-pay-item span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.en4-cashier-terms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.en4-term-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  background: rgba(6, 37, 45, 0.8);
  border-radius: 10px;
  border-left: 3px solid var(--accent-secondary);
}

/* === MOBILE APP / PWA BLOCK === */
.en4-pwa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

@media (max-width: 820px) {
  .en4-pwa-grid {
    grid-template-columns: 1fr;
  }
}

/* === FAQ === */
.en4-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: rgba(6, 37, 45, 0.82);
  border: 1px solid rgba(0, 175, 216, 0.3);
  border-radius: 10px;
  overflow: hidden;
}

.faq-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 1.2rem 1rem;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  display: block;
}

/* === FOOTER === */
.en4-footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(0, 175, 216, 0.3);
  padding: 2.25rem 1.5rem 2.5rem;
}

.en4-footer-grid {
  max-width: 1180px;
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .en4-footer-grid {
    grid-template-columns: 1fr;
  }
}

.en4-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.en4-footer li {
  margin-bottom: 0.45rem;
}

.en4-footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(152, 193, 217, 0.18);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* === SUBPAGE SHARED HELPERS === */
.en4-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.en4-subpage-hero {
  margin-bottom: 2rem;
}

.en4-subpage-hero img {
  border-radius: 14px;
  margin-bottom: 1.25rem;
}

.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}

table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  background: rgba(6, 37, 45, 0.85);
}

th, td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 175, 216, 0.2);
}

th {
  color: var(--accent-secondary);
  font-weight: 700;
}

/* === MICRO-SKILLS & NON-STICKY SPLIT DIAGRAM (GATE 20) === */
.gradient-border {
  background: linear-gradient(var(--bg-surface), var(--bg-surface)) padding-box,
              linear-gradient(135deg, var(--accent-primary), rgba(255, 255, 255, 0.16), var(--accent-secondary)) border-box;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 1.35rem;
}

.font-mono-rail {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  display: inline-block;
  margin-bottom: 0.4rem;
}

.en4-split-diagram {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (max-width: 720px) {
  .en4-split-diagram {
    grid-template-columns: 1fr;
  }
}

.en4-split-box {
  background: rgba(6, 37, 45, 0.86);
  border: 1px solid rgba(0, 175, 216, 0.35);
  border-radius: 12px;
  padding: 1.2rem;
}

.en4-faq-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.faq-tab-btn {
  min-height: 44px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(6, 37, 45, 0.8);
  color: var(--text-muted);
  border: 1px solid rgba(0, 175, 216, 0.32);
  font-weight: 600;
  cursor: pointer;
}

.faq-tab-btn.is-active {
  background: var(--accent-primary);
  color: #06252D;
  border-color: var(--accent-primary);
}

/* === TOURNAMENT SCHEDULE & LOBBY VERTICALS === */
.en4-tourney-grid,
.en4-verticals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

@media (max-width: 760px) {
  .en4-tourney-grid,
  .en4-verticals-grid {
    grid-template-columns: 1fr;
  }
}

.en4-tourney-card,
.en4-vertical-card {
  background: linear-gradient(155deg, rgba(7, 104, 124, 0.36), rgba(6, 37, 45, 0.92));
  border: 1px solid rgba(0, 175, 216, 0.34);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  padding: 1.25rem 1.3rem;
}

.en4-tourney-meta,
.en4-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 0.5rem;
}

.en4-tourney-card .en4-tourney-meta {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.en4-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(0, 175, 216, 0.14);
  border: 1px solid rgba(0, 175, 216, 0.38);
  color: var(--text-primary);
}

/* === SUBPAGES COMPATIBILITY LAYER (shablon1 subpages) === */
.hud-brand,
.hud-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.hud-logo {
  width: 144px;
  height: 30px;
  object-fit: contain;
}

.hud-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.hud-nav a,
.hud-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.hud-nav a:hover,
.hud-link:hover {
  color: var(--text-primary);
  background: rgba(0, 175, 216, 0.16);
}

.section-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.payout-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.payout-status-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.95rem;
  background: rgba(6, 37, 45, 0.85);
  border: 1px solid rgba(0, 175, 216, 0.35);
  border-radius: 999px;
  font-size: 0.86rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  display: inline-block;
  flex-shrink: 0;
}

.status-eta {
  color: var(--accent-secondary);
  font-weight: 700;
}

.stats-block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

@media (max-width: 760px) {
  .stats-block {
    grid-template-columns: 1fr;
  }
}

.stat-item {
  background: rgba(6, 37, 45, 0.85);
  border: 1px solid rgba(0, 175, 216, 0.34);
  border-radius: 12px;
  padding: 1rem 1.15rem;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-secondary);
}

.en4-bottom-dock .dock-item {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
}

.en4-bottom-dock .dock-item:hover {
  background: rgba(0, 175, 216, 0.2);
}

footer:not(.en4-footer) {
  background: var(--bg-deep);
  border-top: 1px solid rgba(0, 175, 216, 0.3);
  padding: 2rem 1.5rem 5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

footer:not(.en4-footer) p {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
}
