/* ================================================================
   SHELBURNE MUSKIES — shared.css
   Shared nav, footer, buttons, and registration CTA
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&display=swap');

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

:root {
  --blue:       #0C2461;
  --blue-mid:   #1a4080;
  --blue-light: #2563c8;
  --red:        #CC1122;
  --red-dark:   #991118;
  --dark:       #0A0F1E;
  --dark-2:     #111827;
  --dark-3:     #1e2535;
  --white:      #FFFFFF;
  --gray-light: #F5F7FA;
  --gray-mid:   #94A3B8;
  --gray-text:  #CBD5E1;
  --gold:       #C4A44E;
}

html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.6; color: #1F2937; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ================================================================
   NAV
   ================================================================ */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--dark);
  border-bottom: 3px solid var(--red);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-nav.scrolled {
  background: rgba(10,15,30,0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 78px;
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 3px;
  display: block;
}

.logo-sub {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 4px;
  display: block;
}

.logo-year {
  font-size: 10px;
  color: var(--gray-mid);
  letter-spacing: 2px;
  text-transform: uppercase;
  border-left: 1px solid #333;
  padding-left: 14px;
  line-height: 1.4;
}

/* Desktop nav list */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: flex-end;
}

.nav-menu > li { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  border-radius: 2px;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--red); }

.arrow { font-size: 9px; transition: transform 0.2s; display: inline-block; }
.has-dropdown:hover .arrow { transform: rotate(180deg); }

/* Dropdowns */
.dropdown {
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  min-width: 230px;
  background: var(--dark-2);
  border-top: 3px solid var(--red);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 200;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-text);
  border-bottom: 1px solid var(--dark-3);
  transition: color 0.15s, background 0.15s, padding-left 0.15s;
}

.dropdown li:last-child a { border-bottom: none; }

.dropdown li a:hover {
  color: var(--white);
  background: rgba(204,17,34,0.15);
  padding-left: 24px;
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.28s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======= MOBILE NAV ======= */
@media (max-width: 1100px) {
  .hamburger { display: flex; }
  .logo-year { display: none; }

  .nav-menu {
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--dark-2);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 8px 0 40px;
    overflow-y: auto;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  }

  .nav-menu.open { transform: translateX(0); }

  .nav-menu > li { border-bottom: 1px solid var(--dark-3); }

  .nav-link {
    padding: 16px 24px;
    font-size: 15px;
    justify-content: space-between;
    width: 100%;
  }

  .dropdown {
    position: static;
    border-top: none;
    box-shadow: none;
    background: #0d131f;
    opacity: 1;
    visibility: hidden;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, visibility 0.3s;
  }

  .dropdown.open {
    visibility: visible;
    max-height: 500px;
  }

  /* Disable hover-based dropdowns on mobile */
  .has-dropdown:hover .dropdown { opacity: 1; visibility: hidden; max-height: 0; }
  .has-dropdown:hover .dropdown.open { visibility: visible; max-height: 500px; }

  .dropdown li a { padding: 11px 32px; }
}

/* ================================================================
   FOOTER
   ================================================================ */

.site-footer {
  background: var(--dark);
  color: var(--gray-mid);
  border-top: 3px solid var(--red);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 48px;
}

.footer-logo-text { margin-bottom: 14px; }
.footer-logo-text .logo-main { font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: 3px; display: block; }
.footer-logo-text .logo-sub  { font-family: 'Oswald', sans-serif; font-size: 13px; font-weight: 500; color: var(--red); letter-spacing: 4px; display: block; }

.footer-logo-img { height: 135px; width: auto; display: block; margin-bottom: 14px; }

.footer-brand p { font-size: 14px; line-height: 1.7; color: #64748B; margin-bottom: 20px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: var(--dark-3);
  border-radius: 50%;
  color: var(--gray-mid);
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--red); color: var(--white); }

.footer-nav h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--dark-3);
}

.footer-nav ul { margin-bottom: 0; }
.footer-nav ul li { margin-bottom: 8px; }
.footer-nav ul li a { font-size: 14px; color: #64748B; transition: color 0.2s, padding-left 0.15s; display: inline-block; }
.footer-nav ul li a:hover { color: var(--red); padding-left: 4px; }

.footer-contact h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--dark-3);
}

.footer-contact p { font-size: 14px; color: #64748B; margin-bottom: 10px; line-height: 1.6; }
.footer-contact a { color: #64748B; transition: color 0.2s; }
.footer-contact a:hover { color: var(--red); }

.footer-bottom {
  border-top: 1px solid var(--dark-3);
  padding: 20px 24px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #475569;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 900px) {
  .footer-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-container { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ================================================================
   BUTTONS
   ================================================================ */

.btn-primary, .btn-outline, .btn-blue, .btn-gold {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  border: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  line-height: 1;
}

.btn-primary  { background: var(--red);   border-color: var(--red);   color: var(--white); }
.btn-primary:hover  { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }

.btn-outline  { background: transparent;  border-color: var(--white);  color: var(--white); }
.btn-outline:hover  { background: var(--white); color: var(--dark); }

.btn-blue     { background: var(--blue);  border-color: var(--blue);   color: var(--white); }
.btn-blue:hover     { background: var(--blue-mid); border-color: var(--blue-mid); }

.btn-gold     { background: var(--gold);  border-color: var(--gold);   color: var(--dark);  }
.btn-gold:hover     { filter: brightness(1.1); }

/* ================================================================
   PLAYER REGISTRATION CTA  (shared across all home versions)
   ================================================================ */

.registration-cta {
  background: linear-gradient(135deg, var(--blue) 0%, #071840 100%);
  padding: 90px 24px;
  position: relative;
  overflow: hidden;
}

.registration-cta::before {
  content: '';
  position: absolute;
  top: -40px; right: -60px;
  width: 400px; height: 400px;
  background: rgba(204,17,34,0.07);
  border-radius: 50%;
  pointer-events: none;
}

.reg-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.reg-label {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  padding: 5px 14px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.registration-cta h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.registration-cta p {
  font-size: 16px;
  color: var(--gray-text);
  margin-bottom: 30px;
  line-height: 1.75;
}

.reg-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.reg-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.reg-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 22px 18px;
  transition: border-color 0.2s, background 0.2s;
}

.reg-card:hover { border-color: rgba(204,17,34,0.5); background: rgba(204,17,34,0.08); }

.reg-card .rc-icon { font-size: 26px; margin-bottom: 10px; }
.reg-card strong { display: block; font-family: 'Oswald', sans-serif; font-size: 15px; color: var(--white); margin-bottom: 4px; }
.reg-card span { font-size: 13px; color: var(--gray-mid); }

@media (max-width: 840px) {
  .reg-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  .reg-cards-grid { grid-template-columns: 1fr 1fr; }
}

/* ================================================================
   SECTION UTILITIES
   ================================================================ */

.section-tag {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 12px;
}
.section-tag.red   { background: var(--red); color: var(--white); }
.section-tag.blue  { background: var(--blue); color: var(--white); }
.section-tag.dark  { background: var(--dark-3); color: var(--gray-mid); }
.section-tag.outline-red { border: 1px solid var(--red); color: var(--red); }

/* ================================================================
   TICKER
   ================================================================ */
.news-ticker {
  background: var(--red);
  overflow: hidden;
  padding: 0;
  height: 38px;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker-track span {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--white);
  padding: 0 48px;
}

.ticker-track span::before {
  content: '●';
  margin-right: 24px;
  opacity: 0.6;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ================================================================
   STUB PAGE (used on placeholder inner pages)
   ================================================================ */
.stub-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
  text-align: center;
  padding: 80px 24px;
  margin-top: 72px;
}

.stub-inner { max-width: 540px; }
.stub-inner .section-tag { margin-bottom: 20px; }
.stub-inner h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.stub-inner p { font-size: 16px; color: #475569; margin-bottom: 28px; line-height: 1.7; }
