/* Page Wardogs — Design A */

body.g4-page-wardogs .g4-main {
  padding-bottom: 0;
}

.g4-wd-recruit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 1rem;
  background: linear-gradient(90deg, #0a2a28, #12382a 40%, #2a1230 100%);
  border-bottom: 1px solid rgba(0, 229, 192, 0.35);
}

.g4-wd-recruit b {
  font-family: var(--g4-font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--g4-cyan);
  font-size: 0.82rem;
}

.g4-wd-recruit span { color: #c9d6e4; font-size: 0.82rem; }

.g4-wd-recruit i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--g4-cyan);
  box-shadow: 0 0 10px var(--g4-cyan);
  animation: g4-wd-pulse 1.6s infinite;
}

@keyframes g4-wd-pulse {
  50% { opacity: 0.35; transform: scale(0.7); }
}

.g4-wd-hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.g4-wd-hero img.g4-wd-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.g4-wd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 11, 18, 0.2) 0%, rgba(6, 11, 18, 0.08) 38%, rgba(6, 11, 18, 0.94) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(0, 229, 192, 0.12), transparent 45%);
}

.g4-wd-hero__in {
  position: relative;
  z-index: 2;
  padding: 0 0 3rem;
}

.g4-wd-kicker {
  margin: 0 0 0.7rem;
  color: var(--g4-cyan);
  font-family: var(--g4-font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.g4-wd-hero h1 {
  margin: 0;
  font-family: var(--g4-font-display);
  font-size: clamp(3rem, 7vw, 5.8rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 0.88;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
}

.g4-wd-hero h1 em {
  display: block;
  font-style: normal;
  color: #fff;
  font-size: 0.34em;
  letter-spacing: 0.12em;
  margin-top: 0.45em;
}

.g4-wd-lead {
  max-width: 54ch;
  color: #d4deea;
  margin: 1rem 0 1.3rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.g4-wd-cta { display: flex; gap: 0.65rem; flex-wrap: wrap; }

.g4-wd-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.72rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--g4-font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.g4-wd-btn--cyan { background: var(--g4-cyan); color: #041018; }
.g4-wd-btn--ghost { border: 1px solid rgba(255, 255, 255, 0.7); color: #fff; }
.g4-wd-btn--amber { background: #e8a317; color: #14110a; }

.g4-wd-stats {
  position: relative;
  z-index: 3;
  margin-top: -28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.g4-wd-stats article {
  padding: 1rem 1.05rem;
  border-radius: 12px;
  background: rgba(10, 16, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.g4-wd-stats b {
  display: block;
  font-family: var(--g4-font-display);
  font-size: 1.55rem;
  color: var(--g4-cyan);
}

.g4-wd-stats span { color: var(--g4-muted); font-size: 0.82rem; }

.g4-wd-section { padding: 3rem 0; }

.g4-wd-section h2 {
  font-family: var(--g4-font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  margin: 0 0 1.1rem;
}

.g4-wd-game {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.g4-wd-game p { color: var(--g4-muted); line-height: 1.7; margin: 0 0 0.85rem; }

.g4-wd-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 170px 170px;
  gap: 0.55rem;
}

.g4-wd-mosaic figure { margin: 0; overflow: hidden; border-radius: 12px; position: relative; }
.g4-wd-mosaic figure:first-child { grid-row: span 2; }
.g4-wd-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.g4-wd-mosaic figcaption {
  position: absolute;
  left: 0.7rem;
  bottom: 0.55rem;
  font-family: var(--g4-font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  text-shadow: 0 2px 10px #000;
}

.g4-wd-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.g4-wd-strip img { width: 100%; height: 118px; object-fit: cover; border-radius: 10px; }

.g4-wd-trailer {
  position: relative;
  margin-top: 1.4rem;
  border-radius: 16px;
  overflow: hidden;
}

.g4-wd-trailer img { width: 100%; height: 280px; object-fit: cover; }
.g4-wd-trailer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 11, 18, 0.82), transparent 70%);
}

.g4-wd-trailer a {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.6rem;
  text-decoration: none;
  color: #fff;
}

.g4-wd-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--g4-cyan);
  color: #041018;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  box-shadow: 0 0 30px rgba(0, 229, 192, 0.45);
}

.g4-wd-trailer h3 {
  margin: 0;
  font-family: var(--g4-font-display);
  text-transform: uppercase;
  font-size: 1.6rem;
}

.g4-wd-trailer p { margin: 0.2rem 0 0; color: #c9d6e4; }

.g4-wd-invite {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 229, 192, 0.1), rgba(255, 45, 138, 0.08));
  border: 1px solid rgba(0, 229, 192, 0.28);
}

.g4-wd-invite p { color: #c9d6e4; line-height: 1.65; margin: 0 0 0.85rem; }
.g4-wd-invite figure { margin: 0; overflow: hidden; border-radius: 12px; }
.g4-wd-invite img { width: 100%; height: 260px; object-fit: cover; }

.g4-wd-badges {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.g4-wd-badge {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.85rem;
  min-height: 168px;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: rgba(16, 25, 36, 0.9);
  border: 1px solid rgba(0, 229, 192, 0.28);
  text-decoration: none;
  color: inherit;
}

.g4-wd-badge img {
  width: 100%;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.g4-wd-badge span {
  display: block;
  color: var(--g4-cyan);
  font-family: var(--g4-font-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.g4-wd-badge h3 {
  margin: 0.15rem 0 0;
  font-family: var(--g4-font-display);
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.g4-wd-badge--free {
  border: 1px dashed rgba(255, 255, 255, 0.22);
  background: rgba(8, 14, 22, 0.45);
  color: #c5d2e0;
}

.g4-wd-badge--free:hover {
  border-color: var(--g4-cyan);
  color: #fff;
}

.g4-wd-badge--free b {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--g4-cyan);
  border: 1px dashed rgba(0, 229, 192, 0.45);
}

.g4-wd-badge--free span { color: #9aafc3; }

.g4-wd-obj {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.g4-wd-obj article {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  min-height: 210px;
}

.g4-wd-obj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g4-wd-obj article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 22, 0.05), rgba(7, 13, 22, 0.9));
}

.g4-wd-obj div {
  position: relative;
  z-index: 1;
  padding: 1.1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.g4-wd-obj h3 { margin: 0 0 0.3rem; font-family: var(--g4-font-display); text-transform: uppercase; }
.g4-wd-obj p { margin: 0; color: #c9d6e4; font-size: 0.88rem; }

.g4-wd-plan-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.g4-wd-plan-head .g4-wd-week { margin: 0.25rem 0 0; color: var(--g4-muted); font-size: 0.9rem; }

.g4-wd-plan-nav { display: flex; gap: 0.4rem; }

.g4-wd-plan-nav button {
  font-family: var(--g4-font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--g4-muted);
  background: rgba(8, 14, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

.g4-wd-plan-nav button:hover { color: #fff; border-color: rgba(0, 229, 192, 0.35); }
.g4-wd-plan-nav .is-icon { min-width: 2.25rem; font-size: 1.1rem; padding-inline: 0.55rem; }

.g4-wd-stage {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(0, 229, 192, 0.22);
  min-height: 420px;
}

.g4-wd-stage__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.g4-wd-stage__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 12, 22, 0.9) 0%, rgba(8, 16, 30, 0.72) 45%, rgba(10, 22, 40, 0.42) 100%),
    linear-gradient(180deg, rgba(6, 12, 22, 0.3), transparent 40%, rgba(6, 12, 22, 0.5));
}

.g4-wd-stage__tag {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  z-index: 3;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(8, 14, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--g4-font-display);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.g4-wd-grid {
  position: relative;
  z-index: 2;
  margin: 2.4rem 0.75rem 0.75rem;
  display: grid;
  grid-template-columns: 52px repeat(7, minmax(0, 1fr));
  grid-template-rows: auto 360px;
  background: rgba(8, 14, 26, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.g4-wd-grid__corner,
.g4-wd-dayh {
  background: rgba(6, 12, 22, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.g4-wd-dayh {
  padding: 0.55rem 0.2rem;
  text-align: center;
  font-family: var(--g4-font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.g4-wd-dayh small {
  display: block;
  margin-top: 0.15rem;
  color: var(--g4-muted);
  font-size: 0.68rem;
  letter-spacing: 0;
  font-weight: 500;
}

.g4-wd-dayh.is-today { color: var(--g4-cyan); }

.g4-wd-times,
.g4-wd-col { min-height: 360px; }

.g4-wd-times {
  position: relative;
  background: rgba(6, 12, 22, 0.65);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.g4-wd-times span {
  position: absolute;
  left: 0;
  right: 0.3rem;
  transform: translateY(-50%);
  text-align: right;
  font-size: 0.68rem;
  color: var(--g4-muted);
}

.g4-wd-col {
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background-image: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 16.666%);
}

.g4-wd-slot {
  position: absolute;
  left: 4px;
  right: 4px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.g4-wd-slot::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--g4-cyan);
  z-index: 2;
}

.g4-wd-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g4-wd-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 22, 0.2), rgba(6, 12, 22, 0.88));
}

.g4-wd-slot div {
  position: relative;
  z-index: 1;
  padding: 0.4rem 0.45rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.g4-wd-slot b { font-family: var(--g4-font-display); font-size: 0.72rem; }
.g4-wd-slot em { font-style: normal; font-size: 0.68rem; color: #d5e0ea; margin-top: 0.1rem; }
.g4-wd-slot i {
  margin-top: auto;
  align-self: flex-start;
  font-style: normal;
  font-family: var(--g4-font-display);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: rgba(6, 12, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.g4-wd-days-m { display: none; }

.g4-wd-plan-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  color: var(--g4-muted);
  font-size: 0.8rem;
}

.g4-wd-join {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 280px;
}

.g4-wd-join img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g4-wd-join::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 11, 18, 0.9), rgba(6, 11, 18, 0.35));
}

.g4-wd-join__in {
  position: relative;
  z-index: 1;
  padding: 2.2rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 280px;
}

.g4-wd-join h2 { margin: 0 0 0.4rem; font-size: 2rem; }
.g4-wd-join p { margin: 0; color: #c9d6e4; max-width: 52ch; }

@media (max-width: 980px) {
  .g4-wd-stats,
  .g4-wd-game,
  .g4-wd-obj,
  .g4-wd-strip,
  .g4-wd-invite { grid-template-columns: 1fr 1fr; }
  .g4-wd-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 150px 150px; }
  .g4-wd-join__in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .g4-wd-stats,
  .g4-wd-game,
  .g4-wd-obj,
  .g4-wd-strip,
  .g4-wd-mosaic,
  .g4-wd-invite { grid-template-columns: 1fr; }
  .g4-wd-mosaic { grid-template-rows: 180px 140px 140px; }
  .g4-wd-mosaic figure:first-child { grid-row: auto; }
  .g4-wd-grid { display: none; }
  .g4-wd-days-m {
    display: grid;
    gap: 0.55rem;
    position: relative;
    z-index: 2;
    margin: 2.4rem 0.75rem 0.75rem;
  }
  .g4-wd-days-m article {
    background: rgba(8, 14, 26, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
  }
  .g4-wd-days-m b {
    font-family: var(--g4-font-display);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .g4-wd-days-m p { margin: 0.25rem 0 0; color: #c9d6e4; font-size: 0.88rem; }
  .g4-wd-days-m .is-off { color: #7f93a8; }
}
