/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600;700;800&family=Baloo+2:wght@400;500;600;700&display=swap');

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #B2B3BC;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #1A1553;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Secondary headings for governance/compliance sections */
h2.secondary-heading, h3.secondary-heading {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-transform: none;
  color: #3B3F73;
}

p {
  margin-bottom: 1rem;
}

/* Links */
a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #1d4ed8;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
}

.btn-primary {
  background-color: #C2212D;
  color: white;
}

.btn-primary:hover {
  background-color: #1A1553;
  color: white;
  border: 2px solid #1A1553;
}

.btn-secondary {
  background-color: #3B3F73;
  color: white;
}

.btn-secondary:hover {
  background-color: #1A1553;
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: #C2212D;
  border: 2px solid #C2212D;
}

.btn-outline:hover {
  background-color: #C2212D;
  color: white;
}

.btn-gold {
  background-color: #FFD447;
  color: #1A1553;
  font-weight: 700;
}

.btn-gold:hover {
  background-color: #1A1553;
  color: #FFD447;
  border: 2px solid #FFD447;
}

/* Header Styles */
.site-header {
  background-color: #1A1553;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top-bar {
  background-color: #f8fafc;
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
}

.header-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-media-icons a {
  color: #6b7280;
  margin-left: 16px;
  font-size: 1.2rem;
}

.social-media-icons a:hover {
  color: #2563eb;
}

.utility-nav a {
  color: #6b7280;
  margin-left: 16px;
  font-size: 0.9rem;
}

.utility-nav a:hover {
  color: #2563eb;
}

.header-main {
  padding: 16px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.logo-link img {
  height: 50px;
  width: auto;
}

.logo-link h1 {
  margin: 0;
  font-size: 1.5rem;
  color: #FFFFFF;
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-link span {
  font-size: 0.9rem;
  color: #B2B3BC;
  font-family: 'Open Sans', sans-serif;
  display: block;
}

.header-search form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search label {
  font-size: 0.9rem;
  color: #6b7280;
}

.header-search input {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.9rem;
}

.header-search button {
  padding: 8px 16px;
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.main-navigation {
  background-color: #3B3F73;
  padding: 0;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  padding: 16px 24px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
  font-family: 'Open Sans', sans-serif;
}

.main-navigation a:hover {
  background-color: #1A1553;
}

main {
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}

.hero-section {
  background: linear-gradient(135deg, #1A1553 0%, #3B3F73 50%, #1A1553 100%);
  color: white;
  padding: 5rem 0 6rem 0;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15) 0%, rgba(59, 130, 246, 0.1) 50%, transparent 70%);
  pointer-events: none;
}

.hero-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  animation: fadeInLeft 0.8s ease-out;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  animation: fadeInRight 0.8s ease-out;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  border-radius: 24px;
  z-index: 0;
  backdrop-filter: blur(10px);
}

.hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 16px;
  position: relative;
  z-index: 1;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.4),
    0 10px 30px -10px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 35px 60px -12px rgba(0, 0, 0, 0.5),
    0 15px 40px -10px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* Refined button styles for hero section */
.hero-buttons .btn {
  padding: 14px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.hero-buttons .btn-primary {
  background: #C2212D;
  color: white;
  border: 1px solid #C2212D;
  box-shadow: 0 8px 25px rgba(194, 33, 45, 0.3);
}

.hero-buttons .btn-primary:hover {
  background: #1A1553;
  border: 1px solid #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(26, 21, 83, 0.4);
}

.hero-buttons .btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Smooth animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.features-section {
  padding: 4rem 0;
  background-color: #f8fafc;
  background: linear-gradient(135deg, #1A1553 0%, #3B3F73 100%);
  color: white;
}

.features-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #FFFFFF;
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: #FFFFFF;
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-section {
  padding: 4rem 0;
  background-color: #f8fafc;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.view-all-link {
  color: #C2212D;
  font-weight: 600;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.news-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 1.5rem;
}

.news-content h3 {
  margin-bottom: 1rem;
  color: #1A1553;
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-excerpt {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.news-date {
  color: #9ca3af;
}

.read-more {
  color: #C2212D;
  font-weight: 600;
}

.where-to-play-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #1A1553 0%, #3B3F73 100%);
  color: white;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.location-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.location-card:hover {
  transform: translateY(-5px);
}

.location-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.location-content {
  padding: 1.5rem;
}

.location-content h3 {
  margin-bottom: 0.5rem;
  color: #FFFFFF;
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.location-address {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.location-description {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.location-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.location-type {
  background-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.location-link {
  color: #FFD447;
  font-weight: 600;
  font-size: 0.9rem;
}

.cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #FFD447 0%, #FFE066 100%);
  color: #1A1553;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1A1553;
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer {
  background-color: #1A1553;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #d1d5db;
  text-decoration: none;
}

.footer-nav a:hover {
  color: white;
}

.footer-info {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
}

.footer-info p {
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.footer-info a {
  color: #d1d5db;
}

.back-to-top {
  text-align: center;
  margin-top: 2rem;
}

.back-to-top a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .hero-section {
    padding: 3rem 0 4rem 0;
  }

  .hero-section .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    justify-content: center;
    gap: 1rem;
  }

  .hero-buttons .btn {
    padding: 12px 24px;
    font-size: 1rem;
    min-width: 140px;
  }

  .hero-image::before {
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 16px;
  }

  .hero-image img {
    border-radius: 12px;
  }

  .hero-image img:hover {
    transform: translateY(-4px) scale(1.01);
  }

  .header-main .container {
    flex-direction: column;
    gap: 1rem;
  }

  .main-navigation ul {
    flex-direction: column;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.header-auth {
  display: flex;
  align-items: center;
  gap: 12px;
}

.welcome-message {
  color: #6b7280;
  font-size: 0.9rem;
  margin-right: 8px;
}

.signin-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8fafc;
}

.signin-container {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

.signin-header {
  text-align: center;
  margin-bottom: 2rem;
}

.signin-header h1 {
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.signin-header p {
  color: #6b7280;
}

.signin-form {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.signin-footer {
  text-align: center;
}

.signup-link {
  color: #2563eb;
  font-weight: 600;
}

.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-weight: 500;
}

.alert-error {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.alert-success {
  background-color: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.admin-dashboard {
  padding: 2rem 0;
}

.dashboard-header {
  margin-bottom: 2rem;
}

.dashboard-header h1 {
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.dashboard-header p {
  color: #6b7280;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  font-size: 2rem;
}

.stat-info h3 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
  color: #1f2937;
}

.stat-info p {
  color: #6b7280;
  margin: 0;
}

.dashboard-section {
  margin-bottom: 3rem;
}

.dashboard-section h2 {
  margin-bottom: 1.5rem;
  color: #1f2937;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.action-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.action-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.action-card h3 {
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.action-card p {
  color: #6b7280;
  margin: 0;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.admin-table th,
.admin-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.admin-table th {
  background-color: #f9fafb;
  font-weight: 600;
  color: #374151;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-admin {
  background-color: #dc2626;
  color: white;
}

.badge-user {
  background-color: #059669;
  color: white;
}

.system-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.system-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.system-card h4 {
  margin-bottom: 1rem;
  color: #1f2937;
}

.breakdown-item,
.pending-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
}

.breakdown-item:last-child,
.pending-item:last-child {
  border-bottom: none;
}

.breakdown-label,
.pending-label {
  color: #6b7280;
  font-size: 0.9rem;
}

.breakdown-value,
.pending-value {
  font-weight: 600;
  color: #1f2937;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }

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

  .header-auth {
    flex-direction: column;
    gap: 8px;
  }

  .welcome-message {
    margin-right: 0;
  }
}

.site-logo {
  height: 50px;
  width: auto;
}

.articles-page {
  padding: 2rem 0;
}

.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: #6b7280;
}

.admin-actions {
  margin-bottom: 2rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.article-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-content {
  padding: 1.5rem;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.article-date {
  color: #9ca3af;
}

.article-author {
  color: #6b7280;
}

.featured-badge {
  background-color: #fbbf24;
  color: #92400e;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.article-title {
  margin-bottom: 1rem;
}

.article-title a {
  color: #1f2937;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-title a:hover {
  color: #2563eb;
}

.article-excerpt {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.read-more-link {
  color: #2563eb;
  font-weight: 600;
  font-size: 0.9rem;
}

.read-more-link:hover {
  color: #1d4ed8;
}

.empty-state {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
}

.article-page {
  padding: 2rem 0;
}

.article-full {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.article-header {
  padding: 2rem 2rem 1rem;
}

.article-header .article-meta {
  margin-bottom: 1rem;
}

.article-title {
  font-size: 2.5rem;
  color: #1f2937;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.article-hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.article-body {
  padding: 2rem;
  line-height: 1.8;
  color: #374151;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
  color: #1f2937;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  border-left: 4px solid #2563eb;
  padding-left: 1rem;
  margin: 2rem 0;
  font-style: italic;
  color: #6b7280;
}

.article-footer {
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid #e5e7eb;
}

.article-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.trix-content {
  line-height: 1.6;
  color: #374151;
}

.trix-content:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-title {
    font-size: 1.5rem;
  }

  .form-row {
    flex-direction: column;
  }

  .article-actions {
    flex-direction: column;
  }

  .article-actions .btn {
    width: 100%;
  }
}

.btn-danger {
  background-color: #dc2626;
  color: white;
}

.btn-danger:hover {
  background-color: #b91c1c;
  color: white;
}

/* User Management Styles */
.admin-users-page {
  padding: 2rem 0;
}

.users-table-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-top: 2rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-about {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.user-roles {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-director {
  background-color: #059669;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.action-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* User Form Styles */
.admin-user-form-page {
  padding: 2rem 0;
}

.user-form-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-top: 2rem;
}

.user-form {
  max-width: 800px;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.form-text {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 4px;
}

/* User Show Page Styles */
.admin-user-show-page {
  padding: 2rem 0;
}

.user-details {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-top: 2rem;
}

.user-profile {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.user-avatar-large {
  flex-shrink: 0;
}

.user-avatar-large img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.user-info h2 {
  margin-bottom: 8px;
}

.user-username {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.user-email {
  color: #2563eb;
  margin-bottom: 16px;
}

.user-about {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.user-about h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.user-meta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.user-meta p {
  margin-bottom: 4px;
}

.user-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Board of Directors Styles */
.board-page {
  padding: 2rem 0;
}

.directors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.director-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.director-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.director-image {
  height: 200px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.director-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #2563eb;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
}

.director-content {
  padding: 1.5rem;
}

.director-content h3 {
  margin-bottom: 8px;
  color: #1f2937;
}

.director-role {
  margin-bottom: 12px;
}

.director-bio {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 16px;
}

.director-contact {
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.director-email {
  color: #2563eb;
  font-size: 0.875rem;
  margin: 0;
}

/* Documents Styles */
.documents-page {
  padding: 2rem 0;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.document-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  gap: 1rem;
}

.document-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.document-icon {
  flex-shrink: 0;
}

.file-type-icon {
  font-size: 2rem;
  display: block;
}

.document-content {
  flex: 1;
}

.document-title {
  margin-bottom: 0.5rem;
}

.document-title a {
  color: #1f2937;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.document-title a:hover {
  color: #2563eb;
}

.document-description {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.document-type {
  background-color: #e5e7eb;
  color: #374151;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.document-uploader {
  color: #6b7280;
}

.document-date {
  color: #9ca3af;
}

.document-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Document Show Page Styles */
.document-show-page {
  padding: 2rem 0;
}

.document-full {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.document-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.document-type-badge {
  background-color: #2563eb;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.document-uploader {
  color: #6b7280;
}

.document-date {
  color: #9ca3af;
}

.document-title {
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 0;
}

.document-description {
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: #f9fafb;
  border-radius: 6px;
}

.document-description h3 {
  margin-bottom: 1rem;
  color: #1f2937;
}

.document-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.download-icon {
  margin-right: 8px;
}

.document-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.document-info h3 {
  margin-bottom: 1rem;
  color: #1f2937;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.info-item {
  padding: 12px;
  background-color: #f9fafb;
  border-radius: 6px;
}

/* Document Form Styles */
.document-form-page {
  padding: 2rem 0;
}

.document-form-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.document-form {
  max-width: 100%;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .user-profile {
    flex-direction: column;
    text-align: center;
  }
  
  .directors-grid {
    grid-template-columns: 1fr;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .user-actions {
    flex-direction: column;
  }
  
  .documents-grid {
    grid-template-columns: 1fr;
  }
  
  .document-card {
    flex-direction: column;
    text-align: center;
  }
  
  .document-actions {
    justify-content: center;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
  }
}

/* Clubs page */
.clubs-page {
  padding: 2rem 0;
  background-color: #f8fafc;
}

.clubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.club-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.club-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.club-image {
  height: 80px;
  overflow: hidden;
  background: #f8f9fa;
}

.club-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.club-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed #dee2e6;
  transition: all 0.3s ease;
}

.club-placeholder:hover {
  background: linear-gradient(135deg, #f1f3f4 0%, #e2e5ea 100%);
  border-color: #ced4da;
}

.placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #6c757d;
}

.placeholder-icon {
  font-size: 1.2rem;
  margin-bottom: 0;
  opacity: 0.7;
}

.placeholder-content span {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.club-content {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.club-title {
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.club-title a {
  color: #1A1553;
  text-decoration: none;
}

.club-title a:hover {
  color: #C2212D;
  text-decoration: underline;
}

.club-address {
  color: #6b7280;
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.club-schedule {
  margin: 1rem 0;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 4px;
}

.club-schedule h4 {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  color: #374151;
}

.club-schedule p {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.club-description {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 1rem 0;
}

.club-contact {
  margin: 1rem 0;
}

.club-contact p {
  margin: 0.25rem 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.club-contact a {
  color: #C2212D;
  text-decoration: none;
}

.club-contact a:hover {
  color: #1A1553;
  text-decoration: underline;
}

.club-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Club show page */
.club-show-page {
  padding: 2rem 0;
}

.club-full {
  max-width: 1000px;
  margin: 0 auto;
}

.club-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e5e7eb;
}

.club-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.club-established,
.club-contact-person {
  background: #f3f4f6;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #6b7280;
}

.club-title {
  margin: 0;
  font-size: 2.5rem;
  color: #1A1553;
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.club-details {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.club-main-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.club-location h3,
.club-contact-info h3,
.club-schedule h3,
.club-description h3 {
  margin: 0 0 0.75rem 0;
  color: #374151;
  font-size: 1.1rem;
}

.contact-grid {
  display: grid;
  gap: 0.5rem;
}

.contact-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item strong {
  color: #374151;
  margin-right: 0.5rem;
}

.contact-item a {
  color: #C2212D;
  text-decoration: none;
}

.contact-item a:hover {
  color: #1A1553;
  text-decoration: underline;
}

.club-image-large {
  text-align: center;
}

.club-image-large img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.club-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding-top: 2rem;
  border-top: 2px solid #e5e7eb;
}

/* Club form page */
.club-form-page {
  padding: 2rem 0;
}

.club-form-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.club-form {
  margin-top: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-text {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

/* Responsive adjustments for clubs */
@media (max-width: 768px) {
  .clubs-grid {
    grid-template-columns: 1fr;
  }
  
  .club-details {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .club-actions {
    flex-direction: column;
  }
}

/* Signup/Registration Styles */
.signup-container {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.signup-form-wrapper {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 40px;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.signup-header {
  text-align: center;
  margin-bottom: 40px;
}

.signup-header h1 {
  color: #2c3e50;
  font-size: 2.5em;
  margin-bottom: 10px;
}

.signup-header p {
  color: #666;
  font-size: 1.1em;
}

.error-messages {
  background: #fee;
  border: 1px solid #fcc;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
}

.error-messages h3 {
  color: #c33;
  margin-bottom: 10px;
}

.error-messages ul {
  margin: 0;
  padding-left: 20px;
}

.error-messages li {
  color: #c33;
  margin: 5px 0;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-section {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 25px;
}

.form-section h3 {
  color: #2c3e50;
  margin-bottom: 20px;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
  font-size: 1.3em;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 0.95em;
}

.form-group input,
.form-group select {
  padding: 12px 15px;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  font-size: 1em;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: white;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6,9 12,15 18,9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-hint {
  color: #666;
  font-size: 0.85em;
  margin-top: 5px;
  font-style: italic;
}

.form-actions {
  text-align: center;
  margin-top: 20px;
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.1em;
  font-weight: 600;
  width: 100%;
  max-width: 300px;
  margin-bottom: 20px;
}

.signin-link {
  color: #666;
  margin: 0;
}

.signin-link a {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
}

.signin-link a:hover {
  text-decoration: underline;
}

/* Responsive adjustments for signup */
@media (max-width: 768px) {
  .signup-form-wrapper {
    padding: 30px 20px;
    margin: 20px;
  }
  
  .signup-header h1 {
    font-size: 2em;
  }
  
  .signup-form .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .form-section {
    padding: 20px 15px;
  }
}

/* State Search Styles */
.state-search {
  max-width: 600px;
  margin: 0 auto 3rem auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.state-search-form {
  margin: 0;
}

.search-input-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.state-search-input {
  flex: 1;
  min-width: 250px;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.state-search-input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-btn {
  padding: 12px 24px;
  white-space: nowrap;
  min-width: 120px;
}

.clear-btn {
  padding: 12px 20px;
  white-space: nowrap;
}

.search-message {
  margin-top: 1rem;
  padding: 12px 16px;
  background: #f8f9fa;
  border-left: 4px solid #3498db;
  border-radius: 4px;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.4;
}

.state-suggestions {
  position: relative;
  z-index: 1000;
}

.suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #dee2e6;
  border-top: none;
  border-radius: 0 0 4px 4px;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.suggestion-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid #f8f9fa;
  transition: background-color 0.2s ease;
}

.suggestion-item:hover,
.suggestion-item.highlighted {
  background-color: #f8f9fa;
}

.suggestion-item:last-child {
  border-bottom: none;
}

/* Where to Play Section State Search */
.where-to-play-section .state-search {
  margin-bottom: 2rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
}

.where-to-play-section .state-search-input {
  background: white;
}

/* Responsive adjustments for state search */
@media (max-width: 768px) {
  .state-search {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .search-input-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .state-search-input {
    min-width: unset;
    width: 100%;
  }
  
  .search-btn,
  .clear-btn {
    width: 100%;
  }
}

/* Load More Styles */
.load-more-section {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.load-more-btn {
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 200px;
  transition: all 0.3s ease;
}

.load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.load-more-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Simple Mobile Navigation */
.mobile-nav {
  display: none;
}

.desktop-nav {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Simple hamburger button */
.hamburger-btn {
  background: white;
  border: 2px solid #333;
  border-radius: 4px;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #333;
}

/* Simple dropdown menu */
.mobile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 2px solid #333;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  min-width: 200px;
  display: none;
  z-index: 1000;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu li {
  border-bottom: 1px solid #eee;
}

.mobile-menu li:last-child {
  border-bottom: none;
}

.mobile-menu a {
  display: block;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.mobile-menu a:hover {
  background: #f5f5f5;
}

.mobile-auth-link {
  background: #2563eb !important;
  color: white !important;
}

.mobile-auth-link:hover {
  background: #1d4ed8 !important;
}

.mobile-signup-btn {
  background: #2563eb !important;
  color: white !important;
  margin: 0.5rem 2rem;
  padding: 0.75rem 1rem !important;
  border-radius: 6px;
  text-align: center;
  font-weight: 600 !important;
}

.mobile-signup-btn:hover {
  background: #1d4ed8 !important;
}

/* Mobile-only button in hero */
.mobile-only-btn {
  display: none;
}

/* Ensure desktop header stays single row */
@media (min-width: 769px) {
  .site-header .container {
    flex-wrap: nowrap !important;
  }
  
  .header-auth {
    width: auto !important;
    order: initial !important;
    margin-top: 0 !important;
  }
  
  /* Hide mobile nav on desktop */
  .mobile-nav {
    display: none !important;
  }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  /* Hide desktop navigation completely */
  .desktop-nav {
    display: none !important;
  }
  
  /* Hide the main navigation background on mobile */
  .main-navigation {
    background-color: transparent;
    padding: 0;
  }
  
  .main-navigation ul {
    display: none !important;
  }
  
  /* Show mobile navigation */
  .mobile-nav {
    display: block !important;
    position: relative;
  }
  
  /* Fix mobile menu positioning */
  .mobile-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    width: 250px !important;
    max-width: calc(100vw - 20px) !important;
    transform: translateX(0) !important;
    margin-right: 10px !important;
  }
  
  /* Ensure menu is visible when active */
  .mobile-menu.active {
    display: block !important;
  }
  
  /* Make sure menu items are properly sized */
  .mobile-menu a {
    font-size: 18px !important;
    padding: 18px 20px !important;
  }
  
  .mobile-only-btn {
    display: inline-block;
  }
  
  /* Header adjustments for mobile */
  .site-header .header-main .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    padding: 0.5rem 1rem;
    position: relative;
    width: 100%;
  }
  
  /* Make logo/text smaller on mobile and move to far left */
  .logo-link {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    order: 1;
  }
  
  /* Position hamburger on the right */
  .mobile-nav {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    order: 2;
  }
  
  .logo-link h1 {
    font-size: 1.2rem !important;
  }
  
  .logo-link span {
    font-size: 0.75rem !important;
  }
  
  .site-logo {
    width: 40px !important;
    height: 40px !important;
  }
  
  /* Hide desktop auth buttons on mobile */
  .desktop-only {
    display: none !important;
  }
  
  /* Show mobile nav on mobile */
  .mobile-nav {
    display: block !important;
    position: relative;
  }
  
  /* Fix hamburger button */
  .hamburger-btn {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 26px;
    background: white;
    border: 2px solid #333;
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .hamburger-line {
    display: block !important;
    height: 3px !important;
    width: 100% !important;
    background-color: #333 !important;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  /* Hero section mobile adjustments */
  .hero-section {
    padding: 3rem 0;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .hero-image {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .hero-image img {
    max-width: 100%;
    height: auto;
  }
  
  /* News section mobile */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Clubs section mobile */
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Form adjustments */
  .state-search-form .search-input-group {
    flex-direction: column;
    gap: 1rem;
  }
  
  .state-search-input {
    width: 100%;
  }
  
  .search-btn {
    width: 100%;
  }
  
  /* Welcome message mobile */
  .welcome-message {
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 0.5rem;
  }
  
  .header-auth {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .header-auth .btn {
    min-width: 120px;
    text-align: center;
  }
}

/* Brackets Page Styles */
.brackets-page {
  padding: 2rem 0;
  background: #f8fafc;
  min-height: calc(100vh - 200px);
}

.brackets-page .page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.brackets-page .page-header h1 {
  font-size: 2.5rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.brackets-page .page-header p {
  font-size: 1.1rem;
  color: #64748b;
}

.tournament-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.control-section {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.control-section h3 {
  color: #1e293b;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.setup-form .form-group {
  margin-bottom: 1rem;
}

.setup-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
}

.setup-form input,
.setup-form select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.setup-form input:focus,
.setup-form select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.participants-management {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.participants-list {
  max-height: 300px;
  overflow-y: auto;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
}

.participant-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: white;
  transition: background-color 0.2s ease;
}

.participant-item:last-child {
  border-bottom: none;
}

.participant-item:hover {
  background: #f3f4f6;
}

.participant-item.placeholder {
  color: #9ca3af;
  font-style: italic;
}

.participant-number {
  background: #3b82f6;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.participant-item.placeholder .participant-number {
  background: #d1d5db;
}

.participant-name {
  flex: 1;
  font-weight: 500;
}

.remove-participant {
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.remove-participant:hover {
  background: #dc2626;
}

.add-participant {
  display: flex;
  gap: 0.5rem;
}

.add-participant input {
  flex: 1;
  padding: 0.75rem;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
}

.add-participant input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.participant-actions {
  display: flex;
  gap: 0.5rem;
}

.tournament-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tournament-display {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  min-height: 400px;
}

.bracket-container {
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bracket-placeholder {
  text-align: center;
  color: #6b7280;
}

.placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.placeholder-icon {
  font-size: 4rem;
  opacity: 0.5;
}

.placeholder-content h3 {
  font-size: 1.5rem;
  color: #374151;
  margin: 0;
}

.placeholder-content p {
  font-size: 1rem;
  margin: 0;
}

/* Brackets Viewer Customization */
.bracket-container svg {
  max-width: 100%;
  height: auto;
}

.bracket-container .participant {
  cursor: pointer;
  transition: all 0.2s ease;
}

.bracket-container .participant:hover {
  fill: #dbeafe;
}

.bracket-container .match {
  stroke: #3b82f6;
  stroke-width: 2;
}

.bracket-container .match-winner {
  stroke: #10b981;
  stroke-width: 3;
}

/* Responsive Design */
@media (max-width: 768px) {
  .tournament-controls {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .control-section {
    padding: 1rem;
  }
  
  .brackets-page .page-header h1 {
    font-size: 2rem;
  }
  
  .participant-actions {
    flex-direction: column;
  }
  
  .add-participant {
    flex-direction: column;
  }
  
  .tournament-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .tournament-display {
    padding: 1rem;
  }
}
