* 
{
  box-sizing: border-box;
}

/* RESET */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

/* HEADER */
.header {
  background-color: #0B3D91;
  color: white;
  width: 100%;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 1000;

  /* samlet her */
  transition: box-shadow 0.3s ease;
}

.topbar {
  width: 100%;
  box-sizing: border-box;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 20px;
  color: #0B3D91;
  position: relative;
  padding-left: 15px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  height: 20px;
  width: 4px;
  background-color: blue;
}

.header.scrolled {
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

h3 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #0B3D91;
}

/* GRID LAYOUT */
.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
  padding: 0 30px;

  max-width: 1200px;   /*vigtig */
  margin: 0 auto;      /*centrerer */
}

/* VENSTRE / HØJRE */
.nav-left {
  justify-self: start;
}

.nav-right {
  justify-self: end;
}

/* LOGO */
.logo {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 22px;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

/* Baggrunds billede */ 
.hero {
  position: relative;
  width: 100%;
  height: clamp(320px, 70vh, 650px);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

/* overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center; /* centrer tekst */
}

/* DROPDOWN BUTTON / LINK STYLING */
.dropbtn {
  background: none;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
}

/* LINKS */
.nav-links a {
  color: white;
  text-decoration: none;
}

/* VIGTIG FOR UNDERLINE */
.nav-links a,
.dropbtn {
  display: inline-block;
  position: relative;
  padding: 10px 0;

}

/* DROPDOWN */
.dropdown {
  position: relative;
}

/* MENU (hidden default) */
.dropdown-menu {
  position: absolute;
  top: 40px;
  left: 0;

 background-color: #0B3D91;
 box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  padding: 10px;
  list-style: none;
  margin: 0;
  border-radius: 6px;
  min-width: 150px;

  /* animation */
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;

  transition: all 0.25s ease;
}

/* SHOW (smooth) */
.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* LINKS i dropdown */
.dropdown-menu li {
  margin: 5px 0;
}

/* =====================
   CONTAINER & SEKTIONER
   ===================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.content {
  padding: 40px 0;
}

/* HERO TEKST */
.hero-content h1 {
  font-size: 46px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 18px;
  margin: 0;
  opacity: 0.9;
  letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* NYHEDSKORT (index.html) */
.card {
  background: #f5f7fa;
  border-left: 4px solid #0B3D91;
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

/* =====================
   NAV HOVER UNDERLINE
   ===================== */
.nav-links a::after,
.dropbtn::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.25s ease;
}

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

/* =====================
   SPILLERKORT
   ===================== */
.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 20px;
  margin-bottom: 10px;
}

.player-card {
  border-radius: 10px;
  overflow: hidden;
  background: #f5f7fa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

.player-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.player-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.player-info {
  padding: 10px 12px;
  background: #0B3D91;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-info h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.number {
  font-size: 20px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.45);
  min-width: 28px;
  flex-shrink: 0;
}

/* =====================
   BURGER KNAP
   ===================== */
.burger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background-color: #0B3D91;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 30px 20px;
  margin-top: auto;
  font-size: 14px;
}

footer p {
  margin: 0;
}

footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: white;
}

/* =====================
   RESPONSIVT / MOBIL
   ===================== */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .topbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: auto;
    min-height: 70px;
  }

  .logo img {
    height: 70px;
  }

  .nav-left,
  .nav-right {
    width: 100%;
    display: none;
    background-color: #0a357e;
    padding: 12px 16px;
  }

  .nav-left.active,
  .nav-right.active {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }

/* Signup / player transfer form */
.signup {
  padding: 40px 0;
  display: flex;
  justify-content: center;
}

.player-form {
  max-width: 600px;
  width: 100%;
  background: #f5f7fa;
  border-left: 4px solid #0B3D91;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  box-sizing: border-box;
}

.player-form h2 {
  margin: 0 0 8px 0;
  font-size: 20px;
  color: #0B3D91;
}

.player-form p {
  margin: 0 0 14px 0;
  color: rgba(0,0,0,0.85);
  line-height: 1.4;
}

.player-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.player-form label {
  font-size: 0.95rem;
  color: rgba(0,0,0,0.85);
}

.player-form input[type="text"],
.player-form input[type="email"],
.player-form input[type="tel"],
.player-form input[type="date"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 6px;
  background: #ffffff;
  font-size: 1rem;
  box-sizing: border-box;
}

.player-form .checkbox-row {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.player-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.player-form .btn-submit {
  width: 100%;
  padding: 12px 14px;
  background-color: #0B3D91;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.player-form .btn-submit:hover,
.player-form .btn-submit:focus {
  background-color: #092f72;
  outline: none;
}

@media (max-width: 420px) {
  .player-form { padding: 14px; }
}

  .dropbtn {
    padding: 10px 0;
    width: 100%;
    text-align: left;
  }

  /* Dropdown på mobil: inline i stedet for absolut */
  .dropdown-menu {
    position: static;
    opacity: 1;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    padding: 0 0 4px 14px;
    display: none;
    pointer-events: auto;
    transition: none;
  }

  .dropdown-menu.show {
    display: block;
  }

  .nav-links a::after,
  .dropbtn::after {
    display: none;
  }

  .hero {
    height: clamp(280px, 45vh, 420px);
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .player-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
  }
}

.dropdown-menu a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 5px 10px;
}

/* hover effect */
.dropdown-menu a:hover {
  background-color: #0B3D91;
  border-radius: 4px;
}
/* ========================= */
/* UNDERLINE HOVER ANIMATION */
/* ========================= */

.nav-links a,
.dropbtn {
  position: relative;
}

/* selve linjen */
.nav-links a::after,
.dropbtn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;

  width: 0%;
  height: 2px;
  background-color: rgb(255, 255, 255);

  transition: width 0.3s ease;
}

/* hover = animér linje */
.nav-links a:hover::after,
.dropbtn:hover::after {
  width: 100%;
}

/* BURGER (hidden desktop) */
.burger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 26px;
  cursor: pointer;
}



/* ========================= */
/* CONTENT / FULL WIDTH FIX */
/* ========================= */
/*CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.content {
  width: 100%;
  padding: 40px 0;
  box-sizing: border-box;
}

.content .container {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

/* cards fylder hele bredden */
.card {
  background: #f5f7fa;
  border-left: 4px solid #0B3D91;
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s ease;
  box-sizing: border-box;
}




/* ========================= */
/* PRO PLAYER CARDS */
/* ========================= */

.player-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 🔥 4 på række */
  gap: 20px;
} 

@media (max-width: 768px) {
  .player-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.player-card.pro img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.player-card.pro:hover img {
  transform: scale(1.05);
}

/* billede */
.player-card.pro {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;

  height: 260px; /* 🔥 fast størrelse */
  width: 100%;
}

.player-card.pro:focus-visible {
  outline: 3px solid #0B3D91;
  outline-offset: 3px;
}
/* mørk gradient overlay */
.player-card.pro::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 20%,
    rgba(0,0,0,0.2) 60%,
    transparent 100%
  );
}

/* info (navn + nummer) */
.player-info {
  position: absolute;
  bottom: 15px;
  left: 15px;
  z-index: 2;
  color: white;
}

/* nummer */
.player-info .number {
  font-size: 14px;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  border-left: 3px solid rgb(23, 2, 183);
  padding-left: 8px;
}

/* navn */
.player-info h4 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
}

/* hover effect */
.player-card.pro:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* ========================= */
/* MEDLEMSKAB */
/* ========================= */

.membership-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.membership-card {
  display: block;
  text-decoration: none;
  color: #0b1a33;
  background: #f5f7fa;
  border: 1px solid #d9e2f0;
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.membership-card h3 {
  margin: 0 0 10px;
  color: #0B3D91;
}

.membership-card p {
  margin: 0;
  line-height: 1.6;
}

.membership-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  color: #0B3D91;
}

.membership-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  border-color: #0B3D91;
}

/* ========================= */
/* INSTAGRAM (FORSIDE) */

/* Enhanced signup/card styles (player transfer form) */
.signup {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.signup-card {
  width: 100%;
  max-width: 600px;
  background: #fbfbfd;
  border: 1px solid rgba(11,61,145,0.06);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(11,61,145,0.06);
  padding: 28px;
  box-sizing: border-box;
}

.signup-card h2 {
  margin: 0 0 10px 0;
  font-size: 1.25rem;
  color: #0B3D91;
  font-weight: 700;
}

.player-form {
  margin-top: 8px;
}

.form-group {
  margin-bottom: 14px;
}

.player-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: rgba(0,0,0,0.85);
  font-weight: 600;
}

.player-form input[type="text"],
.player-form input[type="email"],
.player-form input[type="tel"],
.player-form input[type="date"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid #e6e7ea;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  transition: box-shadow 0.12s ease, border-color 0.12s ease;
}

.player-form input:focus {
  outline: none;
  border-color: #0B3D91;
  box-shadow: 0 0 0 6px rgba(11,61,145,0.06);
}

.consent-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #0B3D91;
}

.player-form button {
  width: 100%;
  padding: 12px 14px;
  background: #0B3D91;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.06s ease;
}

.player-form button:hover {
  background: #092f72;
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .signup-card { padding: 20px; border-radius: 10px; }
  .player-form label { font-size: 0.92rem; }
  .player-form button { padding: 12px; border-radius: 8px; }
}
/* ========================= */

.instagram-section {
  margin-top: 0;
  width: 100%;
  grid-column: 2;
  grid-row: 1 / -1;
}

.instagram-section h2 {
  margin-bottom: 10px;
}

.instagram-section > p {
  margin: 0 0 14px;
  color: #25324a;
}

.instagram-card {
  background: #f5f7fa;
  border: 1px solid #d9e2f0;
  border-radius: 10px;
  padding: 20px 24px;
}

.instagram-card h3 {
  margin: 0 0 8px;
  color: #0B3D91;
}

.instagram-card p {
  margin: 0 0 16px;
  line-height: 1.6;
}

.instagram-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.instagram-btn {
  display: inline-block;
  text-decoration: none;
  background: #0B3D91;
  color: white;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 14px;
}

.instagram-btn:hover {
  background: #0a357e;
}

.instagram-link {
  color: #0B3D91;
  font-weight: 700;
  text-decoration: none;
}

.instagram-link:hover {
  text-decoration: underline;
}

.membership-detail p {
  line-height: 1.7;
}

.detail-list {
  margin: 10px 0 24px;
  padding-left: 20px;
  list-style: disc;
}

.detail-list li {
  margin-bottom: 8px;
}

.back-link {
  display: inline-block;
  margin-top: 10px;
  color: #0B3D91;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .content .container {
    display: block;
  }

  .instagram-section {
    margin-top: 30px;
    grid-column: auto;
    grid-row: auto;
  }
}

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

/* ========================= */
/* KONTAKTSIDEN */
/* ========================= */

.contact-page {
  background: #f5f7fa;
  flex: 1;
  width: 100%;
  padding: 0;
}

.contact-hero {
  background: linear-gradient(135deg, #0B3D91 0%, #082b66 100%);
  color: white;
  padding: 70px 0 60px;
  text-align: left;
}

.contact-hero-small {
  padding: 40px 0 35px !important;
}

.contact-hero-small p {
  font-size: 16px !important;
}

.contact-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.contact-hero .eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 12px;
}

.contact-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  margin: 0 0 18px;
  font-weight: 800;
}

.contact-hero p {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
  opacity: 0.92;
}

.contact-section {
  padding: 60px 0;
}

.contact-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.contact-card {
  background: white;
  border: 1px solid #d9e2f0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(11, 61, 145, 0.06);
  padding: 40px;
  box-sizing: border-box;
}

.contact-info-card {
  background: white;
  border: 1px solid #d9e2f0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(11, 61, 145, 0.06);
  padding: 40px;
  box-sizing: border-box;
  position: sticky;
  top: 110px;
}

.contact-card h2 {
  color: #0B3D91;
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 800;
}

.contact-info-card h2 {
  color: #0B3D91;
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 800;
}

.contact-card > p {
  margin: 0 0 28px;
  color: #25324a;
  line-height: 1.6;
  font-size: 16px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.contact-form .form-group {
  display: grid;
  gap: 8px;
}

.contact-form .form-group label {
  font-weight: 700;
  color: #0b1a33;
  font-size: 14px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  border: 1px solid #d0d8e8;
  border-radius: 8px;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  box-sizing: border-box;
  background: #fafbfc;
  color: #0b1a33;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
  color: #8a94a8;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: #0B3D91;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11, 61, 145, 0.1);
}

.contact-form .form-group textarea {
  resize: vertical;
  min-height: 160px;
  font-family: inherit;
}

.primary-btn {
  border: none;
  background: #0B3D91;
  color: white;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  width: fit-content;
  transition: background 0.2s ease, transform 0.1s ease;
  display: inline-block;
}

.primary-btn:hover {
  background: #082f72;
  transform: translateY(-2px);
}

.primary-btn:active {
  transform: translateY(0);
}

.contact-info-item {
  border-bottom: 1px solid #e4eaf3;
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.contact-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.contact-info-item h3 {
  font-size: 16px;
  margin: 0 0 12px;
  color: #0B3D91;
  font-weight: 800;
}

.contact-info-item p {
  margin: 0 0 8px;
  color: #0b1a33;
  line-height: 1.6;
  font-size: 15px;
}

.contact-info-item p:last-child {
  margin-bottom: 0;
}

.contact-info-item a {
  display: inline-block;
  margin: 0;
  color: #0B3D91;
  line-height: 1.6;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.contact-info-item a:hover {
  color: #082f72;
  text-decoration: underline;
}

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

  .contact-info-card {
    position: static;
    top: auto;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 50px 0 45px;
  }

  .contact-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
  }

  .contact-hero p {
    font-size: 16px;
  }

  .contact-section {
    padding: 40px 0;
  }

  .contact-card {
    padding: 28px;
  }

  .contact-info-card {
    padding: 28px;
  }

  .contact-card h2 {
    font-size: 24px;
  }

  .contact-info-card h2 {
    font-size: 20px;
  }

  .primary-btn {
    width: 100%;
    padding: 14px 16px;
  }
}

/* ========================= */

.player-profile {
  max-width: 900px;
}

.player-profile-card {
  margin-top: 14px;
  background: #f5f7fa;
  border: 1px solid #d9e2f0;
  border-radius: 12px;
  padding: 24px;
}

.player-profile-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.profile-number {
  background: #0B3D91;
  color: white;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 12px;
}

.profile-position {
  font-weight: 700;
  color: #0B3D91;
}

.player-profile-card h2 {
  margin: 0 0 10px;
}

.player-profile-card p {
  margin: 0;
  line-height: 1.7;
}

/* ========================= */
/* HALL OF FAME - FLIP CARDS */
/* ========================= */

.hall-section {
  padding: 60px 0;
  background: #ffffff;
}

.hall-header {
  text-align: center;
  margin-bottom: 50px;
}

.hall-header .eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 12px;
  color: #0B3D91;
  margin-bottom: 14px;
  opacity: 0.8;
}

.hall-header h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 16px;
  color: #0B3D91;
  font-weight: 800;
  line-height: 1.1;
}

.hall-header p {
  font-size: 18px;
  color: rgba(11, 61, 145, 0.7);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.hall-card {
  perspective: 1000px;
  height: 400px;
  cursor: pointer;
}

.hall-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-style: preserve-3d;
}

.hall-card:hover .hall-card-inner,
.hall-card:focus-within .hall-card-inner {
  transform: rotateY(180deg);
}

.hall-card-front,
.hall-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(11, 61, 145, 0.12);
}

.hall-card-front {
  background: #ffffff;
  border: 2px solid #e8eff8;
  color: #0B3D91;
}

.hall-card-back {
  background: linear-gradient(135deg, #0B3D91 0%, #082f72 100%);
  color: white;
  transform: rotateY(180deg);
}

.hall-card-front .card-content,
.hall-card-back .card-content {
  padding: 40px;
  text-align: center;
  width: 100%;
}

.hall-card-front h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.2;
}

.hall-card-back h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 20px;
  color: white;
}

.hall-role {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hall-hint {
  font-size: 12px;
  margin: 16px 0 0;
  opacity: 0.6;
  font-style: italic;
  font-weight: 500;
}

.achievement-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  font-size: 15px;
  line-height: 1.7;
}

.achievement-list li {
  padding: 12px 0;
  padding-left: 24px;
  position: relative;
  color: rgba(255, 255, 255, 0.95);
}

.achievement-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 800;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.achievement-list li:last-child {
  padding-bottom: 0;
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
  .hall-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .hall-card {
    height: 360px;
  }

  .hall-card-front h2 {
    font-size: 24px;
  }

  .hall-card-back h3 {
    font-size: 20px;
  }

  .achievement-list {
    font-size: 14px;
  }
}

/* Responsive: Mobile */
@media (max-width: 640px) {
  .hall-section {
    padding: 40px 0;
  }

  .hall-header h1 {
    font-size: clamp(24px, 5vw, 32px);
  }

  .hall-header p {
    font-size: 16px;
  }

  .hall-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hall-card {
    height: 340px;
  }

  .hall-card-front .card-content,
  .hall-card-back .card-content {
    padding: 32px 24px;
  }

  .hall-card-front h2 {
    font-size: 22px;
  }

  .hall-card-back h3 {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .hall-role {
    font-size: 14px;
  }

  .hall-hint {
    font-size: 11px;
  }

  .achievement-list {
    font-size: 13px;
    line-height: 1.6;
  }

  .achievement-list li {
    padding: 10px 0;
    padding-left: 22px;
  }

  /* Mobile touch: Make focus state visible */
  .hall-card:focus-within .hall-card-inner {
    transform: rotateY(180deg);
  }
}
