/* ========= GLOBAL BASE ========= */

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  background: #000;
  color: #fff;
}

/* Keep links sane by default */
a {
  color: inherit;
  text-decoration: none;
}

/* ========= PAGE WRAPPER ========= */

.ngp-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top, #111 0, #000 60%, #000 100%);
}

/* ========= TOP 60% PANEL (HERO) ========= */

.ngp-hero {
  height: 60vh;                       /* top 60% of viewport */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.ngp-hero-card {
  max-width: 1200px;
  width: 100%;
  height: 100%;                        /* fill full 60vh */
  background: #060606;
  border-radius: 14px;
  box-shadow: 0 0 35px rgba(0,0,0,0.85);
  padding: 20px 24px;
  box-sizing: border-box;

  display: flex;                       /* three columns side by side */
  align-items: stretch;                /* all columns same height */
  gap: 24px;
}

/* ========= LEFT COLUMN: LOGO ========= */

.ngp-col-logo {
  flex: 0 0 180px;                     /* fixed width left column */
  height: 100%;                        /* full height of hero card */
  display: grid;
  place-items: center;                 /* center logo both axes */
  text-align: center;
}

.ngp-logo-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 8px;
}

.ngp-logo-text {
  font-family: "Ranchers", cursive;
  font-size: 1rem;
  line-height: 1.2;
}

/* ========= MIDDLE COLUMN: VIDEO ========= */

.ngp-col-video {
  flex: 1 1 auto;                      /* takes remaining space */
  height: 100%;
  display: grid;
  place-items: center;                 /* center video frame in column */
}

.ngp-video-frame {
  width: 100%;
  height: 100%;                        /* fills column height */
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 20px rgba(0,0,0,0.9);
}

.ngp-video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ========= RIGHT COLUMN: MENU ========= */

.ngp-col-menu {
  flex: 0 0 230px;                     /* fixed width right column */
  height: 100%;
  display: grid;
  place-items: center;                 /* center menu block both axes */
}

.ngp-menu-inner {
  width: 100%;
  max-width: 260px;
}

.ngp-menu-heading {
  font-family: "Ranchers", cursive;
  font-size: 1.4rem;
  margin: 0 0 4px;
}

.ngp-menu-text {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
  opacity: 0.9;
}

.ngp-menu-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;              /* vertical stack */
  gap: 8px;
}

.ngp-menu-list a {
  display: block;
  text-align: center;                  /* text centered inside each item */
  font-family: "Ranchers", cursive;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 9px 12px;
  border-radius: 999px;
  background: #181818;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.ngp-menu-list a:hover {
  background: #00a5ff;
  color: #000;
  box-shadow: 0 0 12px rgba(0,165,255,0.7);
  transform: translateY(-1px);
}

.ngp-menu-note {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 10px;
}

/* ========= BOTTOM 40% PANEL ========= */

.ngp-lower {
  flex: 1;
  padding: 0 20px 30px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  text-align: center;
}

.ngp-lower-inner {
  max-width: 800px;
}

.ngp-lower-inner h2 {
  font-family: "Ranchers", cursive;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.ngp-lower-inner p {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* ========= RESPONSIVE (STACKED) ========= */

@media (max-width: 960px) {
  .ngp-hero {
    height: auto;
  }

  .ngp-hero-card {
    height: auto;
    flex-direction: column;
  }

  .ngp-col-logo,
  .ngp-col-video,
  .ngp-col-menu {
    height: auto;
  }

  .ngp-menu-inner {
    margin: 0 auto;
  }
}

/* ========= AGENT PORTAL MODAL ========= */

.agent-modal {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 50;
}

.agent-modal:target {
  opacity: 1;
  pointer-events: auto;
}

.agent-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.agent-modal__dialog {
  position: relative;
  max-width: 360px;
  margin: 12vh auto;
  background: #111111;
  color: #ffffff;
  padding: 1.5rem 1.75rem 1.75rem;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.8);
  z-index: 51;
  font-size: 0.9rem;
}

.agent-modal__title {
  font-family: "Ranchers", cursive;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.agent-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  line-height: 1;
}

.agent-modal__form label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
}

.agent-modal__form input {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.45rem 0.55rem;
  border-radius: 4px;
  border: 1px solid #444;
  background: #000;
  color: #fff;
  font-size: 0.85rem;
}

.agent-modal__buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.agent-modal__button {
  flex: 1 1 0;
  text-align: center;
  padding: 0.45rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}

.agent-modal__button--primary {
  background: #00a5ff;
  color: #000;
}

.agent-modal__button--secondary {
  background: #333;
  color: #fff;
}

.agent-modal__note {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  color: #cccccc;
}
