.header-logo {
    width:150px;
}

/* .nav-menu {
  background:rgba(0, 0, 0, 0.3)
}

.centered-block {
  background:rgba(0, 0, 0, 0.3)
} */

@media screen and (max-width:1000px) {
  .brand, #cursor-ball {
    display:none;
  }
}

.brand img {
  width:150px;
}

.brand-img {
  width:130px;
}

.footer-logo {
    filter: brightness(0);
    width:150px;
}

.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: end; /* makes sure images align vertically */
  opacity:1;
}

.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 {
  width:80%;
  margin: 0 auto;
  border-radius: 16px;
  padding: 24px;
  font-family: Inter, sans-serif;
  background: rgba(255, 255, 255, 0.2);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
}

.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;
  color:white;
}

/* 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: #c6a4ff; /* 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: #ffed49;
  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 100px 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: #ffde20;
  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;
}

#cursor-ball {
  position: fixed;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 999999;   /* ← bring it above ALL elements */
  opacity: 50%;
}



@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 */
}

.nav-menu-glass {
  background: rgba(255, 255, 255, 0.2);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.3);
}

.player-col {
  display:flex;
  gap:20px;
  align-items:center;
}


/* --- Ranking Selectors (Dropdowns) --- */

.ranking-selectors select {
    /* Basic Look */
    padding: 8px 12px;
    border: 1px solid #444; /* Darker border */
    border-radius: 6px;
    background-color: #2a2a2a; /* Dark background */
    color: white;
    font-size: 14px;
    appearance: none; /* Remove default system arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ranking-selectors select:hover {
    border-color: #007bff; /* Light blue on hover */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.ranking-selectors select:focus {
    outline: none;
    border-color: #0099ff;
    box-shadow: 0 0 5px rgba(0, 153, 255, 0.8);
}

/* Optional: Add a custom dropdown arrow (requires a wrapper/pseudo-element for a full custom look) */
/* For simplicity here, we'll rely on the default arrow which is often visible on dark backgrounds */


/* --- Pagination Buttons --- */

#pagination-controls button {
    /* Basic Look */
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px white solid;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
  
    /* Color Scheme */
    background-color: black; /* Primary blue color */
    color: white;
}

#pagination-controls button:hover:not([disabled]) {
    background-color: #fff; /* Darker blue on hover */
    transform: translateY(-1px); /* Slight lift effect */
    color:black;
}

#pagination-controls button:active:not([disabled]) {
    background-color: #004085; /* Even darker blue on click */
    transform: translateY(0);
}

#pagination-controls button[disabled] {
    /* Disabled State */
    background-color: #444; /* Grey out when disabled */
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

/* --- Page Numbers Display --- */

#page-numbers {
    padding: 8px 10px;
    font-size: 16px;
    font-weight: 500;
    /* Keeping the color white as specified in your HTML inline style */
}
.img-container {
  z-index: 1;
  width: 100%;
  height: 520px;
  position: relative; /* Anchor for absolute images */
  overflow: hidden;
  background-color: #000;
}

.fading-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute; /* CRITICAL: Stacks images on top of each other */
  top: 0;
  left: 0;
}

.img-top {
  /* This image sits on top and fades in/out */
  animation: seamlessFade 4s ease-in-out infinite; 
  /* Note: 2s might be too fast to see clearly, 4s is usually better */
}

@keyframes seamlessFade {
  0%, 100% { opacity: 0; }  /* Show bottom image */
  40%, 60% { opacity: 1; }  /* Show top image */
}

/* Remove the negative margin from your previous wrapper 
   since you no longer want it between sections */
.subtitle-wrapper {
  text-align: center;
  margin-top: 0; 
  padding-bottom: 20px;
}

.img-container {
  z-index: 1;
  width: 100%;
  height: 520px;
  position: relative; /* REQUIRED: Anchor for the absolute images */
  overflow: hidden;
  background-color: #000;
}

.fading-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute; /* REQUIRED: Stacks images on top of each other */
  top: 0;
  left: 0;
  /* Hardware acceleration for smooth deployment performance */
  will-change: opacity;
  backface-visibility: hidden;
}

.img-top {
  z-index: 2; /* Ensures this image is the one fading on top */
  animation: seamlessFade 4.5s ease-in-out infinite;
}

@keyframes seamlessFade {
  0%, 100% { opacity: 0; }  /* Image 1 is visible */
  45%, 55% { opacity: 1; }  /* Image 2 is visible */
}

/* Sidebar Tab Styling */
.sidebar-tabs {
  display: flex;
  justify-content:space-around;
  margin-bottom: 15px;
}

.tab-btn {
  background: none;
  border: none;
  color: #777;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: 0.3s;
}

.tab-btn:hover {
  color: #000;
}

.tab-btn.active {
  color: #000;
  border-bottom: 2px solid #000; /* Highlights the active tab */
  margin-bottom: -2px;
}

/* Tab Content Visibility */
.tab-content {
  display: none; /* Hide all tabs by default */
}

.tab-content.active {
  display: block; /* Only show the active tab container */
}

.navlink-active {
  color:red;
}

.discounted {
  position: relative;
  display: inline-block; /* Ensures the line only spans the text width */
  color: #888; /* Optional: makes the old price look faded */

}

.discounted::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -5%;   /* Starts slightly before the text */
  width: 110%; /* Ends slightly after the text */
  height: 2px; /* Thickness of the line */
  background: #e02b2b; /* Line color (Red) */
  transform: rotate(-12deg); /* The "slant" angle */
  pointer-events: none;
}







