/* ===========================
   HEADER ROW
   =========================== */
.row-header {
  position: relative;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.10)),
    #334155;
  box-shadow: inset 0 -1px rgba(0,0,0,0.22);
}

.row-header > th,
.row-header > td {
  padding: 10px 12px;
  background-clip: padding-box;
  font-weight: 600;
  letter-spacing: .02em;
  border-right: 1px solid rgba(255,255,255,0.18);
  white-space: nowrap;
}
.row-header > th:last-child,
.row-header > td:last-child { border-right: none; }

/* ===========================
   BODY ROWS: ODD / EVEN
   =========================== */
.row-odd,
.row-even { position: relative; }

.row-odd {
  background-color: rgba(247, 226, 199, 0.95);
  color: #111;
  transition: background-color 160ms ease;
}
.row-odd:hover { background-color: rgba(235, 205, 166, 0.92); }

.row-even {
  background-image:
    linear-gradient(rgba(255,255,255,0.60), rgba(255,255,255,0.90)),
    url("/img/matte_background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #111;
  transition: background 160ms ease;
}
.row-even:hover {
  background-image:
    linear-gradient(rgba(255,255,255,0.40), rgba(255,255,255,0.80)),
    url("/img/matte_background.png");
}

.row-odd > th,
.row-odd > td,
.row-even > th,
.row-even > td {
  padding: 10px 12px;
  background-clip: padding-box;
  border-right: 1px solid rgba(17,17,17,0.12);
  box-shadow:
    inset 0 1px rgba(255,255,255,0.55),
    inset 0 -1px rgba(17,17,17,0.10);
}
.row-odd > th:last-child,
.row-odd > td:last-child,
.row-even > th:last-child,
.row-even > td:last-child { border-right: none; }

.row-odd:focus-within > td,
.row-even:focus-within > td {
  outline: 2px solid rgba(17,17,17,0.18);
  outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
  .row-header, .row-odd, .row-even { transition: none; }
}

/* ===========================
   VIDEO MODAL (no close button)
   =========================== */

.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;               /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.video-modal-overlay.show { display: flex; }

.video-modal {
  position: relative;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  width: 720px;
  max-width: 90vw;
  overflow: hidden;
}

.video-modal video {
  display: block;
  width: 100%;
  height: auto;
}
