.header-logo {
    filter: brightness(3) saturate(0);
    width:200px;
}

.brand-img {
  width:130px;
}

.footer-logo {
    filter: brightness(0);
    width:200px;
}

.block-with-border {
  display: flex;
  align-items: center; /* vertical centering */
  justify-content: center; /* optional: centers horizontally too */
}

.partners-block {
  display: flex;
  gap: 2rem; /* space between logos */
  align-items: center; /* makes sure images align vertically */
  opacity:.7;
}

.brand-img {
  max-height: 90px; /* adjust as needed */
  object-fit: contain;
  opacity:100%;
}

.ellipse-conteny .silver-text {
  text-align:center;
  width:90%;
  margin: 0 auto;
}

.ranking-section {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 24px;
  font-family: Inter, sans-serif;
}

.ranking-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.tab-button {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: #f4f4f4;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-button.active {
  background: #111;
  color: white;
}

/* Table container */
.ranking-table {
  width: 100%;
}

/* Each row */
.ranking-row {
  display: grid;
  grid-template-columns: 50px 1fr 100px 60px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  gap: 12px;
}

/* Player info */
.player-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.player-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.rank {
  font-weight: 700;
  text-align: center;
}

.points,
.age {
  text-align: center;
  font-weight: 600;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 10px; /* slightly smaller gap between image and text */
}

.player-info strong {
  display: block;
  font-weight: 700;
  font-size: 20px; /* increased from 15px */
  line-height: 1.1;
}

.player-info small {
  color: #666;
  font-size: 13px;
  margin-top: 2px; /* small spacing between name & country */
}

.ranking-tab {
  display: none;
}

.ranking-tab.active {
  display: block;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.player-text strong {
  font-weight: 700;
  font-size: 17px;
}

.player-text small {
  color: #666;
  font-size: 13px;
  margin-top: 1px; /* very small gap between name and country */
}

.ranking-header {
  display: grid;
  grid-template-columns: 60px 1fr 80px 160px 100px;
  align-items: center;
  padding: 10px 0;
  font-weight: 700;
  font-size: 13px;
  color: #6b4e9c; /* subtle purple tint like your screenshot */
  border-bottom: 2px solid #f2f2f2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ranking-header div {
  text-align: center;
}

.ranking-header .player-col {
  text-align: left;
  padding-left: 8px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 60px 1fr 80px 160px 100px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.ranking-header, .ranking-row {
  display: grid;
  grid-template-columns: 80px 1.5fr 80px 180px 100px;
  align-items: center;
  text-align: center;
}

.ranking-header {
  font-weight: 700;
  color: #8b5cf6;
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 2px solid #f3f3f3;
  text-transform: uppercase;
}

.ranking-row {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
}

.player-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.player-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.player-name {
  font-weight: 600;
  font-size: 15px;
}

.player-country {
  font-size: 13px;
  color: #888;
  margin-top: 1px;
}

/* single source of truth for the columns */
:root {
  --col-template: 60px 1.6fr 80px 200px 110px; /* rank | player | age | tournaments | points */
}

/* header + row share the same grid -> prevents misalignment */
.ranking-header,
.ranking-row {
  display: grid;
  grid-template-columns: var(--col-template);
  align-items: center;     /* vertical centering */
  gap: 12px;
}

/* header styles */
.ranking-header {
  padding: 12px 0;
  font-weight: 700;
  color: #7c3aed;
  font-size: 13px;
  border-bottom: 2px solid #f3f3f3;
  text-transform: uppercase;
}

/* row styles */
.ranking-row {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

/* make sure the player column aligns left and doesn't center */
.ranking-header .player-col,
.ranking-row .player-info {
  text-align: left;
}

/* force the age/tournaments/points columns to center text */
.ranking-header .age,
.ranking-row .age,
.ranking-header .tournaments,
.ranking-row .tournaments,
.ranking-header .points,
.ranking-row .points {
  text-align: center;
  justify-self: center;  /* ensures horizontal centering in the grid cell */
  align-self: center;    /* ensures vertical centering in the grid cell */
}

/* player info layout */
.player-info {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
}

/* prevent image from growing and pushing layout */
.player-img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  flex: 0 0 36px;
}

/* player text */
.player-details {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.player-name { font-weight: 600; font-size: 16px; }
.player-country { font-size: 13px; color: #888; margin-top: 2px; }

/* small screens: stack age/tournaments/points under player */
@media (max-width: 720px) {
  :root { --col-template: 50px 1fr; } /* simpler columns on mobile */
  .ranking-header,
  .ranking-row {
    grid-template-columns: var(--col-template);
  }
  /* hide the header extra labels or restyle them on mobile if needed */
  .ranking-row .age,
  .ranking-row .tournaments,
  .ranking-row .points {
    grid-column: 2 / 3;
    text-align: left;
    margin-top: 6px;
  }
  .ranking-header .age,
  .ranking-header .tournaments,
  .ranking-header .points { display: none; }
}

.ellipse {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  width: clamp(260px, 40vw, 400px);
  height: clamp(260px, 40vw, 400px);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid black;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.ellipse-fill {
  position: absolute;
  inset: 0;
  background: black;
  opacity: 0; /* start invisible */
  z-index: 1;
  transition: opacity 0.8s ease-in-out;
}

.ellipse-text {
  position: relative;
  z-index: 2;
  color: black;
  text-align: center;
  transition: color 0.4s ease;
  padding: 0 1rem; /* optional */
}

.ellipse-number {
  font-weight: bold;
  font-size: clamp(28px, 5vw, 50px);
  margin-bottom: 8px;
}

.silver-text {
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.4;
  max-width: 85%;
  margin: 0 auto;
}


.contacts-detail {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  clear: both;
}

.contacts-icon {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacts-icon img {
  width: 100%;
  height: auto;
  filter: brightness(0) saturate(100%) invert(33%) sepia(0%) saturate(0%) hue-rotate(172deg) brightness(95%) contrast(85%);
  /* translates to #555555 */
}

.paragraph-no-margin {
  margin: 0;
}

.link {
  color: #fff;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}


.paragraph-no-margin {
  margin: 0;
}

.link {
  color: #fff;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}


/* Tablet and smaller: switch to 1 column */
@media (max-width: 800px) {
  .ellipse-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ellipse {
    width: clamp(220px, 70vw, 320px);
    height: clamp(220px, 70vw, 320px);
  }

  .ellipse-number {
    font-size: clamp(24px, 6vw, 38px);
  }

  .silver-text {
    font-size: clamp(13px, 3vw, 15px);
  }
}

.slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}


.slide {
  min-width: 100%;
  display: none;
  object-fit: contain;  /* Fit the image inside without cropping */
  width: 100%;
  height: 300px;        /* or whatever height you want for the container */
  background-color: #f9f9f9; /* optional, for empty space around images */
}

.slide-container {
  width: 100%;
  height: 300px; /* adjust to your desired height */
  display: flex;
  justify-content: center; /* horizontal centering */
  align-items: center;     /* vertical centering */
  overflow: hidden;
  background-color: #f9f9f9; /* optional background */
}


.slide.active {
  display: block;
}

.prev-slide,
.next-slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
  z-index: 2;
}

.prev-slide {
  left: 10px;
}

.next-slide {
  right: 10px;
}

@media screen and (max-width:1000px) {
  .images-wrapper {
    flex-direction: column;
    gap:220px;
    align-items:center;
  }
}

img {
    pointer-events: none;
    user-select: none; /* Prevents selecting/highlighting the image */
}






