:root {
  --primary: #71fd65;
  --secondary: #ff005b;
  --black: #000;
  --white: #fff;
  --gray: #555;
  --gradient:  radial-gradient(98.82% 876.04% at 10% 26.47%, #d000bb 0, #ff9431 59.38%, #ff3c3c 91.98%);
}

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

body {
  font-family: 'Noto Sans', sans-serif;
  color: #000;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: hidden;
}

header {
  background: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: 63px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

nav a {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: var(--black);
  padding-bottom: 5px;
  border-bottom: 3px solid transparent;
}

nav a:hover {
  border-bottom: 3px solid var(--primary);
}

.hero img {
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
}

.divider {
  height: 2px;
  background: #b5b1b1;
  margin: 2rem 0;
}

.profile-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.bio-card {
  background: #ffffff;
  padding: 0 1.5rem 1.5rem 1.5rem;
  border-radius: 10px;
  text-align: center;
}

.bio-card h4 {
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  margin-bottom: 2rem;
  margin-top: 0;
  padding-top: 0;
}

.bio-card img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  margin-top: 1rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.timeline {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  font-size: 1.2rem;
}

.social-icons a svg {
  display: block;
  flex-shrink: 0;
}

.cta-button {
  display: inline-block;
  background: var(--gradient);
  color: rgb(255, 255, 255);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: bold;
  margin: 0.5rem 0;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
  margin: 0.5rem 0 0.25rem 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

#qr-code-image {
  max-width: 200px;
}

.qr-text {
  font-size: 1rem;
  padding-top: 1rem;
}

.download-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.download-button:active {
  transform: translateY(0);
}

.bio-text h3 {
  margin: 1rem 0 0.5rem;
  font-family: 'Roboto', sans-serif;
}

.bio-text p {
  font-size: 0.8rem;
}

.content-text {
  font-size: 0.9rem;
}

.content-text p {
  margin-top: 0;
  padding-top: 0;
}

.content-text p strong {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tab-button {
  padding: 0.75rem 1.5rem;
  background: #ffffff;
  border: none;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  flex: 1;
  text-align: center;
}

.tab-button.active {
  background: var(--gradient);
  color: black;
}

.tab-content {
  display: none;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 8px;
  font-size: 0.9rem;
}

.tab-content.active {
  display: block;
  width: 750px;
  max-width: 100%;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.two-col.articles-section {
  align-items: center;
}

.section-title {
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  margin: 2rem 0;
}

.announcement-images img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
}

.offers {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
  justify-content: center;
}

.offer-logo {
  width: 100px;
  height: auto;
}

.videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.video-container {
  position: relative;
  width: 100%;
}

.video-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--black);
  text-align: left;
}

.video-container > video,
.video-container > iframe {
  width: 100%;
  height: auto;
  background: #000;
}

/* Modern browsers with aspect-ratio support */
@supports (aspect-ratio: 16 / 9) {
  .video-container > video,
  .video-container > iframe {
    aspect-ratio: 16 / 9;
  }
}

/* Fallback for older Safari versions */
@supports not (aspect-ratio: 16 / 9) {
  .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
  }
  
  .video-container > video,
  .video-container > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .video-container .video-title {
    position: relative;
    padding-bottom: 0.5rem;
  }
}

footer {
  background: var(--black);
  color: white;
  padding: 1rem 0;
  margin-top: 3rem;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

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

footer ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

footer a {
  color: white;
  font-size: 0.9rem;
}

footer a:hover {
  color: var(--primary);
}

.copyright {
  text-align: center;
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid #444;
  font-size: 0.8rem;
}

.athlete-spotlight {
  background-color: #ff005b;
  color: white;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  padding: 5px 10px;
  display: inline-block;
  font-size: 14px;
  position: relative;
  top: 0;
  left: 0;
  z-index: 10;
}

.accolades-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.accolade-card {
  border: 1px solid #ccc;
  background: #fff;
  overflow: hidden;
  max-width: 100%;
  word-wrap: break-word;
}

.accolade-title {
  background: #ffffff;
  border-bottom: 1px solid #ccc;
  padding: 1rem 1.5rem;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.accolade-content {
  padding: 1.5rem;
  line-height: 1.8;
  overflow-wrap: break-word;
  word-break: break-word;
}

.accolade-content p {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.accolade-item {
  margin: 0.25rem 0;
  padding-left: 0.5rem;
}

@media (max-width: 768px) {
  .profile-section,
  .two-col,
  .accolades-section {
    grid-template-columns: 1fr;
  }

  .tab-content.active {
    width: 100%;
    padding: 1rem;
  }

  .timeline {
    width: 100%;
  }

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

  .accolade-card {
    margin-bottom: 1rem;
  }

  .accolade-title {
    font-size: 1.2rem;
    padding: 0.75rem 1rem;
  }

  .accolade-content {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .twitter-tweet {
    max-width: 100% !important;
    width: 100% !important;
  }

  .two-col > div {
    min-width: 0;
    overflow: hidden;
  }

  .container {
    width: 95%;
  }

  footer .container {
    padding: 0.5rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}
