/* Kicking Goals Futsal Club - Styles */
:root {
  --bg-dark: #050816;
  --bg-card: #0b1020;
  --accent: #21c26b;
  --accent-soft: rgba(33, 194, 107, 0.1);
  --accent-strong: #15a356;
  --text-main: #f7f8fc;
  --text-muted: #aeb4d4;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.5);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --transition: 0.22s ease;
}

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

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #151c36 0, #050816 55%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Nav */

header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 22, 0.92),
    rgba(5, 8, 22, 0.78),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 0, #21c26b, #0b1020 55%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.brand-logo::before {
  content: "";
  position: absolute;
  width: 180%;
  height: 180%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  opacity: 0.38;
}

.brand-logo span {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text-main {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-text-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links a {
  position: relative;
  color: var(--text-muted);
  padding: 0.4rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #21c26b, #76ffb3);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(33, 194, 107, 0.9);
  background: radial-gradient(circle at 0 0, rgba(33, 194, 107, 0.35), transparent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.5);
}

.nav-cta span:last-child {
  font-size: 1rem;
  transform: translateY(1px);
  transition: transform var(--transition);
}

.nav-cta:hover {
  background: radial-gradient(circle at 0 0, rgba(33, 194, 107, 0.6), transparent);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
}

.nav-cta:hover span:last-child {
  transform: translate(3px, 1px);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  font-size: 1.5rem;
}

/* Hero */

.hero {
  padding: 4rem 0 3.3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(33, 194, 107, 0.3);
  color: var(--accent);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.9rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(33, 194, 107, 0.22);
}

.hero-title {
  font-size: clamp(2.15rem, 3.1vw, 2.9rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 0.96rem;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-highlight {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.pill {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 16, 40, 0.9);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.pill strong {
  color: var(--accent);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.btn-primary,
.btn-ghost {
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #21c26b, #76ffb3);
  color: #020617;
  font-weight: 600;
  box-shadow: 0 14px 34px rgba(5, 150, 105, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(5, 150, 105, 0.65);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.9);
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.9);
  color: var(--text-main);
  background: rgba(15, 23, 42, 1);
}

.hero-meta {
  margin-top: 1.2rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.hero-meta strong {
  color: var(--accent);
}

/* Hero visual: stylised futsal court */

.hero-visual {
  border-radius: 26px;
  background: radial-gradient(circle at 15% 0, #21c26b 0, #060b1b 45%, #050816 85%);
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-visual-inner {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.3rem;
  background: radial-gradient(circle at 0 110%, rgba(15, 23, 42, 0.85), #020617 55%);
}

.court {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(248, 250, 252, 0.5);
  padding: 1.4rem;
  aspect-ratio: 5 / 3;
  background: radial-gradient(circle at 50% 10%, #1f2937 0, #020617 80%);
  overflow: hidden;
}

.court-line {
  position: absolute;
  border: 1px solid rgba(248, 250, 252, 0.35);
  border-radius: 999px;
}

.court-line.center {
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
}

.circle-center {
  width: 26%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px solid rgba(248, 250, 252, 0.45);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.d-arc {
  width: 26%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px solid rgba(248, 250, 252, 0.35);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.d-arc.left {
  left: -12%;
}

.d-arc.right {
  right: -12%;
}

.goal {
  position: absolute;
  width: 5%;
  height: 20%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 4px;
  border: 2px solid rgba(248, 250, 252, 0.7);
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 0 16px rgba(248, 250, 252, 0.4);
}

.goal.left {
  left: 2%;
}

.goal.right {
  right: 2%;
}

.player {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(15, 23, 42, 0.9);
  background: #21c26b;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.7);
}

.player.opponent {
  background: #f97316;
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.7);
}

.player-1 {
  left: 36%;
  top: 36%;
}

.player-2 {
  left: 32%;
  bottom: 25%;
}

.player-3 {
  right: 34%;
  top: 30%;
}

.player-4 {
  right: 30%;
  bottom: 28%;
}

.ball {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f9fafb;
  box-shadow: 0 0 12px rgba(248, 250, 252, 0.9);
  left: 49%;
  top: 40%;
}

.hero-tagline {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-tagline span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-tagline span strong {
  color: var(--accent);
}

/* Sections */

main {
  flex: 1;
}

section {
  padding: 2.8rem 0;
}

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

.section-title {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
}

.section-title span {
  color: var(--accent);
}

.section-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 26rem;
}

/* Cards */

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

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

.card {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  padding: 1.3rem 1.2rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.6);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 0 0,
    rgba(33, 194, 107, 0.12),
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.card-tag span.icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(33, 194, 107, 0.25);
}

.card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.card-meta strong {
  color: var(--accent);
}

.card-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding-left: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.card-list li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  margin-bottom: 0.3rem;
}

.card-list li::before {
  content: "•";
  color: var(--accent);
  margin-top: 0.02rem;
}

/* Fixtures / table */

.table-wrap {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

thead {
  background: rgba(15, 23, 42, 0.95);
}

th,
td {
  padding: 0.65rem 0.9rem;
  text-align: left;
  white-space: nowrap;
}

th {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.82);
}

tbody tr:hover {
  background: rgba(15, 23, 42, 0.95);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.badge-win {
  background: rgba(22, 163, 74, 0.14);
  color: #4ade80;
  border: 1px solid rgba(22, 163, 74, 0.8);
}

.badge-loss {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.8);
}

.badge-upcoming {
  background: rgba(37, 99, 235, 0.14);
  color: #93c5fd;
  border: 1px solid rgba(37, 99, 235, 0.9);
}

/* Join / CTA section */

.join-highlight {
  border-radius: 22px;
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(33, 194, 107, 0.6);
  background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.25), transparent 60%);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.4rem;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.join-highlight h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-bottom: 0.4rem;
}

.join-highlight p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 30rem;
  margin-bottom: 0.6rem;
}

.join-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.join-meta strong {
  color: var(--accent);
}

.join-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.join-secondary span {
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px dashed rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.6rem;
}

.contact-card {
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.contact-item {
  font-size: 0.86rem;
  margin-bottom: 0.4rem;
}

.contact-item span.label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

.contact-item a {
  color: var(--accent);
  font-weight: 500;
}

form {
  display: grid;
  gap: 0.75rem;
}

label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.2rem;
}

input,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.95);
  padding: 0.65rem 0.75rem;
  color: var(--text-main);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition),
    background var(--transition);
}

input:focus,
textarea:focus {
  border-color: rgba(33, 194, 107, 0.7);
  box-shadow: 0 0 0 1px rgba(33, 194, 107, 0.4);
  background: rgba(15, 23, 42, 1);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

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

.form-footnote {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Policies */

.policy-list {
  list-style: none;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.policy-list li {
  margin-bottom: 0.4rem;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.policy-list a {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.84rem;
}

.policy-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
}

/* Footer */

footer {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 1.4rem 0 2.1rem;
  margin-top: 2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-links a {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
}


/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(33, 194, 107, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.96;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox.open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  border: none;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.95);
  color: var(--text-main);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* Responsive */

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

  .hero-visual {
    order: -1;
  }

  .join-highlight {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

@media (max-width: 720px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 1.5rem;
    background: rgba(5, 8, 22, 0.98);
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    padding: 0.8rem 1rem;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.8);
    margin-top: 0.4rem;
    min-width: 200px;
  }

  .nav-links.mobile-open a {
    padding: 0.35rem 0;
  }

  .hero {
    padding-top: 2.2rem;
  }

  .section-heading {
    flex-direction: column;
  }

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