/* ============================================================
   CGTECHY / Guttrball LLC - CRT ARCADE SCOREBOARD
   Dark arcade-alley theme. All colors solid hex, no rgba text.
   ============================================================ */

body {
  margin: 0;
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #C6C9CE;
  background-color: #14161A;
  line-height: 1.7;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

a {
  color: #4E7FB0;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #9CC534;
}

/* ---------------- COIN-DOOR HEADER ---------------- */
.cabinet-door {
  background-color: #1C2026;
  border-bottom: 3px solid #242A31;
}

.door-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
}

.marquee-block {
  flex: 1 1 auto;
  min-width: 0;
}

.marquee-cap-band {
  height: 8px;
  background: linear-gradient(90deg, #B8497C, #9CC534, #C9A24B, #B8497C);
  border-radius: 3px;
}

.marquee-wordmark {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 2px 8px;
}

.wordmark {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 5px;
  color: #F2F4F6;
  font-family: "Courier New", monospace;
  text-align: center;
  flex: 1;
}

.marquee-cap {
  font-size: 32px;
  line-height: 1;
  color: #B8497C;
  font-weight: 900;
}

.main-nav {
  border-top: 1px solid #2B323A;
  padding: 12px 0 8px;
}

.main-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 30px;
}

.main-nav__link {
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #EBEDF0;
  padding: 4px 0;
  position: relative;
}

.main-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #9CC534;
  transition: width 0.25s ease;
}

.main-nav__link:hover::after {
  width: 100%;
}

.main-nav__link:hover {
  color: #9CC534;
}

.nav-toggle {
  display: none;
  margin: 0 0 8px;
  cursor: pointer;
  background: none;
  border: 1px solid #2B323A;
  color: #9CC534;
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 2px;
  padding: 6px 14px;
}

.coin-mechanism {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 16px 0;
}

.coin-plate {
  background-color: #242A31;
  border: 1px solid #2B323A;
  border-radius: 6px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
}

.coin-slot {
  width: 8px;
  height: 58px;
  background-color: #000000;
  border: 2px solid #C9A24B;
  border-radius: 2px;
}

.coin-lock {
  width: 14px;
  height: 14px;
  background-color: #000000;
  border: 2px solid #C9A24B;
  border-radius: 50%;
  position: absolute;
  right: 8px;
  top: 8px;
}

.coin-slot-note {
  text-align: center;
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: #9CC534;
  font-weight: 700;
}

/* ---------------- SHELL / region ---------------- */
.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

/* generic insert card: wide slab with notched right edge */
.insert-card {
  background-color: #242A31;
  border: 1px solid #2B323A;
  border-top-right-radius: 0;
  border-bottom-right-radius: 60px;
  padding: 40px 40px 40px 40px;
  margin-bottom: 34px;
  position: relative;
}

/* wide notch excised on the right (card pulled partway from rack) */
.insert-card__notch {
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  bottom: 0;
  border-bottom: 34px solid #14161A;
  border-right: 1px solid #2B323A;
  background-image: linear-gradient(90deg, transparent 60%, #2B323A 60%);
}

/* alternating zigzag offsets */
.is-offset-left {
  margin-right: 72px;
}

.is-offset-right {
  margin-left: 72px;
}

@media (min-width: 769px) {
  .insert-card.is-offset-right,
  .offset-right {
    margin-left: 72px;
    margin-right: 0;
  }
}

/* ---------------- SCOREBOARD HERO CARD ---------------- */
.card-score {
  background-color: #242A31;
  border: 1px solid #2B323A;
  border-radius: 10px 0 60px 0;
  padding: 36px 44px 28px 40px;
  margin-bottom: 26px;
  position: relative;
}

.scoreboard-wrap {
  display: flex;
  gap: 30px;
  align-items: stretch;
  flex-wrap: wrap;
}

.control-deck {
  flex: 0 0 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  padding: 10px 0;
}

.joystick {
  position: relative;
  width: 70px;
  height: 190px;
}

.joystick__base {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background-color: #2B323A;
  border-radius: 12px;
}

.joystick__rod {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 10px;
  height: 140px;
  background-color: #4E7FB0;
  border-radius: 5px;
}

.joystick__ball {
  position: absolute;
  left: 50%;
  bottom: 148px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  background-color: #9CC534;
  border-radius: 50%;
  border: 3px solid #6f8c25;
}

.control-deck__note {
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: #4E7FB0;
  font-weight: 700;
  text-align: center;
}

.button-cluster {
  display: flex;
  gap: 22px;
  order: 3;
}

.arc-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid #000000;
  display: block;
}

.arc-btn--blue {
  background-color: #4E7FB0;
}

.arc-btn--magenta {
  background-color: #B8497C;
}

/* CRT SCREEN */
.cabinet-screen {
  flex: 1 1 460px;
  background-color: #000000;
  border: 8px solid #2B323A;
  border-radius: 8px;
  padding: 20px 22px 18px;
  position: relative;
}

.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    #0a0b0d 0px,
    #0a0b0d 1px,
    transparent 1px,
    transparent 3px
  );
  filter: saturate(0.41);
  pointer-events: none;
}

.screen-content {
  position: relative;
}

.screen-status {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.screen-label {
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #9CC534;
}

.screen-rule {
  height: 1px;
  background-color: #2B323A;
  margin-bottom: 14px;
}

.segment-digits {
  font-family: "Courier New", Consolas, monospace;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 2px;
}

.segment-digits--score {
  font-size: 30px;
  color: #9CC534;
}

.segment-digits--hi {
  font-size: 24px;
  color: #C9A24B;
}

.screen-scores {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.screen-score-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hiscore-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.hiscore-table__head th {
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: #4E7FB0;
  text-align: left;
  text-transform: uppercase;
  padding: 5px 6px;
  border-bottom: 1px solid #2B323A;
}

.hiscore-table__head th + th {
  text-align: right;
}

.hiscore-table td {
  font-family: "Courier New", monospace;
  font-size: 15px;
  font-weight: 700;
  color: #EBEDF0;
  padding: 5px 6px;
  border-bottom: 1px solid #20242a;
}

.hiscore-table__initials {
  color: #C6C9CE;
  letter-spacing: 3px;
}

.hiscore-table__amount {
  text-align: right;
  color: #9CC534;
}

.hiscore-table tr.is-new td {
  color: #C9A24B;
  animation: blinkGold 1.1s infinite;
}

@keyframes blinkGold {
  0%, 49% { opacity: 1; }
  50%, 100% { filter: saturate(0.27); }
}

/* hero intro row: phone / company line */
.centerline-caption {
  margin-top: 20px;
  padding: 2px 0;
}

.hero-title {
  font-size: 40px;
  font-weight: 900;
  color: #F2F4F6;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-title span.accent {
  color: #9CC534;
}

.lead {
  font-size: 19px;
  color: #C6C9CE;
  margin: 0 0 18px;
}

/* ---------------- CARD INNER CONTENT ---------------- */
.card-kicker {
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #4E7FB0;
  font-weight: 700;
  margin: 0 0 6px;
}

.game-tag {
  display: inline-block;
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #000000;
  background-color: #C9A24B;
  padding: 3px 10px;
  border-radius: 3px;
  margin-top: 12px;
}

.game-tag.is-neon {
  background-color: #9CC534;
  color: #000000;
}

/* generic secondary headings inside cards */
.card-title {
  font-family: "Courier New", monospace;
  font-size: 22px;
  font-weight: 800;
  color: #F2F4F6;
  margin: 0 0 12px;
}

.card-subtitle {
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C9A24B;
  font-weight: 700;
  margin: 0 0 8px;
}

/* ---------------- METER STRIP ---------------- */
.meter-strip {
  background-color: #1C2026;
  border-top: 1px solid #2B323A;
  border-bottom: 1px solid #2B323A;
  padding: 22px 24px;
}

.meter-strip__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.meter-strip__row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.meter-cell {
  flex: 1 1 200px;
}

.meter-cell__digit {
  font-family: "Courier New", monospace;
  font-size: 32px;
  font-weight: 900;
  color: #9CC534;
  line-height: 1;
}

.meter-cell__label {
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4E7FB0;
  margin-top: 4px;
}

.meter-cell__desc {
  font-size: 14px;
  color: #C6C9CE;
  margin-top: 6px;
}

/* ---------------- TOKEN TRAY CTA ---------------- */
.token-band {
  background-color: #1C2026;
  border-top: 1px solid #2B323A;
  border-bottom: 1px solid #2B323A;
  padding: 40px 24px;
}

.token-band__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.tray-visual {
  flex: 0 0 210px;
}

.tokentray {
  background-color: #242A31;
  border: 1px solid #2B323A;
  border-radius: 12px;
  height: 130px;
  position: relative;
  padding: 10px;
  overflow: hidden;
}

.tokentray__groove {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 14px;
  background-color: #2B323A;
}

.tokens-stack {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: -20px;
}

.tokentray .coin-token {
  width: 74px;
  height: 16px;
  border-radius: 8px;
  background-color: #C9A24B;
  border: 1px solid #9c7a38;
  position: relative;
}

.tokentray .coin-token::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 4px;
  border-radius: 50%;
  background-color: #9c7a38;
}

.coin-token--edge {
  position: absolute;
  left: 40px;
  bottom: 22px;
  width: 16px;
  height: 70px;
  border-radius: 8px;
  background: linear-gradient(180deg, #E3BD72, #C9A24B, #7f6227);
  border: 1px solid #9c7a38;
  transform: rotate(-14deg);
}

.token-band__copy {
  flex: 1 1 320px;
}

.token-band__copy h2 {
  font-size: 30px;
  font-weight: 900;
  color: #F2F4F6;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.token-band__copy h2 span {
  color: #C9A24B;
}

.insert-link {
  font-family: "Courier New", monospace;
  font-weight: 800;
  letter-spacing: 1px;
  color: #9CC534;
  border-bottom: 2px solid #9CC534;
}

.insert-link:hover {
  color: #B7D46A;
  border-color: #B7D46A;
}

.token-band__phone {
  font-family: "Courier New", monospace;
  font-size: 15px;
  color: #C6C9CE;
  font-weight: 700;
  margin-top: 14px;
  display: block;
}

.token-band__phone a {
  color: #C6C9CE;
}

.token-band__phone a:hover {
  color: #9CC534;
}

/* ---------------- SERVICE-PANEL FOOTER ---------------- */
.cabinet-foot {
  background-color: #242A31;
  border-top: 2px solid #1C2026;
  padding: 40px 24px 20px;
}

.cabinet-foot__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.cabinet-foot__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: space-between;
}

.cabinet-foot__brand {
  flex: 1 1 220px;
}

.foot-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.foot-slot-glyph {
  display: flex;
  gap: 4px;
}

.foot-slot-glyph span {
  width: 4px;
  height: 26px;
  background-color: #000000;
  border: 1px solid #C9A24B;
}

.foot-name {
  font-family: "Courier New", monospace;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #F2F4F6;
}

.cabinet-foot__copy {
  font-size: 14px;
  color: #C6C9CE;
}

.cabinet-foot__links {
  flex: 2 1 300px;
}

.cabinet-foot__links-head,
.cabinet-foot__contact-head {
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4E7FB0;
  font-weight: 700;
  margin: 0 0 12px;
}

.cabinet-foot__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cabinet-foot__links li {
  margin-bottom: 8px;
}

.cabinet-foot__links a {
  color: #C6C9CE;
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}

.cabinet-foot__links a:hover {
  color: #9CC534;
}

.cabinet-foot__contact {
  flex: 1 1 260px;
}

.cabinet-foot__contact-fine {
  font-family: "Courier New", monospace;
  font-size: 13px;
  color: #C6C9CE;
  line-height: 2;
}

.cabinet-foot__contact-fine a {
  color: #C6C9CE;
}

.cabinet-foot__contact-fine a:hover {
  color: #9CC534;
}

.cabinet-foot__legal {
  border-top: 1px solid #2B323A;
  margin-top: 30px;
  padding-top: 16px;
  position: relative;
  z-index: 1;
  text-align: center;
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: #C6C9CE;
}

/* ---------------- PAGE WRAPS / shared banded slabs ----
   Scoped so we never style bare element / ID headers.   */
.page-band {
  padding: 40px 24px;
}

.page-band__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- CONTACT FORM / FAQ (contact.html) -------------- */
.page-kicker {
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9CC534;
  font-weight: 700;
  margin: 0 0 8px;
}

.page-heading {
  font-size: 40px;
  font-weight: 900;
  color: #F2F4F6;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.12;
}

.page-sub {
  font-size: 18px;
  color: #C6C9CE;
  margin: 0 0 20px;
}

.contact-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.form-card,
.meta-card {
  background-color: #242A31;
  border: 1px solid #2B323A;
  padding: 30px;
  border-top: 4px solid #9CC534;
}

.form-card {
  flex: 2 1 540px;
}

.meta-card {
  flex: 1 1 300px;
  border-top-color: #C9A24B;
}

.field {
  margin-bottom: 18px;
}

.field > a {
  color: #9CC534;
}

.field > label,
.meta-label {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4E7FB0;
  margin: 0 0 6px;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  background-color: #14161A;
  border: 1px solid #2B323A;
  color: #EBEDF0;
  font-family: inherit;
  font-size: 15px;
  padding: 11px 12px;
  border-radius: 4px;
  margin: 0;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #4E7FB0;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #9CC534;
}

.submit-btn {
  display: inline-block;
  background-color: #9CC534;
  color: #14161A;
  font-family: "Courier New", monospace;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  padding: 13px 26px;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #B7D46A;
}

.form-note {
  font-size: 13px;
  color: #C6C9CE;
  margin-top: 12px;
}

.meta-line {
  padding: 12px 0;
  border-bottom: 1px solid #2B323A;
}

.meta-line:last-child {
  border-bottom: none;
}

.meta-line a,
.meta-label strong {
  color: #9CC534;
  font-weight: 700;
}

.meta-line h3,
.meta-line h4 {
  font-family: "Courier New", monospace;
  font-size: 14px;
  color: #F2F4F6;
  letter-spacing: 1px;
  margin: 0 0 2px;
}

.meta-value {
  margin-top: 6px;
  font-size: 15px;
  color: #EBEDF0;
}

/* FAQ accordion */
.faq-block {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 8px;
}

.faq-item {
  border: 1px solid #2B323A;
  margin-bottom: 14px;
  background-color: #1C2026;
}

.faq-item__q {
  margin: 0;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: #EBEDF0;
  background-color: #242A31;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item__q:hover {
  background-color: #2B323A;
}

.faq-chevron {
  color: #9CC534;
  font-family: "Courier New", monospace;
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-item__a {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #C6C9CE;
}

.faq-item.is-open .faq-item__a {
  padding: 16px 22px !important;
  border-top: 1px solid #2B323A;
}

/* small responsive */
@media (max-width: 768px) {
  .door-inner {
    flex-wrap: wrap;
    padding: 0 16px;
  }

  .marquee-block {
    flex: 1 1 100%;
  }

  .coin-mechanism {
    flex: 1 1 100%;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 8px 0 14px;
  }

  .coin-plate {
    flex: 1;
  }

  .coin-mechanism .coin-slot-note {
    flex: 0 0 auto;
    margin: 0;
  }

  .marquee-wordmark {
    padding-top: 10px;
  }

  .main-nav {
    text-align: left;
  }

  .nav-toggle {
    display: inline-block;
  }

  .main-nav__list {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
  }

  .main-nav.is-open .main-nav__list {
    display: flex;
  }

  .main-nav__link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #20242a;
  }

  .insert-card.is-offset-left {
    margin-right: 0;
  }

  .insert-card.is-offset-right,
  .card-score.is-offset-left,
  .score-card {
    margin-left: 0;
    margin-right: 0;
  }

  .scoreboard-wrap {
    flex-direction: column;
  }

  .control-deck {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 26px;
  }

  .joystick {
    height: 120px;
    width: 70px;
  }

  .joystick__rod {
    height: 78px;
    bottom: 10px;
  }

  .joystick__ball {
    bottom: 82px;
  }

  .hero-title {
    font-size: 30px;
  }

  .lead {
    font-size: 16px;
  }

  .token-band__inner {
    gap: 24px;
  }

  .tray-visual {
    flex-basis: 100%;
  }

  .page-heading {
    font-size: 32px;
  }

  .wordmark {
    font-size: 22px;
    letter-spacing: 3px;
  }

  .marquee-cap {
    font-size: 24px;
  }
}

/* ---------------- FADE-UP SCROLL REVEAL ---------------- */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* legal pages (privacy/terms) scope isolation guard */
.game-page .legal-scope-section {
  background-color: transparent;
}

/* No wasted trailing space */
@media (min-width: 768px) {
  .cabinet-foot {
    padding-bottom: 26px;
  }
}
