*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  background: radial-gradient(circle at top, #0d773b 0, #064121 45%, #031b10 100%);
  color: #f7fdf9;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5vw;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85), rgba(3, 54, 24, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-ball {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #ffffff 0, #ffffff 40%, #cccccc 65%, #888888 100%),
    conic-gradient(
      from 0deg,
      #111 0deg 36deg,
      #fff 36deg 72deg,
      #111 72deg 108deg,
      #fff 108deg 144deg,
      #111 144deg 180deg,
      #fff 180deg 216deg,
      #111 216deg 252deg,
      #fff 252deg 288deg,
      #111 288deg 324deg,
      #fff 324deg 360deg
    );
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.logo-text h1 {
  font-size: 20px;
  letter-spacing: 0.08em;
}

.logo-text p {
  font-size: 12px;
  opacity: 0.7;
}

.main-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.main-nav a {
  color: #f7fdf9;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s ease-out;
}

.main-nav a:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(10, 150, 80, 0.6);
}

.page-main {
  flex: 1;
  padding: 20px 5vw 32px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 20px;
}

.card {
  background: rgba(0, 0, 0, 0.75);
  border-radius: 18px;
  padding: 18px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.06) 0,
      transparent 40%,
      transparent 60%,
      rgba(255, 255, 255, 0.04) 100%
    ),
    radial-gradient(circle at top left, rgba(0, 255, 127, 0.18), transparent 55%);
  opacity: 0.9;
  mix-blend-mode: screen;
  z-index: -1;
}

.card h2 {
  font-size: 18px;
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 13px;
  opacity: 0.75;
  margin-bottom: 14px;
}

.card-today {
  grid-row: span 2;
}

.plan-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-item {
  background: rgba(4, 38, 20, 0.9);
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 255, 170, 0.15);
  position: relative;
}

.plan-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.plan-league {
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 4px;
}

.plan-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  font-size: 16px;
  font-weight: 600;
}

.plan-match .team {
  max-width: 45%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.plan-match .vs {
  font-size: 12px;
  opacity: 0.8;
}

.plan-meta {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
  font-size: 12px;
  opacity: 0.9;
}

.plan-pick {
  font-size: 13px;
  margin-bottom: 4px;
}

.pick-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(0, 255, 127, 0.1);
  border: 1px solid rgba(0, 255, 127, 0.7);
}

.pick-win {
  color: #00ff9c;
}

.plan-note {
  font-size: 12px;
  opacity: 0.85;
  line-height: 1.5;
}

.hint {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  border-left: 2px solid rgba(0, 255, 170, 0.5);
  padding-left: 8px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 6px;
}

.schedule-table th,
.schedule-table td {
  padding: 6px 8px;
  text-align: left;
}

.schedule-table thead {
  background: rgba(0, 0, 0, 0.7);
}

.schedule-table tbody tr:nth-child(even) {
  background: rgba(5, 45, 24, 0.75);
}

.schedule-table tbody tr:nth-child(odd) {
  background: rgba(3, 32, 18, 0.9);
}

.status-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
}

.status-pending {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.7);
}

.status-has-plan {
  background: rgba(0, 255, 127, 0.1);
  color: #00ff9c;
  border: 1px solid rgba(0, 255, 127, 0.7);
}

.card-stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.stats-item {
  border-radius: 12px;
  padding: 10px;
  background: radial-gradient(circle at top left, rgba(0, 255, 170, 0.25), transparent 60%);
  border: 1px solid rgba(0, 255, 170, 0.3);
}

.stats-label {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 4px;
}

.stats-value {
  font-size: 18px;
  font-weight: 700;
}

.stats-note {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.75;
}

.site-footer {
  text-align: center;
  font-size: 12px;
  padding: 12px 10px 16px;
  background: rgba(0, 0, 0, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer p + p {
  margin-top: 4px;
}

@media (max-width: 900px) {
  .page-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-today {
    grid-row: auto;
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding-inline: 16px;
  }

  .page-main {
    padding-inline: 16px;
  }

  .logo-text h1 {
    font-size: 18px;
  }
}


