.page-home {
  --home-accent-soft: rgba(255, 107, 44, 0.14);
  --home-accent-line: rgba(255, 107, 44, 0.35);
  --home-on-light: #33415c;
  --home-panel-dark: #14233d;
  --home-sheet-dark: #0b1b3a;
}

.page-home-hero {
  position: relative;
  background: var(--home-sheet-dark);
  padding: 52px 0 68px;
  overflow: hidden;
}
.page-home-hero::before {
  content: "";
  position: absolute;
  top: -12%;
  right: -30%;
  width: 60%;
  height: 124%;
  background: linear-gradient(135deg, rgba(20, 35, 61, 0) 0%, rgba(20, 35, 61, 0.55) 48%, rgba(20, 35, 61, 0.95) 100%);
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}
.page-home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background: var(--bright-orange);
  z-index: 3;
}
.page-home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 40px;
}
.page-home-hero__copy {
  max-width: 640px;
}
.page-home-hero__desc {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.78;
  margin: 20px 0 28px;
}
.page-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.page-home-login-btn {
  position: relative;
  overflow: hidden;
}
.page-home-login-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.page-home-login-btn:active::after {
  opacity: 1;
  transform: scale(2.4);
}
.page-home-device-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-secondary);
}
.page-home-device-hint__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--highlight-green);
  box-shadow: 0 0 0 5px rgba(46, 229, 157, 0.18);
}
.page-home-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 36px;
  border-top: 2px solid var(--home-accent-line);
  padding-top: 22px;
}
.page-home-hero__stats .stat {
  min-width: 88px;
  display: flex;
  flex-direction: column;
}
.page-home-hero__stats .stat-value {
  font-family: var(--font-headings);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}
.page-home-hero__stats .stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
}
.page-home-hero__visual {
  display: grid;
  gap: 20px;
}
.page-home-login-panel {
  position: relative;
  border: var(--border-thick) solid var(--bright-orange);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  background: var(--home-panel-dark);
}
.page-home-login-panel__img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.page-home-login-panel__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: var(--bright-orange);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
}
.page-home-scoreboard {
  background: rgba(255, 255, 255, 0.05);
  border: var(--border-med) solid var(--home-accent-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px 16px;
  align-items: center;
}
.page-home-scoreboard__head {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--home-accent-line);
  padding-bottom: 8px;
}
.page-home-scoreboard__live {
  background: var(--highlight-green);
  color: #0a1426;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 4px;
}
.page-home-scoreboard__team {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 18px;
  color: var(--text-primary);
}
.page-home-scoreboard__score {
  font-family: var(--font-headings);
  font-size: 28px;
  font-weight: 900;
  color: var(--bright-orange);
  text-align: center;
}
.page-home-scoreboard__more {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--home-accent-soft);
  border: 2px solid var(--home-accent-line);
  border-radius: 999px;
  padding: 8px 16px;
  margin-top: 4px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.page-home-scoreboard__more:hover {
  background: var(--bright-orange);
  border-color: var(--bright-orange);
  color: #ffffff;
}

@media (min-width: 1024px) {
  .page-home-hero {
    padding: 88px 0 96px;
  }
  .page-home-hero__inner {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 56px;
    align-items: center;
  }
  .page-home-login-panel__img {
    height: 300px;
  }
  .page-home-scoreboard {
    padding: 20px 24px;
  }
}

.page-home-expert {
  background: var(--surface-light);
  color: var(--home-on-light);
  padding: 64px 0 72px;
}
.page-home-expert .section-eyebrow {
  color: var(--bright-orange);
}
.page-home-expert .section-title {
  color: var(--primary-blue);
}
.page-home-expert__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.page-home-expert__lead {
  max-width: 660px;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--home-on-light);
}
.page-home-expert__tip {
  display: inline-block;
  margin-top: 14px;
  background: var(--home-accent-soft);
  border-left: 3px solid var(--bright-orange);
  color: var(--home-on-light);
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.6;
}
.page-home-expert__grid {
  margin-top: 36px;
}
.page-home-expert-card {
  background: var(--home-panel-dark);
  color: var(--text-primary);
  border: var(--border-thick) solid var(--home-panel-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.page-home-expert-card:hover {
  transform: translateY(-4px);
}
.page-home-expert-card__frame {
  border-bottom: 3px solid var(--bright-orange);
}
.page-home-expert-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.page-home-expert-card__tag {
  align-self: flex-start;
  background: var(--home-accent-soft);
  border: 2px solid rgba(255, 107, 44, 0.4);
  color: #ffb18a;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.page-home-expert-card__title {
  font-family: var(--font-headings);
  font-size: 21px;
  line-height: 1.35;
  margin: 0;
  color: var(--text-primary);
}
.page-home-expert-card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}
.page-home-expert-card__meta {
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.85;
}

@media (min-width: 960px) {
  .page-home-expert {
    padding: var(--space-section) 0;
  }
}

.page-home-schedule {
  background: var(--home-sheet-dark);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-home-schedule__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.page-home-schedule__lead {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.page-home-tabs {
  margin-top: 32px;
}
.page-home-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 2px solid rgba(176, 196, 222, 0.18);
}
.page-home-tab {
  background: transparent;
  border: none;
  border-bottom: 4px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 800;
  padding: 12px 18px;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.page-home-tab:hover {
  color: var(--text-primary);
  background: var(--home-accent-soft);
}
.page-home-tab[aria-selected="true"] {
  color: var(--text-primary);
  border-bottom-color: var(--highlight-green);
  background: var(--home-accent-soft);
}
.page-home-tab:focus-visible {
  outline: 2px solid var(--highlight-green);
  outline-offset: 2px;
}
.page-home-tab-panel {
  padding-top: 22px;
}
.page-home-tabs .tab-panel[hidden] {
  display: none;
}
.page-home-match-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.page-home-match-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 2px solid rgba(255, 107, 44, 0.22);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.page-home-match-item:hover {
  border-color: rgba(255, 107, 44, 0.55);
  background: rgba(255, 255, 255, 0.07);
}
.page-home-match-item__team {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}
.page-home-match-item__score {
  font-family: var(--font-headings);
  font-weight: 900;
  font-size: 17px;
  color: var(--bright-orange);
  text-align: center;
  white-space: nowrap;
}
.page-home-match-item__status {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: left;
  white-space: nowrap;
  grid-column: 1 / -1;
}
.page-home-schedule__stage {
  margin-top: 36px;
  border: var(--border-thick) solid var(--home-panel-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.page-home-schedule__stage img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

@media (min-width: 960px) {
  .page-home-schedule {
    padding: var(--space-section) 0;
  }
  .page-home-match-item {
    grid-template-columns: 1fr auto 1fr auto;
    gap: 10px 14px;
  }
  .page-home-match-item__status {
    grid-column: auto;
    text-align: right;
  }
  .page-home-schedule__stage img {
    height: 320px;
  }
}

.page-home-focus {
  background: var(--surface-light);
  color: var(--home-on-light);
  padding: 64px 0 72px;
}
.page-home-focus .section-eyebrow {
  color: var(--bright-orange);
}
.page-home-focus .section-title {
  color: var(--primary-blue);
}
.page-home-focus__grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.page-home-focus__desc {
  max-width: 600px;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--home-on-light);
}
.page-home-focus__steps {
  margin: 28px 0 24px;
}
.page-home-focus__device img {
  display: block;
  width: 100%;
  height: auto;
  border: var(--border-thick) solid var(--primary-blue);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

@media (min-width: 960px) {
  .page-home-focus {
    padding: var(--space-section) 0;
  }
  .page-home-focus__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
}

.page-home-register {
  position: relative;
  background: var(--home-panel-dark);
  padding: 64px 0 72px;
  overflow: hidden;
}
.page-home-register::before {
  content: "";
  position: absolute;
  top: 0;
  right: -12%;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 27, 58, 0) 0%, rgba(11, 27, 58, 0.35) 100%);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}
.page-home-register__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
  justify-items: start;
}
.page-home-register__desc {
  max-width: 620px;
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.page-home-register__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.page-home-register__steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--home-accent-line);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}
.page-home-register__steps li span {
  color: var(--bright-orange);
  font-weight: 900;
  font-size: 18px;
}
.page-home-register__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

@media (min-width: 960px) {
  .page-home-register {
    padding: var(--space-section) 0;
  }
}
