section {
  scroll-margin-top: 80px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Global Styles */
body {
  background-color: black;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
}

/* Header and Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 65.5px;
  box-sizing: border-box;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  border-bottom: 1px solid rgba(123, 51, 6, 0.5);
  width: 100%;
  height: 100%;
  padding: 0 32px;
  box-sizing: border-box;
}

.logo {
  color: #ffb900;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.6px;
  white-space: nowrap;
  margin-left: 24px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 32px;
  margin-right: 24px;
}

.nav-list a {
  position: relative;
  text-decoration: none;
  color: #fee685;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: #9810fa;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #9810fa;
  transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
  background-image: url("images/Areen.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fef3c6;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  padding: 32px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  margin-top: 200px;
}

.hero-logo {
  width: 100px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 600;
}

.hero-subtitle {
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #ad46ff;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.hero-button:hover {
  background-color: #421c65;
  color: white;
  box-shadow: 0 8px 20px rgba(66, 28, 101, 0.8);
}

/* History Section */
.history-section {
  background-color: #171717;
  color: #fef3c6;
  padding: 64px 32px;
}

.history-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.history-title {
  text-align: center;
  font-size: 16px;
  margin-bottom: 48px;
  color: #fef3c6;
  font-weight: 600;
}

.history-columns {
  display: flex;
  align-items: stretch;
  gap: 48px;
}

.history-image {
  flex: 1;
}

.history-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.history-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.history-content h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 8px;
  color: #fef3c6;
  font-weight: 600;
}

.history-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #fee685;
  font-weight: 400;
}
.history-entry {
  border-left: 4px solid #ad46ff;
  padding-left: 16px;
  margin-bottom: 24px;
}

.history-entry h3 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 4px;
  color: #fef3c6;
  font-weight: 600;
}

.history-entry p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: rgba(254, 230, 133, 0.7);
  font-weight: 400;
}
.purple-icon {
  color: #ad46ff;
}

/* Championships */
.championships-section {
  background-color: black;
}

.championships-section h2 {
  color: #fef3c6;
}

.championship-box {
  background-color: #171717;
  border: 1px solid rgba(123, 51, 6, 0.5);
  border-radius: 0;
}

.champ-line1 {
  color: #ad46ff;
  font-weight: bold;
}

.champ-line2 {
  color: #fef3c6;
  font-weight: 500;
}

.champ-line3 {
  color: rgba(254, 230, 133, 0.6);
}
/* Legends */

.legendary-section {
  padding: 50px 0;
  text-align: center;
  background-color: #171717;
}

.legendary-title {
  font-size: 16px;
  margin-bottom: 40px;
  color: #fef3c6;
}
.player-card {
  background-color: black;
  border: 1px solid rgba(123, 51, 6, 0.5);
  border-color: rgba(123, 51, 6, 0.5);
  border-radius: 10px;
  overflow: hidden;
  color: white;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
  box-sizing: border-box;
}

.player-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, black 30%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  pointer-events: none;
}
.player-card:hover {
  background-color: #421c65;
  border-color: #ad46ff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}
.jersey-number {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #ac46ff83;
  transition: color 0.3s ease;
}
.player-card:hover .jersey-number {
  color: #ad46ff;
}

.player-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  background-color: black;
}

.card-body {
  position: relative;
  z-index: 2;
  padding: 20px;
  background-color: transparent;
}

.jersey-number {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #ac46ff83;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #fef3c6 !important;
}

.card-years {
  font-size: 0.95rem;
  margin-bottom: 5px;
  color: rgba(254, 230, 133, 0.7);
}

.card-achievements {
  font-size: 0.95rem;
  margin-bottom: 5px;
  color: rgba(254, 230, 133, 0.5);
}

/* Footer */
.site-footer {
  background-color: black;
  padding: 0;
  color: white;
  font-family: sans-serif;
}

.footer-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  border-top: 1px solid rgba(123, 51, 6, 0.5);
  border-bottom: 1px solid rgba(123, 51, 6, 0.5);
  padding: 40px 60px;
  background-color: black;
}

.footer-left {
  flex: 1;
  min-width: 250px;
  margin-right: 20px;
}

.footer-title {
  color: #ffb900;
  font-size: 24px;
  margin-bottom: 10px;
}

.footer-description {
  color: #fee685;
  opacity: 0.7;
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-right {
  flex: 1;
  min-width: 250px;
  text-align: right;
}

.footer-links-title {
  color: #fef3c6;
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-links {
  display: inline-block;
}

.link-row {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-bottom: 8px;
}

.link-row a {
  color: #fee685;
  opacity: 0.7;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.link-row a:hover {
  color: #ad46ff;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  color: #fee685;
  opacity: 0.5;
  font-size: 0.85rem;
  background-color: black;
}

/* Mobiili vaade */

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 16px;
    height: auto;
  }

  .nav-list {
    flex-wrap: wrap;
    gap: 16px;
    margin: 12px 0 0;
    padding: 0;
  }

  .nav-list li {
    margin-right: 0;
  }

  .nav-list a {
    font-size: 14px;
  }

  .logo {
    font-size: 20px;
    margin-left: 0;
    margin-top: 12px;
  }
}

@media (max-width: 768px) {
  .history-columns {
    flex-direction: column;
    gap: 24px;
  }

  .history-image img {
    height: auto;
    max-height: 300px;
    object-fit: contain;
  }

  .history-content {
    padding: 0;
  }
}
