/* Base reset and typography */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  color: #f7fafc;
  background: radial-gradient(circle at top left, #1b2845 0, #050813 45%, #000 100%);
  line-height: 1.6;
}
.has-football-hero {
  position: relative;
}
.has-football-hero::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 280px;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.5), transparent),
    url("https://img.mahjongjp88.is/sbo/bgfoot.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.has-football-hero-blog::before {
  inset: 0;
  height: auto;
  background-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.9) 10%,
      rgba(0, 0, 0, 0.85) 20%,
      rgba(0, 0, 0, 0.9) 35%,
      rgba(0, 0, 0, 0.98) 60%,
      rgba(0, 0, 0, 1) 100%
    ),
    url("https://img.mahjongjp88.is/sbo/bgfoot.jpg");
  background-size: cover;
  background-position: center top;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
/* Layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section {
  padding: 4rem 0;
}
.section-alt {
  background: radial-gradient(circle at top, rgba(66, 153, 225, 0.08), transparent 52%);
}
.page-main {
  padding-top: 4.5rem;
}
.page-header {
  padding: 4.5rem 0 2rem;
}
.page-header h1 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}
/* Header & navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(5, 10, 24, 0.95),
    rgba(5, 10, 24, 0.78),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.logo-img {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: conic-gradient(
    from 140deg,
    #38bdf8,
    #22c55e,
    #f97316,
    #facc15,
    #38bdf8
  );
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #0b1220;
  font-weight: 700;
}
.logo-text {
  font-size: 0.95rem;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}
.nav-link {
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  color: #e2e8f0;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.nav-link:hover {
  background: rgba(148, 163, 184, 0.18);
  transform: translateY(-1px);
}
.nav-link.active {
  background: linear-gradient(135deg, #38bdf8, #22c55e);
  color: #020617;
  font-weight: 600;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.3rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: #e2e8f0;
}
.nav-toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
/* Hero */
.hero {
  padding: 5rem 0 3.5rem;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  font-size: 0.7rem;
  color: #38bdf8;
  margin: 0 0 0.75rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 4.1vw, 3.2rem);
  line-height: 1.06;
  margin: 0 0 1rem;
}
.accent-gradient {
  background: linear-gradient(135deg, #38bdf8, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  color: #cbd5f5;
  max-width: 34rem;
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}
.hero-stats dt {
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.hero-stats dd {
  margin: 0;
  font-size: 0.9rem;
  color: #9ca3af;
}
.hero-art {
  display: flex;
  justify-content: center;
}
.pitch-card {
  background: radial-gradient(circle at top, #0f172a 0, #020617 55%);
  border-radius: 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.7),
    0 0 0 1px rgba(15, 118, 110, 0.3);
  padding: 1.5rem 1.5rem 1.25rem;
  width: 100%;
  max-width: 360px;
}
.pitch {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  aspect-ratio: 4 / 3;
  background: radial-gradient(circle at center, #020617 0, #020617 42%, #0b1120 100%);
  overflow: hidden;
}
.pitch-line {
  position: absolute;
  border: 1px solid rgba(148, 163, 184, 0.5);
}
.centre-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.box {
  width: 70px;
  height: 120px;
  top: 50%;
  transform: translateY(-50%);
}
.box-left {
  left: 2%;
}
.box-right {
  right: 2%;
}
.player-dot,
.ball-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 999px;
}
.player-dot {
  background: radial-gradient(circle at 30% 30%, #e5e7eb, #38bdf8);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
}
.dot-1 {
  left: 34%;
  top: 28%;
}
.dot-2 {
  left: 44%;
  top: 60%;
}
.dot-3 {
  left: 64%;
  top: 44%;
}
.dot-4 {
  left: 24%;
  top: 62%;
}
.ball-dot {
  background: radial-gradient(circle at 30% 30%, #f9fafb, #facc15);
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.3);
  left: 52%;
  top: 38%;
}
.passing-line {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.9));
  height: 2px;
}
.passing-1 {
  width: 70px;
  left: 31%;
  top: 30%;
  transform: rotate(13deg);
}
.passing-2 {
  width: 60px;
  left: 49%;
  top: 41%;
  transform: rotate(32deg);
}
.pitch-caption {
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  color: #9ca3af;
}
/* Cards and grids */
.section-header {
  text-align: left;
  padding-bottom: 1.25rem;
}
.section-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}
.section-header p {
  max-width: 32rem;
  color: #9ca3af;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.card-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  border-radius: 1.2rem;
  background: radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.3rem 1.4rem 1.35rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.75);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease,
    background 0.2s ease;
}
.card:hover {
  transform: translateY(-4px) translateZ(0);
  box-shadow:
    0 22px 50px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(56, 189, 248, 0.4);
  border-color: rgba(56, 189, 248, 0.55);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.24), rgba(15, 23, 42, 0.98));
}
.post-card h3,
.post-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}
.post-card p {
  margin: 0 0 0.7rem;
  color: #cbd5f5;
  font-size: 0.95rem;
}
.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.card-link:hover {
  text-decoration: none;
}
.card-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
}
.tag-offense {
  background: rgba(248, 113, 113, 0.16);
  color: #fecaca;
}
.tag-training {
  background: rgba(52, 211, 153, 0.18);
  color: #bbf7d0;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #9ca3af;
}
.post-card-large {
  grid-column: 1 / -1;
}
.section-cta {
  padding-top: 1.5rem;
  display: flex;
  justify-content: flex-start;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}
.note-card {
  border-radius: 1.2rem;
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.25), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(129, 140, 248, 0.5);
  padding: 1.4rem 1.5rem;
}
.note-card h3,
.note-card h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}
/* Lists */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.checklist li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 0.9rem;
  color: #4ade80;
}
.pill-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.pill {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
}
.pill.is-active {
  border-color: rgba(56, 189, 248, 0.8);
  background: rgba(15, 23, 42, 1);
}
.link-list {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0;
}
.link-list li {
  margin-bottom: 0.3rem;
}
.link-list a {
  font-size: 0.9rem;
  color: #bfdbfe;
}
.link-list a:hover {
  text-decoration: underline;
}
/* Blog layout */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: 2.5rem;
}
.sidebar-section h2 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.sidebar-section + .sidebar-section {
  margin-top: 1.7rem;
}
/* Breadcrumbs */
.breadcrumb {
  padding: 3.5rem 0 0.7rem;
  font-size: 0.8rem;
}
.breadcrumb .container {
  max-width: 720px;
}
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: #9ca3af;
}
.breadcrumb a {
  color: #e5e7eb;
}
.breadcrumb li::after {
  content: "/";
  margin-left: 0.4rem;
  color: #4b5563;
}
.breadcrumb li:last-child::after {
  content: "";
}
/* Article */
.article-header h1 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.article {
  padding-bottom: 2.5rem;
}
.article-header.container,
.article-body.container {
  max-width: 720px;
}
.article-intro {
  max-width: 40rem;
  color: #cbd5f5;
}
.article-body {
  padding: 1.5rem 1.6rem 2.1rem;
  margin-top: 1.25rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(
    circle at top left,
    rgba(15, 118, 110, 0.14),
    rgba(15, 23, 42, 0.98)
  );
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
}
.article-body h2 {
  margin-top: 2rem;
  margin-bottom: 0.4rem;
  font-size: 1.3rem;
}
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5 {
  color: #1f70d6;
}
.article-body h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}
.article-body p {
  margin-top: 0.1rem;
  color: #e5e7eb;
}
.article-body ul,
.article-body ol {
  padding-left: 1.1rem;
}
.article-body li {
  margin-bottom: 0.3rem;
}
.article-callout {
  margin: 1.3rem 0;
  padding: 0.8rem 1rem 0.9rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), rgba(15, 23, 42, 0.96));
  box-shadow:
    0 16px 34px rgba(15, 23, 42, 0.85),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(18px);
}
.article-callout-label {
  margin: 0 0 0.1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7dd3fc;
}
.article-callout-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  color: #bfdbfe;
  text-decoration: none;
}
.article-callout-link::after {
  content: "↗";
  font-size: 0.85rem;
  opacity: 0.7;
}
.article-callout-link:hover {
  text-decoration: none;
  color: #e5efff;
}
.article-highlight {
  margin-top: 2rem;
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.28), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.7);
}
.article-highlight h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}
/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
}
.contact-form {
  padding: 1.5rem 1.6rem 1.7rem;
}
.form-group {
  margin-bottom: 0.85rem;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.97);
  color: #e5e7eb;
  font-family: inherit;
  font-size: 0.9rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(56, 189, 248, 0.7);
  outline-offset: 1px;
  border-color: transparent;
}
.form-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #9ca3af;
}
.contact-aside h2 {
  margin-top: 0;
}
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #38bdf8, #22c55e);
  color: #020617;
  box-shadow:
    0 10px 26px rgba(56, 189, 248, 0.3),
    0 0 0 1px rgba(15, 118, 110, 0.5);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 15px 32px rgba(56, 189, 248, 0.4),
    0 0 0 1px rgba(22, 163, 74, 0.6);
}
.btn-ghost {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
}
.btn-ghost:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(148, 163, 184, 0.9);
}
.btn-outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}
.btn-outline:hover {
  border-color: rgba(56, 189, 248, 0.85);
  background: rgba(15, 23, 42, 0.95);
}
.full-width {
  width: 100%;
}
/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.5rem 0 2rem;
  margin-top: 2rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.96));
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 0 1.25rem 0.5rem;
}
.footer-logo {
  font-weight: 600;
  margin: 0 0 0.15rem;
}
.footer-tagline {
  margin: 0;
  font-size: 0.85rem;
  color: #9ca3af;
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
}
.footer-meta {
  text-align: center;
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0.2rem 0 0;
}
/* Responsive */
@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-art {
    order: -1;
  }
  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }
  .blog-layout {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
  }
  .split {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  }
}
@media (max-width: 720px) {
  .header-inner {
    padding-inline: 1rem;
  }
  .logo-img {
    height: 30px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-list {
    position: absolute;
    right: 1rem;
    top: 3.4rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.45rem;
    border-radius: 0.9rem;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.65);
    min-width: 9rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease,
      visibility 0.15s ease;
  }
  .nav-list.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-link {
    width: 100%;
  }
  .hero {
    padding-top: 4rem;
  }
  .hero-stats {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-header {
    padding-top: 3.3rem;
  }
  .blog-layout,
  .split,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}
.blog-featured{
  margin-bottom: 20px;
}
.split p, .split ul li{
  text-align: justify;
}