.page-home{
  --home-space: clamp(24px, 4vw, 56px);
  --home-panel-bg: rgba(8, 20, 32, 0.72);
  --home-grid-line: rgba(245, 247, 250, 0.06);
  --home-accent-gradient: linear-gradient(135deg, rgba(0, 255, 156, 0.16) 0%, rgba(255, 108, 0, 0.1) 100%);
  position: relative;
  z-index: 1;
  background:
    linear-gradient(120deg, rgba(0, 255, 156, 0.035) 0%, transparent 32%),
    linear-gradient(240deg, rgba(255, 108, 0, 0.03) 0%, transparent 40%),
    var(--bg-deep);
  color: var(--text-light);
  overflow-x: hidden;
}

.page-home .home-topline{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px var(--home-space) 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
}

.page-home .home-topline__status{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-home .home-topline__clock{
  letter-spacing: 0.08em;
}

.page-home .home-cockpit{
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px var(--home-space) 40px;
}

.page-home .home-cockpit__aside{
  position: relative;
}

.page-home .home-cockpit__aside .page-title{
  margin: 10px 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 5.2vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  transform: skewX(-5deg);
  transform-origin: left center;
  border-left: 4px solid var(--neon-green);
  padding-left: 16px;
}

.page-home .home-cockpit__aside .page-intro{
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-dim);
}

.page-home .home-cockpit__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.page-home .home-cockpit__actions .btn{
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 0;
}

.page-home .home-cockpit__actions .btn--primary{
  background: var(--electric-orange);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 4px 24px rgba(255, 108, 0, 0.25);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.page-home .home-cockpit__actions .btn--primary:hover,
.page-home .home-cockpit__actions .btn--primary:focus-visible{
  background: #ff7d1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 108, 0, 0.35);
}

.page-home .home-cockpit__badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-cockpit__badges li{
  background: var(--home-panel-bg);
  border: 1px solid rgba(0, 255, 156, 0.22);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-dim);
}

.page-home .home-cockpit__badges .mono-num{
  color: var(--neon-green);
  font-size: 17px;
  font-weight: 700;
}

.page-home .home-cockpit__panel{
  position: relative;
  min-height: 460px;
  background: var(--home-panel-bg);
  border: 1px solid rgba(0, 255, 156, 0.18);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  overflow: hidden;
  padding: 20px;
}

.page-home .home-cockpit__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  z-index: 0;
}

.page-home .home-cockpit__grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.page-home .cockpit-card{
  background: linear-gradient(145deg, rgba(0, 255, 156, 0.08) 0%, rgba(8, 20, 32, 0.6) 55%);
  border: 1px solid var(--line-soft);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  padding: 16px 14px 14px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.page-home .cockpit-card:hover{
  transform: translateY(-3px);
  border-color: rgba(0, 255, 156, 0.5);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.3);
}

.page-home .cockpit-card:nth-child(2),
.page-home .cockpit-card:nth-child(4){
  transform: translateY(12px);
}

.page-home .cockpit-card:nth-child(2):hover,
.page-home .cockpit-card:nth-child(4):hover{
  transform: translateY(9px);
}

.page-home .cockpit-card__top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.page-home .cockpit-card__label{
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.page-home .cockpit-card__tag{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--neon-green);
  background: rgba(0, 255, 156, 0.12);
  padding: 3px 8px;
  border-radius: 2px;
}

.page-home .cockpit-card__value{
  font-family: var(--font-mono);
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 800;
  line-height: 1;
  margin: 0 0 8px;
  color: var(--text-light);
}

.page-home .cockpit-card__value .mono-num{
  color: var(--neon-green);
}

.page-home .cockpit-card__unit{
  font-size: 20px;
  color: var(--text-dim);
  margin-left: 2px;
}

.page-home .cockpit-card__note{
  font-size: 12px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.5;
}

.page-home .home-cockpit__meta{
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(245, 247, 250, 0.14);
  font-size: 13px;
  color: var(--text-dim);
}

.page-home .home-cockpit__meta .status-text{
  color: var(--neon-green);
}

.page-home .home-cockpit__meta a{
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 255, 156, 0.35);
  transition: color var(--transition), border-color var(--transition);
}

.page-home .home-cockpit__meta a:hover,
.page-home .home-cockpit__meta a:focus-visible{
  color: var(--neon-green);
  border-color: var(--neon-green);
}

.page-home .home-league{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px var(--home-space) 24px;
}

.page-home .home-section-head{
  margin-bottom: 28px;
}

.page-home .home-section-head .section-label{
  margin-bottom: 6px;
}

.page-home .home-section-head h2{
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.6vw, 32px);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  transform: skewX(-5deg);
  transform-origin: left center;
}

.page-home .home-section-head .section-intro{
  max-width: 680px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-home .home-league__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .league-card{
  position: relative;
  background: linear-gradient(135deg, rgba(30, 77, 74, 0.5) 0%, rgba(8, 20, 32, 0.85) 100%);
  border: 1px solid var(--line-soft);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  padding: 22px 20px 18px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.page-home .league-card:hover,
.page-home .league-card:focus-within{
  border-color: rgba(0, 255, 156, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.page-home .league-card__head{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.page-home .league-card__round{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(0, 255, 156, 0.1);
  border: 1px solid rgba(0, 255, 156, 0.35);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  font-size: 24px;
  font-weight: 800;
  color: var(--neon-green);
}

.page-home .league-card__head h3{
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-light);
}

.page-home .league-card__head p{
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.page-home .league-card__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-dim);
}

.page-home .league-card__meta div{
  display: flex;
  gap: 6px;
}

.page-home .league-card__meta dt{
  color: var(--text-dim);
  opacity: 0.85;
}

.page-home .league-card__meta dd{
  margin: 0;
  color: var(--text-light);
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-home .league-card__link{
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--neon-green);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 255, 156, 0.3);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}

.page-home .league-card__link:hover,
.page-home .league-card__link:focus-visible{
  color: var(--electric-orange);
  border-color: var(--electric-orange);
}

.page-home .home-gateway{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px var(--home-space) 32px;
}

.page-home .home-gateway__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .gateway-btn{
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--home-panel-bg);
  border: 1px solid var(--line-soft);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  padding: 24px 20px;
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.page-home .gateway-btn:hover,
.page-home .gateway-btn:focus-visible{
  border-color: rgba(0, 255, 156, 0.55);
  transform: translateX(6px);
  background: linear-gradient(135deg, rgba(0, 255, 156, 0.1) 0%, rgba(8, 20, 32, 0.85) 100%);
}

.page-home .gateway-btn--new{
  border-left: 4px solid var(--neon-green);
}

.page-home .gateway-btn--return{
  border-left: 4px solid rgba(0, 255, 156, 0.6);
}

.page-home .gateway-btn--pin{
  border-left: 4px solid var(--electric-orange);
}

.page-home .gateway-btn__icon{
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 800;
  color: rgba(245, 247, 250, 0.2);
  line-height: 1;
}

.page-home .gateway-btn--new .gateway-btn__icon{
  color: rgba(0, 255, 156, 0.4);
}

.page-home .gateway-btn--return .gateway-btn__icon{
  color: rgba(0, 255, 156, 0.3);
}

.page-home .gateway-btn--pin .gateway-btn__icon{
  color: rgba(255, 108, 0, 0.4);
}

.page-home .gateway-btn__text{
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.page-home .gateway-btn__text strong{
  font-size: 17px;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.35;
}

.page-home .gateway-btn__text small{
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

.page-home .gateway-btn__arrow{
  font-size: 22px;
  color: var(--text-dim);
  transition: color var(--transition), transform var(--transition);
}

.page-home .gateway-btn:hover .gateway-btn__arrow,
.page-home .gateway-btn:focus-visible .gateway-btn__arrow{
  color: var(--neon-green);
  transform: translateX(4px);
}

.page-home .home-update{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px var(--home-space) 32px;
}

.page-home .home-update__layout{
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-home .home-update__timeline{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.page-home .home-update__timeline::before{
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--neon-green) 0%, rgba(0, 255, 156, 0.2) 100%);
}

.page-home .update-item{
  position: relative;
  padding: 0 0 30px 32px;
}

.page-home .update-item::before{
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 16px;
  height: 16px;
  background: var(--bg-deep);
  border: 3px solid var(--neon-green);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(0, 255, 156, 0.35);
}

.page-home .update-item:last-child{
  padding-bottom: 0;
}

.page-home .update-item__time{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--neon-green);
  background: rgba(0, 255, 156, 0.1);
  padding: 3px 10px;
  margin-bottom: 10px;
}

.page-home .update-item__content h3{
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-light);
}

.page-home .update-item__content p{
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 560px;
}

.page-home .update-item__tag{
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--electric-orange);
  background: rgba(255, 108, 0, 0.12);
  padding: 3px 10px;
  border-radius: 2px;
}

.page-home .home-update__aside{
  background: linear-gradient(145deg, rgba(15, 58, 64, 0.55) 0%, rgba(8, 20, 32, 0.85) 100%);
  border: 1px solid var(--line-soft);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  padding: 28px 24px;
}

.page-home .home-update__statement{
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-dim);
  margin: 10px 0 20px;
}

.page-home .home-scenario{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px var(--home-space) 32px;
}

.page-home .home-scenario__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-home .scenario-card{
  display: grid;
  grid-template-columns: 1fr;
  background: var(--home-panel-bg);
  border: 1px solid var(--line-soft);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.page-home .scenario-card:hover,
.page-home .scenario-card:focus-within{
  border-color: rgba(0, 255, 156, 0.4);
  transform: translateY(-3px);
}

.page-home .scenario-card__media{
  position: relative;
  overflow: hidden;
}

.page-home .scenario-card__media img{
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
  filter: saturate(0.8) contrast(1.05);
}

.page-home .scenario-card__body{
  padding: 22px 20px 24px;
}

.page-home .scenario-card__tag{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--neon-green);
  background: rgba(0, 255, 156, 0.12);
  padding: 3px 10px;
  margin-bottom: 10px;
}

.page-home .scenario-card__body h3{
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text-light);
}

.page-home .scenario-card__body p{
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-home .scenario-card__link{
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--neon-green);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 255, 156, 0.3);
  transition: color var(--transition), border-color var(--transition);
}

.page-home .scenario-card__link:hover,
.page-home .scenario-card__link:focus-visible{
  color: var(--electric-orange);
  border-color: var(--electric-orange);
}

.page-home .home-trust{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px var(--home-space) 72px;
}

.page-home .home-trust__inner{
  position: relative;
  background:
    linear-gradient(120deg, rgba(30, 77, 74, 0.45) 0%, rgba(8, 20, 32, 0.9) 60%),
    radial-gradient(circle at 85% 20%, rgba(0, 255, 156, 0.08) 0%, transparent 60%);
  border: 1px solid rgba(0, 255, 156, 0.18);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  padding: 36px 28px;
}

.page-home .home-trust__lead{
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-dim);
  max-width: 640px;
  margin: 10px 0 24px;
}

.page-home .home-trust__facts{
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 28px;
}

.page-home .home-trust__fact{
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  color: var(--neon-green);
}

.page-home .home-trust__fact em{
  font-style: normal;
  font-size: 16px;
  color: var(--text-dim);
}

.page-home .home-trust__fact p{
  width: 100%;
  margin: 2px 0 0;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-dim);
}

.page-home .home-trust__links{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.page-home .home-trust__links .btn{
  padding: 10px 22px;
  font-size: 14px;
}

.page-home .home-trust__note{
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

@media (min-width: 560px){
  .page-home .home-cockpit__grid{
    gap: 18px;
  }

  .page-home .home-scenario__grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .home-scenario__grid .scenario-card:last-child{
    grid-column: span 2;
  }

  .page-home .scenario-card__media img{
    min-height: 210px;
  }
}

@media (min-width: 768px){
  .page-home .home-cockpit{
    padding-top: 28px;
  }

  .page-home .home-league__grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .home-gateway__grid{
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .page-home .gateway-btn{
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 20px;
  }

  .page-home .gateway-btn__arrow{
    position: absolute;
    right: 16px;
    top: 26px;
  }

  .page-home .home-update__layout{
    grid-template-columns: 1fr 300px;
    align-items: start;
  }

  .page-home .update-item__content p{
    max-width: 620px;
  }

  .page-home .home-scenario__grid{
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-scenario__grid .scenario-card:last-child{
    grid-column: span 1;
  }

  .page-home .scenario-card{
    grid-template-columns: 1fr;
  }

  .page-home .scenario-card__media img{
    min-height: 180px;
  }

  .page-home .home-trust__inner{
    padding: 44px 40px;
  }
}

@media (min-width: 1024px){
  .page-home .home-cockpit{
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    min-height: 540px;
    padding-top: 20px;
  }

  .page-home .home-cockpit__aside{
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-home .home-cockpit__panel{
    min-height: 520px;
    padding: 28px;
  }

  .page-home .home-cockpit__grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-home .home-cockpit__badges{
    margin-top: auto;
    padding-top: 20px;
  }

  .page-home .home-league__grid{
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }

  .page-home .league-card{
    grid-column: span 2;
  }

  .page-home .league-card:nth-child(4){
    grid-column: 1 / span 2;
  }

  .page-home .league-card:nth-child(5){
    grid-column: 3 / span 2;
  }

  .page-home .league-card__head{
    gap: 12px;
  }

  .page-home .league-card__round{
    width: 44px;
    height: 44px;
  }

  .page-home .home-scenario{
    padding-bottom: 48px;
  }

  .page-home .home-scenario__grid{
    gap: 22px;
  }

  .page-home .scenario-card__body{
    padding: 24px 22px 26px;
  }

  .page-home .home-trust{
    padding-bottom: 80px;
  }
}

@media (min-width: 1280px){
  .page-home .home-cockpit{
    grid-template-columns: 0.85fr 1.25fr;
  }

  .page-home .cockpit-card__value{
    font-size: 48px;
  }

  .page-home .home-cockpit__grid{
    gap: 24px;
  }

  .page-home .cockpit-card{
    padding: 22px 20px 18px;
  }
}
