/*
Theme Name: PH Lottery Official V3
Theme URI: https://phlottery.com/
Author: PH Lottery
Description: Independent bilingual PH Lottery official navigation theme for JILI Games.
Version: 3.0.0
Text Domain: phlottery-official
*/

:root {
  --bg: #050505;
  --panel: #101116;
  --panel-2: #191b22;
  --line: rgba(255,255,255,.12);
  --line-gold: rgba(246,195,67,.34);
  --gold: #f6c343;
  --gold-2: #9b6508;
  --red: #ff332b;
  --red-2: #991814;
  --green: #14d47b;
  --text: #f8f8f8;
  --soft: #c9cad1;
  --muted: #8f929d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 0, rgba(20,212,123,.13), transparent 26rem),
    radial-gradient(circle at 10% 12%, rgba(246,195,67,.11), transparent 26rem),
    linear-gradient(180deg, #090909 0, #050505 46rem);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.72;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.12; letter-spacing: 0; }
p { color: var(--soft); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(5,5,5,.92);
  border-bottom: 1px solid rgba(246,195,67,.18);
  backdrop-filter: blur(14px);
}

.nav-shell {
  max-width: 1220px;
  min-height: 82px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-logo { width: 160px; max-width: 48vw; }

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

.main-nav a,
.lang-switch a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(25,27,34,.74);
  font-size: 14px;
  font-weight: 850;
}

.main-nav a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lang-switch {
  display: flex;
  gap: 7px;
  margin-left: 4px;
}

.lang-switch img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #15171d;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.top-actions {
  position: fixed;
  right: 20px;
  top: 98px;
  z-index: 120;
  display: flex;
  gap: 10px;
}

.top-actions a {
  min-width: 108px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 950;
  box-shadow: 0 14px 32px rgba(0,0,0,.38);
}

.top-login {
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(20,22,28,.92);
}

.top-register {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #ff7a20);
}

.wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 30px 18px 115px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  padding: 12px 22px;
  font-weight: 950;
}

.btn-gold {
  color: #130d03;
  background: linear-gradient(180deg, #ffe57b, #f3b928);
  box-shadow: 0 8px 0 #674200;
}

.btn-red {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #ff7a20);
  box-shadow: 0 8px 0 #66110d;
}

.btn-dark {
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  background: #171a21;
}

.home-stage {
  min-height: calc(100vh - 116px);
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 22px;
  align-items: stretch;
}

.home-copy,
.route-panel,
.official-card,
.section-panel,
.feature-panel,
.error-panel {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(27,29,36,.98), rgba(8,8,8,.98));
  box-shadow: 0 26px 70px rgba(0,0,0,.42);
}

.home-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-copy:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(246,195,67,.14), transparent 45%, rgba(20,212,123,.08));
  pointer-events: none;
}

.home-copy > * { position: relative; }

.home-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6.6vw, 52px);
}

.home-copy p {
  max-width: 680px;
  font-size: 18px;
}

.hero-image {
  width: 100%;
  border: 1px solid var(--line-gold);
  border-radius: 16px;
  object-fit: cover;
}

.route-panel {
  padding: clamp(18px, 3vw, 28px);
}

.route-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}

.route-panel h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
}

.online-pill {
  color: #06120b;
  background: var(--green);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 950;
}

.route-list {
  display: grid;
  gap: 14px;
}

.route-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 42% 1fr;
  border: 1px solid var(--line-gold);
  border-radius: 16px;
  background: #0b0c10;
}

.route-card img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.route-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.route-body span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.route-body strong {
  margin: 4px 0 8px;
  font-size: clamp(26px, 4vw, 38px);
}

.route-body p {
  margin: 0 0 14px;
  color: var(--muted);
}

.route-body a {
  width: fit-content;
  border-radius: 999px;
  padding: 10px 16px;
  color: #051109;
  background: var(--green);
  font-weight: 950;
}

.section-title {
  margin: 42px 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(26px, 4vw, 42px);
}

.section-title:before {
  content: "";
  width: 8px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(var(--gold), var(--red));
}

.banner-card {
  overflow: hidden;
  border: 1px solid rgba(246,195,67,.2);
  border-radius: 18px;
  background: #0b0c10;
}

.banner-card img {
  width: 100%;
  aspect-ratio: 21 / 7;
  object-fit: cover;
}

.category-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-strip a {
  flex: 0 0 auto;
  min-width: 150px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(#2b2e36,#15171d);
  text-align: center;
  font-weight: 900;
}

.category-strip a.active {
  color: #170e02;
  border: 0;
  background: linear-gradient(180deg, #ffe57b, #f3b928);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
  margin-top: 18px;
}

.game-card {
  overflow: hidden;
  border: 1px solid rgba(246,195,67,.18);
  border-radius: 16px;
  background: #101116;
}

.game-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .25s ease;
}

.game-card:hover img {
  transform: scale(1.04);
}

.game-card div {
  padding: 13px;
}

.game-card strong {
  display: block;
  font-size: 17px;
}

.game-card span {
  color: var(--muted);
  font-size: 13px;
}

.inner-hero {
  display: grid;
  grid-template-columns: 1fr .88fr;
  gap: 26px;
  align-items: center;
  min-height: 440px;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(32,34,42,.96), rgba(8,8,8,.96));
  box-shadow: 0 26px 70px rgba(0,0,0,.42);
}

.inner-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 62px);
}

.inner-hero p {
  max-width: 760px;
  font-size: 18px;
}

.inner-hero .hero-image {
  aspect-ratio: 16 / 10;
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0,1fr) 340px;
  gap: 26px;
  margin-top: 28px;
}

.section-panel,
.feature-panel {
  padding: clamp(20px, 3vw, 34px);
}

.section-panel h2,
.feature-panel h2 {
  margin-top: 0;
}

.lead {
  max-width: 880px;
  font-size: 18px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  margin: 24px 0;
}

.info-card {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: linear-gradient(160deg,#181b22,#0d0e12);
  padding: 18px;
}

.info-card h2 {
  margin: 0 0 10px;
  font-size: 21px;
}

.bullet-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  margin-top: 22px;
}

.bullet-grid section {
  position: relative;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 15px;
  background: #111319;
  padding: 18px 18px 18px 22px;
}

.bullet-grid section:before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  bottom: 17px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(var(--gold),var(--red));
}

.bullet-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.bullet-grid p {
  margin: 0;
}

.side-note {
  position: sticky;
  top: 112px;
  align-self: start;
  border: 1px solid rgba(246,195,67,.18);
  border-radius: 18px;
  background: linear-gradient(160deg,#191b22,#0d0e12);
  padding: 18px;
}

.side-note img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 14px;
}

.float-contact {
  position: fixed;
  right: 18px;
  bottom: 112px;
  z-index: 120;
  display: grid;
  gap: 12px;
}

.float-contact a,
.float-contact button {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #181b22;
  box-shadow: 0 0 0 4px rgba(255,255,255,.08), 0 0 20px rgba(255,51,43,.38);
  cursor: pointer;
}

.float-contact img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  background: #191b22;
  border-top: 1px solid rgba(255,255,255,.11);
}

.bottom-nav a {
  min-height: 76px;
  display: grid;
  place-items: center;
  gap: 4px;
  color: #b8bac3;
  font-size: 13px;
  font-weight: 850;
}

.bottom-nav img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.bottom-main {
  transform: translateY(-20px);
  border-radius: 50% 50% 18px 18px;
  color: #fff !important;
  background: linear-gradient(135deg,var(--red),#ff7a20);
  box-shadow: 0 -8px 30px rgba(255,51,43,.38);
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: #090a0d;
  padding: 28px 18px 108px;
}

.footer-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.footer-inner strong {
  color: var(--gold);
}

.error-panel {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 24px;
  align-items: center;
  padding: clamp(24px,4vw,46px);
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }

  .main-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 88px;
    display: none;
    flex-wrap: wrap;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(10,11,15,.98);
  }

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

  .home-stage,
  .inner-hero,
  .content-split,
  .error-panel {
    grid-template-columns: 1fr;
  }

  .route-card {
    grid-template-columns: 1fr;
  }

  .route-card img {
    min-height: 140px;
    aspect-ratio: 16 / 7;
  }

  .game-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .info-grid,
  .bullet-grid {
    grid-template-columns: 1fr;
  }

  .side-note {
    position: static;
  }

  .top-actions {
    top: auto;
    bottom: 88px;
    right: 14px;
  }

  .top-actions a {
    min-width: 92px;
    min-height: 40px;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-logo {
    max-width: 62vw;
  }

  .home-copy h1,
  .inner-hero h1 {
    font-size: 34px;
  }

  .game-grid {
    gap: 12px;
  }

  .float-contact {
    right: 12px;
    bottom: 104px;
  }

  .float-contact a,
  .float-contact button {
    width: 50px;
    height: 50px;
  }
}
.site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: #090a0d;
  padding: 34px 18px 116px;
}

.footer-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  color: var(--muted);
}

.footer-brand {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-brand strong {
  color: var(--gold);
  font-size: 24px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.footer-links nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-links h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 15px;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--gold);
}

@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}
.top-actions {
  position: fixed;
  right: 20px;
  top: 92px;
  z-index: 120;
  display: flex;
  gap: 10px;
  padding: 6px;
  border: 1px solid rgba(246,195,67,.18);
  border-radius: 999px;
  background: rgba(5,5,5,.68);
  box-shadow: 0 18px 46px rgba(0,0,0,.38);
  backdrop-filter: blur(12px);
}

.top-actions a {
  min-width: 108px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 950;
  box-shadow: 0 14px 32px rgba(0,0,0,.38);
}

.top-login {
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(20,22,28,.94);
}

.top-register {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #ff7a20);
}

.site-footer {
  border-top: 1px solid rgba(246,195,67,.22);
  background:
    radial-gradient(circle at 12% 0, rgba(246,195,67,.13), transparent 24rem),
    radial-gradient(circle at 90% 18%, rgba(20,212,123,.08), transparent 22rem),
    linear-gradient(180deg, #0b0c10, #050505);
  padding: 44px 18px 122px;
}

.footer-links nav {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 100%;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(25,27,34,.9), rgba(9,10,13,.88));
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-shell {
    min-height: 66px;
    padding: 9px 12px;
  }

  .brand-logo {
    width: 176px;
  }

  .main-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    flex-wrap: wrap;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(10,11,15,.98);
  }

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

  .wrap {
    padding-top: 14px;
  }

  .home-stage,
  .inner-hero,
  .content-split,
  .error-panel {
    grid-template-columns: 1fr;
  }

  .home-stage {
    min-height: auto;
    gap: 14px;
  }

  .route-panel {
    order: -1;
    padding: 14px;
    border-color: rgba(246,195,67,.42);
  }

  .route-panel-head {
    align-items: center;
    margin-bottom: 10px;
  }

  .route-panel h2 {
    font-size: 26px;
  }

  .online-pill {
    padding: 5px 10px;
    font-size: 12px;
  }

  .route-list {
    gap: 10px;
  }

  .route-card {
    grid-template-columns: 118px 1fr;
    border-radius: 14px;
  }

  .route-card img {
    min-height: 108px;
    aspect-ratio: 1 / 1;
  }

  .route-body {
    padding: 10px;
  }

  .route-body strong {
    font-size: 22px;
    margin-bottom: 6px;
  }

  .route-body p {
    display: none;
  }

  .route-body a {
    padding: 8px 12px;
    font-size: 13px;
  }

  .game-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .info-grid,
  .bullet-grid {
    grid-template-columns: 1fr;
  }

  .side-note {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-actions {
    top: 72px;
    bottom: auto;
    right: 10px;
    gap: 6px;
    padding: 5px;
  }

  .top-actions a {
    min-width: 92px;
    min-height: 40px;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-logo {
    max-width: 62vw;
  }

  .home-copy h1,
  .inner-hero h1 {
    font-size: 34px;
  }

  .top-actions {
    top: 68px;
    right: 8px;
  }

  .top-actions a {
    min-width: 78px;
    min-height: 36px;
    font-size: 13px;
  }

  .route-card {
    grid-template-columns: 96px 1fr;
  }

  .route-card img {
    min-height: 96px;
  }

  .game-grid {
    gap: 12px;
  }

  .float-contact {
    right: 12px;
    bottom: 104px;
  }

  .float-contact a,
  .float-contact button {
    width: 50px;
    height: 50px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
.faq-panel {
  margin-top: 28px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 15px;
  background: linear-gradient(160deg, #151820, #0b0c10);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:after {
  content: "+";
  float: right;
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
}

.faq-list details[open] summary:after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--soft);
}
.nav-shell {
  min-height: 74px;
  padding: 10px 18px;
  gap: 14px;
}

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

.brand-logo {
  width: 188px;
  max-width: 42vw;
}

.lang-switch {
  display: flex;
  gap: 8px;
  margin-left: 4px;
}

.header-lang {
  flex: 0 0 auto;
  padding: 5px;
  border: 1px solid rgba(246,195,67,.2);
  border-radius: 999px;
  background: rgba(25,27,34,.82);
}

.lang-switch a {
  width: 38px;
  min-height: 38px;
  padding: 0;
}

.lang-switch img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.menu-toggle {
  margin-left: 0;
}
/* =========================================================
   PH LOTTERY HOME V4 OVERRIDE
   Append this CSS after your existing stylesheet.
========================================================= */


/* =========================================================
   HOME PAGE BACKGROUND
========================================================= */

.phl-home {
  position: relative;
}

.phl-home::before {
  content: "";

  position: fixed;

  width: 420px;
  height: 420px;

  left: -180px;
  top: 180px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(246,195,67,.06),
      transparent 70%
    );

  pointer-events: none;

  z-index: -1;
}


/* =========================================================
   HERO
========================================================= */

.phl-home-hero {
  grid-template-columns:
    .88fr
    1.12fr;

  gap: 20px;

  min-height: 560px;
}


/* =========================================================
   HERO LEFT
========================================================= */

.phl-home .home-copy {
  padding:
    42px
    clamp(24px, 4vw, 48px);

  border-color:
    rgba(246,195,67,.18);

  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(246,195,67,.11),
      transparent 240px
    ),
    linear-gradient(
      145deg,
      rgba(29,31,38,.98),
      rgba(8,8,9,.98)
    );
}

.phl-hero-badge {
  width: fit-content;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 16px;

  padding:
    7px
    12px;

  border: 1px solid rgba(246,195,67,.24);

  border-radius: 999px;

  color: var(--gold-light);

  background:
    rgba(246,195,67,.07);

  font-size: 11px;

  font-weight: 950;

  letter-spacing: .10em;
}

.phl-hero-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 10px rgba(20,212,123,.7);
}

.phl-home .home-copy .eyebrow {
  margin-bottom: 12px;

  color: var(--gold);
}

.phl-home .home-copy h1 {
  max-width: 700px;

  margin-bottom: 18px;

  font-size:
    clamp(
      36px,
      5vw,
      57px
    );

  line-height: 1.04;

  letter-spacing: -.035em;
}

.phl-hero-intro {
  max-width: 640px;

  margin-bottom: 0;

  color: #cfd0d5;

  font-size: 17px;

  line-height: 1.72;
}

.phl-hero-buttons {
  margin-top: 28px;
}


/* =========================================================
   HERO STATS
========================================================= */

.phl-hero-stats {
  display: flex;

  gap: 10px;

  margin-top: 30px;
}

.phl-hero-stats > div {
  min-width: 100px;

  padding:
    12px
    14px;

  border: 1px solid rgba(255,255,255,.07);

  border-radius: 13px;

  background:
    rgba(255,255,255,.025);
}

.phl-hero-stats strong {
  display: block;

  color: var(--gold-light);

  font-size: 17px;

  line-height: 1.1;
}

.phl-hero-stats span {
  display: block;

  margin-top: 5px;

  color: var(--muted);

  font-size: 10px;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: .08em;
}


/* =========================================================
   OFFICIAL ROUTE PANEL
========================================================= */

.phl-route-panel {
  padding: 20px;

  border-color:
    rgba(246,195,67,.24);

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(246,195,67,.10),
      transparent 260px
    ),
    linear-gradient(
      145deg,
      rgba(27,29,36,.99),
      rgba(7,8,10,.99)
    );
}


/* =========================================================
   ROUTE HEADER
========================================================= */

.phl-route-panel .route-panel-head {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin-bottom: 5px;
}

.route-kicker {
  margin: 0 0 4px;

  color: var(--gold);

  font-size: 10px;

  font-weight: 950;

  letter-spacing: .16em;

  text-transform: uppercase;
}

.phl-route-panel .route-panel-head h2 {
  margin: 0;

  padding-left: 0;

  font-size:
    clamp(
      25px,
      3vw,
      36px
    );

  letter-spacing: -.025em;
}

.phl-route-panel .route-panel-head h2::before {
  display: none;
}

.route-subtitle {
  margin-bottom: 15px;

  color: var(--muted);

  font-size: 12px;
}


/* =========================================================
   ONLINE
========================================================= */

.phl-route-panel .online-pill {
  flex: 0 0 auto;

  padding:
    7px
    11px;

  font-size: 11px;
}


/* =========================================================
   ROUTE LIST
========================================================= */

.phl-route-panel .route-list {
  display: grid;

  gap: 10px;
}


/* =========================================================
   NEW ROUTE CARD
========================================================= */

.phl-route-panel .route-card {
  position: relative;

  min-height: 84px;

  display: grid;

  grid-template-columns:
    minmax(0,1fr)
    auto;

  align-items: center;

  gap: 15px;

  padding:
    12px
    12px
    12px
    18px;

  border: 1px solid rgba(246,195,67,.15);

  border-radius: 15px;

  background:
    linear-gradient(
      135deg,
      rgba(28,30,37,.98),
      rgba(12,13,17,.98)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025);

  overflow: hidden;

  transition:
    transform .22s ease,
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease;
}

.phl-route-panel .route-card::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;
  bottom: 0;

  width: 3px;

  background:
    linear-gradient(
      180deg,
      var(--gold-light),
      var(--gold),
      var(--red)
    );
}

.phl-route-panel .route-card::after {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  right: -100px;
  top: -110px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(246,195,67,.10),
      transparent 70%
    );

  pointer-events: none;
}

.phl-route-panel .route-card:hover {
  transform: translateY(-2px);

  border-color:
    rgba(246,195,67,.40);

  background:
    linear-gradient(
      135deg,
      rgba(38,36,28,.99),
      rgba(14,15,19,.99)
    );

  box-shadow:
    0 15px 30px rgba(0,0,0,.30),
    0 0 22px rgba(246,195,67,.05);
}


/* =========================================================
   ROUTE MAIN
========================================================= */

.phl-route-panel .route-main {
  position: relative;
  z-index: 2;

  min-width: 0;

  display: grid;

  grid-template-columns:
    115px
    minmax(0,1fr)
    auto;

  align-items: center;

  gap: 13px;
}

.phl-route-panel .route-label {
  color: var(--gold);

  font-size: 10px;

  font-weight: 950;

  letter-spacing: .08em;

  text-transform: uppercase;

  white-space: nowrap;
}

.phl-route-panel .route-domain {
  min-width: 0;

  color: #fff;

  font-size:
    clamp(
      18px,
      2.4vw,
      26px
    );

  font-weight: 950;

  letter-spacing: -.02em;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;
}

.phl-route-panel .route-description {
  color: var(--muted);

  font-size: 10px;

  font-weight: 750;

  white-space: nowrap;
}


/* =========================================================
   OPEN BUTTON
========================================================= */

.phl-route-panel .route-open {
  position: relative;
  z-index: 3;

  min-width: 85px;

  min-height: 40px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 6px;

  padding:
    8px
    13px;

  border: 1px solid rgba(255,255,255,.12);

  border-radius: 999px;

  color: #fff;

  background:
    linear-gradient(
      135deg,
      #ec2c25,
      #ff673e
    );

  font-size: 11px;

  font-weight: 950;

  box-shadow:
    0 7px 18px rgba(255,51,43,.16);

  transition:
    transform .22s ease,
    filter .22s ease,
    box-shadow .22s ease;
}

.phl-route-panel .route-open:hover {
  transform: translateY(-2px);

  filter: brightness(1.07);

  box-shadow:
    0 10px 24px rgba(255,51,43,.23);
}

.phl-route-panel .route-open b {
  font-size: 16px;

  line-height: 1;

  transition:
    transform .22s ease;
}

.phl-route-panel .route-open:hover b {
  transform: translateX(3px);
}


/* =========================================================
   HIDE ROUTE IMAGES
========================================================= */

.phl-route-panel .route-card img {
  display: none !important;
}


/* =========================================================
   COMPATIBILITY WITH OLD MARKUP
========================================================= */

.phl-route-panel .route-body {
  display: contents;
}


/* =========================================================
   LOBBY
========================================================= */

.phl-lobby-section {
  margin-top: 42px;
}

.section-heading-row {
  display: flex;

  align-items: end;
  justify-content: space-between;

  gap: 16px;

  margin-bottom: 18px;
}

.section-heading-row .section-title {
  margin: 0;
}

.section-heading-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  color: var(--gold);

  font-size: 13px;

  font-weight: 900;

  transition:
    color .22s ease,
    transform .22s ease;
}

.section-heading-link:hover {
  color: var(--gold-light);

  transform: translateX(2px);
}

.section-heading-link span {
  font-size: 16px;
}


/* =========================================================
   JACKPOT BANNER
========================================================= */

.phl-jackpot-banner {
  border-color:
    rgba(246,195,67,.24);

  box-shadow:
    0 18px 42px rgba(0,0,0,.28);
}

.phl-jackpot-banner img {
  transition:
    transform .35s ease,
    filter .35s ease;
}

.phl-jackpot-banner:hover img {
  transform: scale(1.015);

  filter:
    brightness(1.04);
}


/* =========================================================
   CATEGORY STRIP
========================================================= */

.phl-category-strip {
  margin-top: 15px;
}


/* =========================================================
   GAME GRID
========================================================= */

.phl-game-grid {
  margin-top: 18px;
}


/* =========================================================
   INFORMATION SECTION
========================================================= */

.phl-info-section {
  margin-top: 34px;

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(246,195,67,.07),
      transparent 260px
    ),
    linear-gradient(
      160deg,
      rgba(24,26,32,.98),
      rgba(9,10,13,.98)
    );
}

.section-heading-simple {
  max-width: 820px;

  margin-bottom: 22px;
}

.section-heading-simple h2 {
  margin-bottom: 12px;
}


/* =========================================================
   HOME CONTENT
========================================================= */

.phl-home-content {
  margin-top: 22px;

  background:
    linear-gradient(
      160deg,
      rgba(20,22,28,.98),
      rgba(8,9,12,.98)
    );
}

.phl-home-content h2 {
  margin-bottom: 14px;
}


/* =========================================================
   FAQ
========================================================= */

.phl-home-faq {
  margin-top: 22px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {

  .phl-home-hero {
    grid-template-columns: 1fr;

    min-height: auto;

    gap: 16px;
  }

  .phl-home .home-copy {
    padding:
      32px
      28px;
  }

  .phl-route-panel {
    padding: 17px;
  }

  .phl-route-panel .route-main {
    grid-template-columns:
      110px
      minmax(0,1fr);

    row-gap: 2px;
  }

  .phl-route-panel .route-label {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .phl-route-panel .route-domain {
    grid-column: 2;
    grid-row: 1;
  }

  .phl-route-panel .route-description {
    grid-column: 2;
    grid-row: 2;
  }

  .phl-route-panel .route-open {
    min-width: 78px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {

  .phl-home {
    padding-top: 14px;
  }

  .phl-home-hero {
    gap: 12px;
  }

  .phl-home .home-copy {
    padding:
      25px
      18px;

    border-radius: 18px;
  }

  .phl-home .home-copy h1 {
    font-size: 32px;

    line-height: 1.05;
  }

  .phl-hero-intro {
    font-size: 15px;
  }

  .phl-hero-buttons {
    margin-top: 20px;
  }

  .phl-hero-buttons .btn {
    flex: 1;

    min-width: 0;

    padding:
      11px
      14px;
  }

  .phl-hero-stats {
    gap: 7px;

    margin-top: 22px;
  }

  .phl-hero-stats > div {
    flex: 1;

    min-width: 0;

    padding:
      10px
      8px;

    text-align: center;
  }

  .phl-hero-stats strong {
    font-size: 15px;
  }

  .phl-hero-stats span {
    font-size: 8px;
  }


  /* Route */

  .phl-route-panel {
    padding: 13px;

    border-radius: 18px;
  }

  .phl-route-panel .route-panel-head {
    align-items: center;

    margin-bottom: 4px;
  }

  .route-kicker {
    font-size: 9px;
  }

  .phl-route-panel .route-panel-head h2 {
    font-size: 23px;
  }

  .route-subtitle {
    margin-bottom: 12px;

    font-size: 10px;
  }

  .phl-route-panel .route-list {
    gap: 8px;
  }

  .phl-route-panel .route-card {
    min-height: 69px;

    grid-template-columns:
      minmax(0,1fr)
      auto;

    gap: 8px;

    padding:
      10px
      9px
      10px
      13px;

    border-radius: 13px;
  }

  .phl-route-panel .route-main {
    grid-template-columns: 1fr;

    gap: 1px;
  }

  .phl-route-panel .route-label {
    grid-column: auto;
    grid-row: auto;

    font-size: 9px;
  }

  .phl-route-panel .route-domain {
    grid-column: auto;
    grid-row: auto;

    font-size: 16px;
  }

  .phl-route-panel .route-description {
    grid-column: auto;
    grid-row: auto;

    font-size: 9px;
  }

  .phl-route-panel .route-open {
    min-width: 62px;

    min-height: 36px;

    padding:
      7px
      9px;

    font-size: 10px;
  }

  .phl-route-panel .route-open b {
    display: none;
  }


  /* Lobby */

  .phl-lobby-section {
    margin-top: 30px;
  }

  .section-heading-row {
    margin-bottom: 13px;
  }

  .section-heading-row .section-title {
    font-size: 25px;
  }

  .section-heading-link {
    font-size: 11px;
  }

  .phl-category-strip {
    gap: 8px;
  }

  .phl-category-strip a {
    min-width: 118px;

    padding:
      11px
      13px;

    font-size: 12px;
  }


  /* Info */

  .phl-info-section,
  .phl-home-content,
  .phl-home-faq {
    margin-top: 16px;

    padding:
      20px
      15px;
  }

  .section-heading-simple {
    margin-bottom: 15px;
  }

}
/* =========================================================
   PH LOTTERY - NEW OFFICIAL ROUTE CARDS
   No image version
========================================================= */


/* =========================================================
   ROUTE PANEL
========================================================= */

.route-panel {
  position: relative;

  padding: 22px;

  border: 1px solid rgba(246,195,67,.24);
  border-radius: 22px;

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(246,195,67,.10),
      transparent 250px
    ),
    linear-gradient(
      145deg,
      #1a1c22,
      #08090b
    );

  box-shadow:
    0 26px 65px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.035);

  overflow: hidden;
}


/* subtle gold glow */

.route-panel::before {
  content: "";

  position: absolute;

  top: -120px;
  right: -100px;

  width: 260px;
  height: 260px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(246,195,67,.08),
      transparent 68%
    );

  pointer-events: none;
}


/* =========================================================
   HEADER
========================================================= */

.route-panel-head {
  position: relative;
  z-index: 2;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 14px;

  margin-bottom: 6px;
}

.route-panel-head > div {
  min-width: 0;
}

.route-kicker {
  margin: 0 0 4px;

  color: var(--gold);

  font-size: 10px;

  font-weight: 950;

  letter-spacing: .16em;

  text-transform: uppercase;
}

.route-panel-head h2 {
  margin: 0;

  padding: 0;

  color: #fff;

  font-size:
    clamp(
      25px,
      3vw,
      36px
    );

  font-weight: 950;

  line-height: 1.1;

  letter-spacing: -.025em;
}

.route-panel-head h2::before {
  display: none !important;
}


/* subtitle */

.route-subtitle {
  position: relative;
  z-index: 2;

  margin: 0 0 16px;

  color: var(--muted);

  font-size: 12px;
}


/* =========================================================
   ONLINE BADGE
========================================================= */

.online-pill {
  position: relative;
  z-index: 3;

  flex: 0 0 auto;

  display: inline-flex;

  align-items: center;

  gap: 6px;

  min-height: 31px;

  padding:
    7px
    11px;

  color: #04140b;

  background:
    linear-gradient(
      180deg,
      #2be88e,
      #11c970
    );

  border: 1px solid rgba(255,255,255,.12);

  border-radius: 999px;

  font-size: 11px;

  font-weight: 950;

  box-shadow:
    0 7px 18px rgba(20,212,123,.14);
}

.online-pill::before {
  content: "";

  width: 6px;
  height: 6px;

  flex: 0 0 6px;

  border-radius: 50%;

  background: #fff;

  box-shadow:
    0 0 8px rgba(255,255,255,.9);
}


/* =========================================================
   ROUTE LIST
========================================================= */

.route-list {
  position: relative;
  z-index: 2;

  display: grid;

  gap: 10px;
}


/* =========================================================
   ROUTE CARD
========================================================= */

.route-card {
  position: relative;

  min-height: 83px;

  display: grid;

  grid-template-columns:
    44px
    minmax(0,1fr)
    auto;

  align-items: center;

  gap: 13px;

  padding:
    11px
    11px
    11px
    12px;

  border: 1px solid rgba(255,255,255,.075);

  border-radius: 15px;

  background:
    linear-gradient(
      135deg,
      rgba(28,30,37,.98),
      rgba(11,12,16,.98)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025);

  overflow: hidden;

  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    background .22s ease;
}


/* left gold line */

.route-card::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;
  bottom: 0;

  width: 3px;

  background:
    linear-gradient(
      180deg,
      #ffe47c,
      #f6c343,
      #ff332b
    );

  box-shadow:
    0 0 12px rgba(246,195,67,.16);
}


/* light effect */

.route-card::after {
  content: "";

  position: absolute;

  right: -90px;
  top: -100px;

  width: 190px;
  height: 190px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(246,195,67,.08),
      transparent 70%
    );

  pointer-events: none;
}


/* hover */

.route-card:hover {
  transform: translateY(-2px);

  border-color:
    rgba(246,195,67,.36);

  background:
    linear-gradient(
      135deg,
      rgba(38,36,28,.98),
      rgba(13,14,18,.98)
    );

  box-shadow:
    0 15px 32px rgba(0,0,0,.32),
    0 0 20px rgba(246,195,67,.05);
}


/* =========================================================
   NUMBER
========================================================= */

.route-index {
  position: relative;
  z-index: 2;

  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(246,195,67,.22);

  border-radius: 12px;

  background:
    linear-gradient(
      145deg,
      rgba(246,195,67,.12),
      rgba(246,195,67,.035)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035);
}

.route-index span {
  color: var(--gold-light);

  font-size: 13px;

  font-weight: 950;

  letter-spacing: .04em;
}


/* =========================================================
   BODY
========================================================= */

.route-body {
  position: relative;
  z-index: 2;

  min-width: 0;

  display: grid !important;

  grid-template-columns:
    auto
    minmax(0,1fr);

  grid-template-rows:
    auto
    auto;

  column-gap: 10px;
  row-gap: 2px;

  padding: 0 !important;
}


/* =========================================================
   ONLINE STATUS
========================================================= */

.route-meta {
  grid-column: 1 / -1;

  display: flex;

  align-items: center;

  gap: 5px;

  margin-bottom: 1px;
}

.route-status-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 9px rgba(20,212,123,.55);
}

.route-status-text {
  color: var(--green);

  font-size: 9px;

  font-weight: 950;

  letter-spacing: .10em;

  text-transform: uppercase;
}


/* =========================================================
   DOMAIN
========================================================= */

.route-domain {
  display: block;

  min-width: 0;

  margin: 0 !important;

  color: #fff;

  font-size:
    clamp(
      18px,
      2.25vw,
      25px
    );

  font-weight: 950;

  line-height: 1.15;

  letter-spacing: -.025em;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.route-description {
  display: block;

  min-width: 0;

  margin: 0 !important;

  color: var(--muted);

  font-size: 10px !important;

  line-height: 1.35;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;
}


/* =========================================================
   OPEN BUTTON
========================================================= */

.route-open {
  position: relative;
  z-index: 5;

  min-width: 84px;
  min-height: 40px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 7px;

  padding:
    8px
    13px;

  border:
    1px solid rgba(255,255,255,.13);

  border-radius: 999px;

  color: #fff !important;

  background:
    linear-gradient(
      135deg,
      #ec2e26,
      #ff6842
    );

  font-size: 11px;

  font-weight: 950;

  box-shadow:
    0 8px 20px rgba(255,51,43,.18);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    filter .22s ease;
}

.route-open b {
  color: #fff;

  font-size: 16px;

  line-height: 1;

  transition:
    transform .22s ease;
}

.route-open:hover {
  transform: translateY(-2px);

  filter: brightness(1.06);

  box-shadow:
    0 12px 25px rgba(255,51,43,.25);
}

.route-open:hover b {
  transform: translateX(3px);
}


/* =========================================================
   REMOVE IMAGE ELEMENTS FROM OLD CSS
========================================================= */

.route-card img {
  display: none !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {

  .route-panel {
    padding: 17px;
  }

  .route-card {
    grid-template-columns:
      42px
      minmax(0,1fr)
      auto;

    gap: 11px;
  }

  .route-index {
    width: 36px;
    height: 36px;
  }

  .route-domain {
    font-size: 20px;
  }

  .route-open {
    min-width: 75px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {

  .route-panel {
    padding: 13px;

    border-radius: 18px;
  }

  .route-panel-head h2 {
    font-size: 23px;
  }

  .route-subtitle {
    font-size: 10px;

    margin-bottom: 12px;
  }

  .route-list {
    gap: 8px;
  }

  .route-card {
    min-height: 70px;

    grid-template-columns:
      34px
      minmax(0,1fr)
      auto;

    gap: 8px;

    padding:
      10px
      8px
      10px
      11px;

    border-radius: 13px;
  }

  .route-index {
    width: 31px;
    height: 31px;

    border-radius: 9px;
  }

  .route-index span {
    font-size: 11px;
  }

  .route-meta {
    gap: 4px;
  }

  .route-status-dot {
    width: 5px;
    height: 5px;
  }

  .route-status-text {
    font-size: 8px;
  }

  .route-domain {
    font-size: 15px;
  }

  .route-description {
    font-size: 9px !important;
  }

  .route-open {
    min-width: 60px;
    min-height: 35px;

    padding:
      7px
      9px;

    font-size: 10px;
  }

  .route-open b {
    display: none;
  }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

  .route-panel-head h2 {
    font-size: 21px;
  }

  .online-pill {
    padding:
      5px
      8px;

    font-size: 10px;
  }

  .route-card {
    grid-template-columns:
      30px
      minmax(0,1fr)
      auto;

    gap: 7px;

    padding:
      8px
      7px
      8px
      9px;
  }

  .route-index {
    width: 28px;
    height: 28px;
  }

  .route-domain {
    font-size: 14px;
  }

  .route-open {
    min-width: 54px;

    padding:
      6px
      7px;
  }

}
/* =========================================================
   FORCE SMALL HEADER LOGO
========================================================= */

.site-header .brand {
  width: 135px !important;
  max-width: 135px !important;
  flex: 0 0 135px !important;
}

.site-header .brand img.brand-logo,
.site-header .brand .brand-logo {
  width: 135px !important;
  max-width: 135px !important;
  height: auto !important;
  max-height: 45px !important;
  object-fit: contain !important;
}


/* Desktop */
@media (min-width: 1051px) {
  .site-header .brand {
    width: 135px !important;
    max-width: 135px !important;
    flex-basis: 135px !important;
  }

  .site-header .brand img.brand-logo,
  .site-header .brand .brand-logo {
    width: 135px !important;
    max-width: 135px !important;
    max-height: 45px !important;
  }
}


/* Tablet */
@media (max-width: 1050px) {
  .site-header .brand {
    width: 125px !important;
    max-width: 125px !important;
    flex-basis: 125px !important;
  }

  .site-header .brand img.brand-logo,
  .site-header .brand .brand-logo {
    width: 125px !important;
    max-width: 125px !important;
    max-height: 42px !important;
  }
}


/* Mobile */
@media (max-width: 560px) {
  .site-header .brand {
    width: 108px !important;
    max-width: 108px !important;
    flex-basis: 108px !important;
  }

  .site-header .brand img.brand-logo,
  .site-header .brand .brand-logo {
    width: 108px !important;
    max-width: 108px !important;
    max-height: 36px !important;
  }
}


/* Small phones */
@media (max-width: 390px) {
  .site-header .brand {
    width: 98px !important;
    max-width: 98px !important;
    flex-basis: 98px !important;
  }

  .site-header .brand img.brand-logo,
  .site-header .brand .brand-logo {
    width: 98px !important;
    max-width: 98px !important;
    max-height: 33px !important;
  }
}
/* =========================================================
   HOME H1 SIZE
========================================================= */

.home-copy h1 {
  font-size: clamp(30px, 4vw, 42px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 14px !important;
  max-width: 620px;
}

/* 桌面 */
@media (min-width: 1051px) {
  .home-copy h1 {
    font-size: 40px !important;
  }
}

/* 平板 */
@media (max-width: 1050px) {
  .home-copy h1 {
    font-size: 34px !important;
  }
}

/* 手机 */
@media (max-width: 560px) {
  .home-copy h1 {
    font-size: 28px !important;
    line-height: 1.12 !important;
    margin-bottom: 12px !important;
  }
}

/* 小屏 */
@media (max-width: 390px) {
  .home-copy h1 {
    font-size: 25px !important;
  }
}
/* =========================================================
   PC HOME HERO HEIGHT - COMPACT
========================================================= */

@media (min-width: 1051px) {

  .home-stage {
    min-height: 0 !important;
    height: auto !important;

    align-items: start !important;

    gap: 20px;
  }

  .home-copy,
  .route-panel {
    min-height: 0 !important;
    height: auto !important;
    align-self: start !important;
  }

  /* 左侧内容控制一下高度 */
  .home-copy {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }

  /* 右侧线路区域 */
  .route-panel {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  /* H1 再稍微收一点 */
  .home-copy h1 {
    font-size: 38px !important;
    line-height: 1.08 !important;
    margin-bottom: 14px !important;
  }

  /* 首屏正文 */
  .home-copy p {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  .home-copy .btn-row {
    margin-top: 20px !important;
  }
}