:root {
  --bg: #070b13;
  --bg-soft: #101827;
  --card: rgba(18, 27, 43, 0.82);
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #f5f7fb;
  --muted: #9aa8bf;
  --accent: #60a5fa;
  --accent-2: #22c55e;
  --danger: #ef4444;
  --draw: #f59e0b;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: var(--text);

  background:
    linear-gradient(rgba(7, 11, 19, 0.82), rgba(7, 11, 19, 0.9)),
    url("bg.jpg");

  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.site-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.06em;
}

.status-pill {
  padding: 0.65rem 1rem;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
}

.layout {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card {
  margin-bottom: 1rem;
}

.hero-card h2,
.card h2 {
  margin: 0 0 0.5rem;
}

.hero-card p,
.card p {
  color: var(--muted);
  line-height: 1.6;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.tab {
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.tab:hover,
.tab.active {
  background: var(--accent);
  color: #031225;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.grid {
  display: grid;
  gap: 1rem;
}

.two-col {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 1rem;
}

.section-title h2 {
  margin: 0;
}

.section-title span {
  color: var(--muted);
  font-size: 0.9rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

/* Home */

.home-weather-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1rem;
  min-height: 220px;
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.18), transparent 26rem),
    radial-gradient(circle at bottom left, rgba(96, 165, 250, 0.14), transparent 24rem),
    var(--card);
}

.home-weather-left {
  min-width: 0;
}

.home-weather-main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.home-weather-main h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.home-weather-main p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.home-weather-stats {
  display: grid;
  gap: 0.7rem;
  min-width: 190px;
}

.home-weather-stats span {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-weight: 700;
}

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

.home-card {
  min-height: 210px;
}

.home-card-wide {
  grid-column: span 2;
  min-height: auto;
}

.home-feature {
  height: calc(100% - 2.5rem);
}

.home-feature-main {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.home-feature-main h3 {
  margin: 0;
  line-height: 1.25;
}

.home-feature-main p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.home-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 1.5rem;
  flex: 0 0 auto;
}

.home-jump-button {
  margin-top: 1rem;
  border: 1px solid var(--card-border);
  background: rgba(96, 165, 250, 0.18);
  color: var(--text);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.home-jump-button:hover {
  background: var(--accent);
  color: #031225;
}

.home-feature-link {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
  text-decoration: none;
}

.home-feature-link:hover h3 {
  text-decoration: underline;
}

.home-deal-thumb {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

.home-deal-thumb-empty {
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.home-feature-link span {
  color: var(--muted);
  text-decoration: line-through;
}

.home-saving {
  flex: 0 0 auto;
  align-self: flex-start;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
}

.home-list {
  display: grid;
  gap: 0.65rem;
}

.home-list-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* Weather */

.weather-current {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.weather-current h3 {
  margin: 0;
  font-size: 2rem;
}

.weather-current p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.weather-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 22px;
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

.weather-icon-large {
  width: 105px;
  height: 105px;
  border-radius: 32px;
  font-size: 3.3rem;
}

.weather-current-large h3 {
  font-size: 3rem;
}

.weather-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.weather-stats span {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.9rem;
}

.weather-panel {
  display: grid;
  gap: 1rem;
}

.weather-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.weather-stats-grid span {
  text-align: center;
  border-radius: 16px;
}

.forecast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.forecast-card {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.forecast-icon {
  font-size: 1.8rem;
}

.forecast-card h3 {
  margin: 0;
}

.forecast-card p {
  margin: 0.25rem 0;
  color: var(--muted);
}

.forecast-card strong {
  display: block;
  margin-top: 0.25rem;
}

.forecast-card span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Football */

.football-hero,
.gaming-hero,
.media-hero,
.extras-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.football-hero h2,
.gaming-hero h2,
.media-hero h2,
.extras-hero h2 {
  margin: 0;
}

.football-hero p,
.gaming-hero p,
.media-hero p,
.extras-hero p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.football-hero span,
.gaming-hero span,
.media-hero span,
.extras-hero span {
  color: var(--muted);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
  white-space: nowrap;
}

.football-main-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.75rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

th {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.highlight-row {
  background: rgba(239, 68, 68, 0.08);
}

.team-cell {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
}

.large-badge {
  width: 42px;
  height: 42px;
}

.fixture-list {
  display: grid;
  gap: 0.75rem;
}

.fixture {
  padding: 0.85rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.fixture-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}

.fixture-main {
  font-weight: 800;
}

.fixture-detail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.fixture-detail-row span {
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.8rem;
}

.fixture-meta {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.result {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
}

.result.W {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
}

.result.D {
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
}

.result.L {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.feature-match-card {
  padding: 1rem;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(239, 68, 68, 0.16), transparent 18rem),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-match-top,
.feature-match-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-match-top strong {
  color: #fca5a5;
}

.feature-match-main h3 {
  margin: 0.8rem 0 0;
  font-size: 1.35rem;
}

.feature-match-main p {
  margin: 0.35rem 0 0.8rem;
  color: var(--muted);
}

.football-subsection {
  margin-top: 1rem;
}

.football-subsection h3,
.football-stats-grid h3 {
  margin: 0 0 0.75rem;
}

.football-stats-card,
.football-vidiprinter-card {
  margin-top: 1rem;
}

.football-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-list {
  display: grid;
  gap: 0.65rem;
}

.stats-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.stats-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.stats-left span {
  display: block;
  font-weight: 800;
}

.stats-left p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.stats-number {
  text-align: right;
}

.stats-number strong {
  display: block;
  font-size: 1.1rem;
}

.stats-number span {
  color: var(--muted);
  font-size: 0.8rem;
}

.mufc-summary-card {
  display: grid;
  gap: 1rem;
  padding: 0.85rem;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(239, 68, 68, 0.14), transparent 16rem),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.mufc-summary-card h3 {
  margin: 0;
}

.mufc-summary-card p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.summary-grid span {
  padding: 0.55rem;
  border-radius: 14px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
}

.summary-grid strong {
  display: block;
  color: var(--text);
}

.vidiprinter-wrap {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.75rem;
}

.vidiprinter-wrap .fwp-embed {
  width: 100%;
  min-height: 420px;
}

.vidiprinter-wrap iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

/* Gaming / Media / Extras */

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

.gaming-wide,
.media-wide,
.extras-wide {
  grid-column: span 1;
}

.media-wide-full {
  grid-column: span 2;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.deal-card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 0.8rem;
  min-height: 112px;
  padding: 0.8rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.deal-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(96, 165, 250, 0.45);
}

.deal-thumb {
  width: 80px;
  height: 100%;
  min-height: 80px;
  object-fit: cover;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.deal-thumb-empty {
  display: grid;
  place-items: center;
  font-size: 1.7rem;
}

.deal-content {
  min-width: 0;
}

.deal-title-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
}

.deal-title-row h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.25;
}

.deal-saving {
  flex: 0 0 auto;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
  font-size: 0.8rem;
  font-weight: 800;
}

.deal-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.deal-price-row strong {
  font-size: 1.1rem;
}

.deal-price-row span {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.9rem;
}

.deal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.deal-meta span {
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.mini-card-list {
  display: grid;
  gap: 0.75rem;
}

.mini-card {
  padding: 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.mini-card-icon-layout {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.mini-card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-card-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px;
}

.mini-card-icon-fallback {
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.mini-card-body {
  min-width: 0;
}

.mini-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.mini-card h3 {
  margin: 0;
  font-size: 1rem;
}

.mini-card-top span {
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.mini-card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.gaming-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.gaming-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.gaming-link:hover {
  background: var(--accent);
  color: #031225;
}

.gaming-link-with-logo {
  gap: 0.55rem;
}

.gaming-link-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 4px;
  flex: 0 0 auto;
}

/* Setup / Steam */

.setup-card {
  display: grid;
  gap: 1rem;
}

.setup-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.16), transparent 16rem),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.setup-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 22px;
  font-size: 2rem;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.24);
}

.setup-hero h3 {
  margin: 0;
  font-size: 1.3rem;
}

.setup-hero p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.setup-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.setup-spec {
  padding: 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.setup-spec span {
  display: block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.setup-spec strong {
  display: block;
  font-size: 1rem;
}

.setup-spec p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.steam-profile-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem;
  min-height: 132px;
  border-radius: 20px;
  color: var(--text);
  text-decoration: none;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.16), transparent 16rem),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.steam-profile-card:hover {
  transform: translateY(-2px);
  background: rgba(96, 165, 250, 0.16);
  border-color: rgba(96, 165, 250, 0.45);
}

.steam-logo {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.steam-profile-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.steam-profile-card p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.steam-profile-card > strong {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(96, 165, 250, 0.15);
  font-size: 0.85rem;
}

/* Media */

.media-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.media-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.8rem;
  min-height: 145px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.media-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(96, 165, 250, 0.45);
}

.media-poster {
  width: 88px;
  height: 130px;
  object-fit: cover;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.media-poster-empty {
  display: grid;
  place-items: center;
  font-size: 2rem;
}

.media-content {
  min-width: 0;
}

.media-title-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}

.media-title-row h3 {
  margin: 0;
  line-height: 1.25;
  font-size: 1rem;
}

.media-title-row span {
  flex: 0 0 auto;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(96, 165, 250, 0.15);
  font-size: 0.8rem;
  font-weight: 800;
}

.media-content p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.media-meta span {
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.82rem;
}

.media-attribution {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Extras */

.spotify-card {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.spotify-card iframe {
  display: block;
  border-radius: 18px;
}

.internet-check-grid {
  display: grid;
  gap: 0.75rem;
}

.internet-check-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem;
  border-radius: 18px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.internet-check-card:hover {
  transform: translateY(-2px);
  background: rgba(96, 165, 250, 0.16);
  border-color: rgba(96, 165, 250, 0.45);
}

.internet-check-card > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 16px;
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.internet-check-card h3 {
  margin: 0;
  font-size: 1rem;
}

.internet-check-card p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.meme-panel {
  display: grid;
  gap: 1rem;
}

.meme-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.meme-button {
  border: 1px solid var(--card-border);
  background: rgba(96, 165, 250, 0.18);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
}

.meme-button:hover {
  background: var(--accent);
  color: #031225;
}

.meme-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.meme-status {
  color: var(--muted);
  font-size: 0.95rem;
}

.meme-result {
  min-height: 260px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.meme-placeholder {
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: var(--muted);
}

.meme-placeholder span {
  display: block;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.meme-placeholder p {
  margin: 0;
}

.meme-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.meme-image {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.25);
}

.meme-info {
  align-self: center;
}

.meme-info h3 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.25;
}

.meme-info p {
  color: var(--muted);
}

.meme-info a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
}

.meme-info a:hover {
  background: var(--accent);
  color: #031225;
}

.muted {
  color: var(--muted);
}

footer {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  color: var(--muted);
}

@media (max-width: 1200px) {
  .football-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .deal-grid,
  .media-card-grid,
  .forecast-grid,
  .weather-stats-grid,
  .setup-spec-grid {
    grid-template-columns: 1fr;
  }

  .football-main-grid {
    grid-template-columns: 1fr;
  }

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

  .home-weather-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .site-header,
  .football-hero,
  .gaming-hero,
  .media-hero,
  .extras-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .two-col,
  .gaming-grid,
  .media-grid,
  .extras-grid,
  .home-grid,
  .football-stats-grid {
    grid-template-columns: 1fr;
  }

  .media-wide-full,
  .home-card-wide {
    grid-column: span 1;
  }

  .layout,
  .site-header,
  footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .home-weather-main {
    align-items: flex-start;
  }

  .home-weather-main h2 {
    font-size: 2.6rem;
  }

  .weather-icon-large {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    font-size: 2.3rem;
  }

  .home-weather-stats {
    grid-template-columns: 1fr;
  }

  .deal-card {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .deal-thumb {
    width: 70px;
  }

  .media-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .media-poster {
    width: 72px;
    height: 108px;
  }

  .steam-profile-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .steam-profile-card > strong {
    grid-column: 1 / -1;
    justify-self: flex-start;
  }

  body {
    background-attachment: scroll;
  }
}
