/* =====================================================================
   GRIFFINS RUGBY — Heraklion
   Unified stylesheet for the whole site.
   Theme: Black & Crimson (with gold accents)
   Fonts: Montserrat (headings) + Roboto (body) via Google Fonts
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg:          #0D0D0D;  /* page background (near-black) */
  --bg-elev:     #161616;  /* cards / elevated panels      */
  --bg-elev-2:   #1E1E1E;  /* hover / nested panels        */
  --primary:     #C8102E;  /* crimson                      */
  --primary-dark:#9E0C24;  /* crimson hover                */
  --accent:      #D4AF37;  /* gold                         */
  --text:        #F5F5F5;  /* main text                    */
  --muted:       #B5B5B5;  /* secondary text               */
  --border:      #2A2A2A;  /* hairline borders             */

  --maxw: 1180px;
  --radius: 4px;
  --gap: clamp(1rem, 2.5vw, 1.75rem);
  --header-h: 72px;

  --ff-head: "Montserrat", system-ui, sans-serif;
  --ff-body: "Roboto", system-ui, sans-serif;

  --shadow: 0 14px 36px rgba(0,0,0,.45);
  --ease: cubic-bezier(.2,.7,.3,1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  line-height: 1.08;
  margin: 0 0 .6rem;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }

::selection { background: var(--primary); color: #fff; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.section--alt { background: linear-gradient(180deg, #0b0b0b, #101010); }

.section-head { max-width: 60ch; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: .78rem;
  color: var(--primary);
  margin-bottom: .65rem;
}

.section-title {
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
}

.section-head p { color: var(--muted); margin-bottom: 0; }
.section-head--center .title-rule { margin-inline: auto; }

.title-rule {
  width: 70px;
  height: 5px;
  background: var(--primary);
  margin-top: 1.1rem;
  transform: skewX(-20deg);
}

.lead { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem); color: #e9e9e9; }
.text-accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--ff-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: .9rem;
  line-height: 1;
  padding: 1rem 1.75rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease),
              color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; box-shadow: 0 12px 26px rgba(200,16,46,.35); }

.btn-outline { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #0d0d0d; }

.btn-ghost { background: rgba(255,255,255,.06); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

.btn-lg { padding: 1.15rem 2.2rem; font-size: 1rem; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: .6rem;
}

/* Brand / crest */
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); margin-right: auto; }
.brand:hover { color: var(--text); }
.brand-mark { display: inline-flex; }
.brand-logo { height: 46px; width: auto; display: block; }
.footer-logo { height: 74px; width: auto; margin-bottom: 1rem; }
.crest-shield { fill: var(--primary); stroke: var(--accent); stroke-width: 2.5; }
.crest-claw path { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; fill: none; }

.brand-text {
  font-family: var(--ff-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
}
.brand-text strong { color: var(--primary); font-weight: 900; }

/* Menu */
.nav-menu { display: flex; align-items: center; gap: .15rem; list-style: none; }
.nav-menu a {
  display: inline-block;
  font-family: var(--ff-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: .85rem;
  color: var(--text);
  padding: .5rem .62rem;
  border-radius: var(--radius);
  position: relative;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: .62rem; right: .62rem; bottom: .32rem;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-menu a:hover { color: #fff; }
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-menu a.active { color: #fff; }
.nav-menu a.active::after { transform: scaleX(1); background: var(--accent); }

.nav-cta {
  background: var(--primary);
  color: #fff !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--primary-dark); }

/* Mobile toggle (pure CSS checkbox hack) */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  position: relative;
  width: 30px; height: 22px;
  cursor: pointer;
  z-index: 60;
}
.nav-toggle-label span {
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.nav-toggle-label span:nth-child(1) { top: 0; }
.nav-toggle-label span:nth-child(2) { top: 9px; }
.nav-toggle-label span:nth-child(3) { top: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* Hero background photo with dark overlay for text legibility.
     Swap 'images/img_8894.jpg' for any landscape action shot. */
  background-color: #0a0a0a;
  background-image:
    linear-gradient(100deg, rgba(13,13,13,.94) 0%, rgba(13,13,13,.74) 48%, rgba(13,13,13,.55) 100%),
    linear-gradient(0deg, rgba(13,13,13,.9), rgba(13,13,13,.15) 60%),
    url('images/img_8894.jpg');
  background-size: cover;
  background-position: center 28%;
  background-repeat: no-repeat;
  border-bottom: 4px solid var(--primary);
  overflow: hidden;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(440px, 78vh, 760px);
  padding-block: clamp(3rem, 8vw, 6rem);
  max-width: 50ch;
}
.hero h1 {
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  letter-spacing: -0.02em;
}
.hero h1 .stroke { color: var(--primary); }
.hero .lead { margin-bottom: 2rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Decorative crimson slash in hero corner */
.hero::after {
  content: "";
  position: absolute;
  right: -120px; bottom: -80px;
  width: 460px; height: 460px;
  background: radial-gradient(circle at center, rgba(200,16,46,.20), transparent 62%);
  pointer-events: none;
}

/* ---------- Training schedule ---------- */
.training-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  background: linear-gradient(135deg, var(--bg-elev), #101010);
  border: 1px solid var(--border);
  border-left: 6px solid var(--primary);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}
.training-icon {
  display: grid;
  place-items: center;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(200,16,46,.14);
  color: var(--primary);
}
.training-icon svg { width: 38px; height: 38px; }
.training-card h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase;
  font-weight: 800;
}
.training-meta { display: flex; flex-wrap: wrap; gap: .6rem .9rem; margin-top: .9rem; }
.training-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .45rem .95rem;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .03em;
}
.training-pill strong { color: var(--accent); }
.training-directions { margin-top: 1rem; }
.map-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--ff-head); font-weight: 700; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.map-link:hover { color: #fff; border-bottom-color: var(--accent); }

/* ---------- News grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap);
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.news-thumb {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(200,16,46,.35), rgba(13,13,13,.9)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 16px);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.55);
}
.news-thumb svg { width: 46px; height: 46px; opacity: .8; }
.news-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.news-tagline {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--ff-head); font-size: .76rem; text-transform: uppercase;
  letter-spacing: .12em; margin-bottom: .6rem;
}
.news-cat { color: var(--primary); font-weight: 800; }
.news-date { color: var(--muted); }
.news-card h3 { font-size: 1.3rem; font-weight: 800; }
.news-card p { color: var(--muted); flex: 1; }
.read-more {
  font-family: var(--ff-head); font-weight: 800; text-transform: uppercase;
  letter-spacing: .05em; font-size: .85rem; color: var(--accent);
  display: inline-flex; align-items: center; gap: .4rem;
}
.read-more::after { content: "\2192"; transition: transform .2s var(--ease); }
.read-more:hover::after { transform: translateX(4px); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
}
.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 3 / 4;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease);
}
.gallery-item:hover img { transform: scale(1.07); }

/* ---------- Featured single news item ---------- */
.news-feature { grid-column: 1 / -1; }
@media (min-width: 720px) {
  .news-feature { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; }
  .news-feature .news-thumb { aspect-ratio: auto; height: 100%; min-height: 300px; }
  .news-feature .news-body { padding: clamp(1.75rem, 4vw, 2.75rem); justify-content: center; }
}
.news-feature .news-card h3, .news-feature h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(135deg, rgba(200,16,46,.92), rgba(120,8,26,.92)),
    repeating-linear-gradient(135deg, rgba(0,0,0,.12) 0 2px, transparent 2px 22px);
  text-align: center;
}
.cta-band h2 {
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 5vw, 3rem);
}
.cta-band p { color: rgba(255,255,255,.9); max-width: 52ch; margin-inline: auto; margin-bottom: 2rem; }
.cta-band .btn-outline { border-color: #fff; color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--primary); }
.cta-band .btn-ghost { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.4); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background:
    linear-gradient(180deg, rgba(13,13,13,.86), rgba(13,13,13,.95)),
    radial-gradient(120% 140% at 85% 0%, rgba(200,16,46,.30), transparent 55%),
    url('images/img_9072.jpg');
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  border-bottom: 3px solid var(--primary);
  padding-block: clamp(2.75rem, 7vw, 4.75rem);
}
.page-header h1 {
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.2rem, 6vw, 3.75rem);
}
.page-header p { color: var(--muted); max-width: 60ch; margin-bottom: 0; }

/* ---------- Roster ---------- */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--gap);
}
.player-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.player-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.player-photo {
  aspect-ratio: 4 / 5;
  background-color: #161616;
  /* Swap this for: url('images/players/name.jpg') center/cover no-repeat; */
  background-image:
    linear-gradient(160deg, #202020, #121212),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' fill-opacity='0.10' d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0 2c-4 0-9 2-9 6v2h18v-2c0-4-5-6-9-6Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-size: cover, 56%;
  background-position: center, center 62%;
}
.player-number {
  position: absolute;
  top: .75rem; left: .75rem;
  font-family: var(--ff-head); font-weight: 900; font-size: 1rem;
  color: #fff; background: var(--primary);
  padding: .2rem .55rem; border-radius: 3px;
  transform: skewX(-12deg);
}
.player-info { padding: 1.1rem 1.2rem 1.35rem; border-top: 3px solid var(--primary); }
.player-name { font-size: 1.25rem; font-weight: 800; text-transform: uppercase; }
.player-position {
  margin: 0;
  font-family: var(--ff-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: .82rem; color: var(--accent);
}
.player-desc {
  margin: .55rem 0 0;
  font-size: .9rem; line-height: 1.45; color: var(--muted);
}

/* Crest placeholder for players without a photo yet */
.player-photo--logo {
  background-image: url('images/logo.png'), linear-gradient(160deg, #1f1f1f, #111);
  background-size: 58%, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

/* "You" / join card */
.player-card--join { display: block; color: inherit; text-decoration: none; }
.player-card--join:hover { color: inherit; }
.player-photo--join {
  background-image: linear-gradient(160deg, rgba(200,16,46,.32), #141414);
  background-size: cover;
  display: grid;
  place-items: center;
  transition: background .25s var(--ease);
}
.player-photo--join svg { width: 42%; height: 42%; color: var(--accent); }
.player-card--join:hover .player-photo--join { background-image: linear-gradient(160deg, rgba(200,16,46,.55), #141414); }
.player-card--join .player-info { border-top-color: var(--accent); }

/* ---------- Supporters ---------- */
.supporter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
  max-width: 760px;
  margin-inline: auto;
}
.supporter-card {
  text-align: center;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.supporter-icon {
  display: grid; place-items: center;
  width: 66px; height: 66px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: rgba(200,16,46,.14);
  color: var(--primary);
}
.supporter-icon svg { width: 32px; height: 32px; }
.supporter-card h3 { font-size: 1.4rem; text-transform: uppercase; margin-bottom: .15rem; }
.supporter-role {
  font-family: var(--ff-head); font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; font-size: .76rem; color: var(--accent);
  margin-bottom: 1rem;
}
.supporter-card p { color: #d6d6d6; margin: 0; font-style: italic; }

/* heart icon inside buttons */
.btn svg { flex: 0 0 auto; }

/* ---------- Article (history) ---------- */
.article { max-width: 74ch; margin-inline: auto; }
.article p { color: #e3e3e3; }
.article h2 {
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  margin-top: 2.5rem;
  padding-left: 1rem;
  border-left: 5px solid var(--primary);
}
.article .lead { color: #fff; }
.article blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--bg-elev);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  font-style: italic;
  color: #f0f0f0;
}
.note {
  margin-top: 3rem;
  padding: 1rem 1.25rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: .92rem;
}

/* ---------- Rules ---------- */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap);
  align-items: start;
}
.rule-panel {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-top: 5px solid var(--primary);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
.rule-panel h2 { font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 4vw, 2.1rem); }
.rule-panel .badge {
  display: inline-block;
  font-family: var(--ff-head); font-weight: 800; font-size: .76rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent);
  background: rgba(212,175,55,.1);
  border: 1px solid rgba(212,175,55,.35);
  padding: .25rem .7rem; border-radius: 999px;
  margin-bottom: .9rem;
}
.rule-panel h3 {
  font-size: 1rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--primary); margin-top: 1.5rem;
}
.fact-list { list-style: none; display: grid; gap: .55rem; }
.fact-list li {
  display: flex; gap: .65rem; align-items: flex-start;
  color: #e3e3e3;
}
.fact-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px; height: 9px; margin-top: .55rem;
  background: var(--primary);
  transform: skewX(-15deg);
}
.scoring-table { width: 100%; border-collapse: collapse; margin-top: .75rem; }
.scoring-table th, .scoring-table td {
  text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--border);
  font-size: .95rem;
}
.scoring-table th { font-family: var(--ff-head); text-transform: uppercase; font-size: .76rem; letter-spacing: .08em; color: var(--muted); }
.scoring-table td:last-child { text-align: right; font-weight: 700; color: var(--accent); font-family: var(--ff-head); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.info-list { list-style: none; display: grid; gap: 1.25rem; margin-bottom: 2rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-icon {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(200,16,46,.14);
  color: var(--primary);
}
.info-icon svg { width: 24px; height: 24px; }
.info-item h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .15rem; }
.info-item p { margin: 0; color: var(--muted); }

/* Large social buttons */
.social-buttons { display: grid; gap: 1rem; margin-top: 1.5rem; }
.social-btn {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .25s var(--ease);
}
.social-btn:hover { transform: translateY(-3px); color: #fff; }
.social-btn svg { width: 34px; height: 34px; flex: 0 0 auto; }
.social-btn .social-label { display: flex; flex-direction: column; line-height: 1.25; }
.social-btn .social-label strong { font-family: var(--ff-head); font-weight: 800; text-transform: uppercase; font-size: 1.05rem; }
.social-btn .social-label em { font-style: normal; color: var(--muted); font-size: .9rem; }
.social-btn:hover .social-label em { color: rgba(255,255,255,.85); }

.social-ig:hover { border-color: transparent; background: linear-gradient(45deg,#f09433,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888); }
.social-fb:hover { border-color: transparent; background: #1877F2; }

/* Embedded Google Form */
.form-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-top: 5px solid var(--primary);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}
.form-card h2 { font-weight: 900; text-transform: uppercase; font-size: clamp(1.4rem, 3.5vw, 2rem); }
.form-embed {
  width: 100%;
  min-height: 720px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
}
.form-fallback { margin-top: 1rem; font-size: .9rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: #080808;
  border-top: 4px solid var(--primary);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding-block: clamp(2.5rem, 6vw, 3.75rem);
}
.footer-brand .brand-text { font-size: 1.4rem; }
.footer-brand p { color: var(--muted); margin-top: .75rem; max-width: 36ch; }
.footer-col h4 {
  font-size: .85rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: grid; gap: .5rem; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: #fff; }
.footer-col p { color: var(--muted); margin: 0; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: var(--text);
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.footer-social a:hover { transform: translateY(-3px); background: var(--primary); color: #fff; border-color: var(--primary); }
.footer-social svg { width: 20px; height: 20px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  justify-content: space-between;
  padding-block: 1.4rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* Make footer stick to bottom on short pages */
body { min-height: 100vh; display: flex; flex-direction: column; }
.page-main { flex: 1 0 auto; }

/* ---------- Responsive ---------- */
/* Collapse to the hamburger at 1024px: the 7-item bilingual nav (longer in Greek)
   needs comfortable room before it fits on one row. */
@media (max-width: 1024px) {
  .nav-toggle-label { display: block; }

  .nav-menu {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0c0c0c;
    border-bottom: 1px solid var(--border);
    padding: .5rem clamp(1.1rem, 4vw, 2rem) 1.25rem;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-toggle:checked ~ .nav-menu { display: flex; }

  .nav-menu li { width: 100%; }
  .nav-menu a { padding: .85rem .25rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-menu a::after { display: none; }
  .nav-menu a.active { color: var(--primary); }
  .nav-cta { text-align: center; margin-top: .75rem; border-radius: var(--radius); }

  /* hamburger -> X */
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { top: 9px; transform: rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { top: 9px; transform: rotate(-45deg); }
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .training-card { grid-template-columns: 1fr; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Language switcher (EN / EL) ---------- */
.nav-menu { order: 2; }
.lang-toggle { order: 3; }
.nav-toggle-label { order: 4; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: .15rem;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .3rem .5rem;
  cursor: pointer;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--muted);
  line-height: 1;
}
.lang-toggle:hover { border-color: var(--primary); color: #fff; }
.lang-opt {
  padding: .18rem .34rem;
  border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang-opt.is-active { background: var(--primary); color: #fff; }
.lang-sep { opacity: .45; }

/* Show only the active language. Default (no/JS-off) = English; Greek hidden until activated. */
[data-lang-el] { display: none; }
html[data-lang="el"] [data-lang-en] { display: none; }
html[data-lang="el"] [data-lang-el] { display: inline; }

/* ============================================================
   POLISH: small UX + aesthetic niceties (added later)
   ============================================================ */

/* Smooth in-page scrolling, offset for the sticky header on anchor jumps */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }

/* Branded text selection + accessible keyboard focus ring */
::selection { background: var(--primary); color: #fff; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Themed scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--primary) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: #3a3a3a;
  border-radius: 999px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Gallery photos hint they are clickable (open in lightbox) */
.gallery-item img { cursor: zoom-in; }

/* ---------- Back to top button ---------- */
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: #e11d3a; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(8, 8, 8, .94);
  backdrop-filter: blur(2px);
}
.lightbox.is-open { display: flex; }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.lightbox img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 14px 50px rgba(0, 0, 0, .65);
}
.lightbox-caption { color: #d8d8d8; font-size: .9rem; text-align: center; max-width: 80vw; }
.lightbox-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.lightbox-btn:hover { background: var(--primary); border-color: var(--primary); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) {
  .lightbox-prev { left: .4rem; }
  .lightbox-next { right: .4rem; }
}

/* ---------- Contact: phone lines + Viber pill ---------- */
.phone-line { margin: 0 0 .3rem; }
.phone-line:last-child { margin-bottom: 0; }
.viber-link {
  display: inline-block;
  margin-left: .5rem;
  font-family: var(--ff-head);
  font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  color: #fff; background: #7360f2;
  padding: .12rem .5rem; border-radius: 999px;
  vertical-align: middle;
}
.viber-link:hover { background: #5b49d6; color: #fff; }

/* ---------- Fixtures & Results ---------- */
.fixtures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap);
}
.fixtures-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 1.5rem 0;
}
.fixture-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.15rem 1.3rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.fixture-card--win { border-top-color: var(--accent); }
.fixture-card--loss { border-top-color: #555; }
.fixture-meta {
  display: flex; justify-content: space-between; gap: .5rem;
  font-family: var(--ff-head); font-size: .72rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted);
}
.fixture-comp { color: var(--primary); font-weight: 800; }
.fixture-teams { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.fixture-team {
  flex: 1; min-width: 0;
  font-family: var(--ff-head); font-weight: 800; text-transform: uppercase; font-size: 1rem;
  color: var(--muted);
}
.fixture-team:last-child { text-align: right; }
.fixture-team.is-griffins { color: #fff; }
.fixture-score { font-family: var(--ff-head); font-weight: 900; font-size: 1.4rem; color: var(--accent); white-space: nowrap; }
.fixture-vs { font-family: var(--ff-head); font-weight: 700; font-size: .8rem; color: var(--muted); }
.fixture-tag {
  align-self: flex-start;
  font-family: var(--ff-head); font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; font-size: .7rem;
  padding: .2rem .6rem; border-radius: 999px;
  border: 1px solid var(--border); color: var(--muted);
}
.fixture-card--upcoming .fixture-tag { color: var(--primary); border-color: rgba(200,16,46,.4); background: rgba(200,16,46,.08); }
.fixture-card--win .fixture-tag { color: var(--accent); border-color: rgba(212,175,55,.4); background: rgba(212,175,55,.08); }

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* Keep brand + menu + language toggle tidy on small phones */
@media (max-width: 430px) {
  .nav { gap: .55rem; }
  .brand-text { font-size: 1rem; }
  .brand-logo { height: 40px; }
  .lang-toggle { padding: .3rem .42rem; font-size: .74rem; }
}
