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

body {
    font-family: 'Segoe UI', sans-serif;
}

/* === HEADER === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: url('../assets/images/bg-nav.png') center/cover no-repeat;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 0.75rem 1rem;
    position: relative;
}

.logo img {
    height: 40px;
}

.main-nav {
    display: flex;
    justify-content: center; 
    flex: 1; 
    gap: 6.5rem;
    padding: 10px 40px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    font-size: clamp(16px,1.5vw,25px);

}

.main-nav a:hover,
.main-nav a.active {
    color: #ff4500;
}

.main-nav a.live {
    color: #e91e63;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    z-index: 1000;
    flex-direction: column;
}

.dropdown-menu a {
    padding: 10px 15px;
    display: block;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #f58220;
}

.dropdown-menu.show {
    display: flex;
    flex-direction: column;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}
@media (min-width: 769px){
.nav-toggle {
display: none;
}
}
.user-icon img {
    height: 32px;
}

@media (max-width: 768px) {
.nav-toggle {
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}
  .main-nav { display: none; flex-direction: column; background: black; position: absolute; top: 100%; left: 0; right: 0; gap: 10px; }


    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 10px 20px;
        border-bottom: 1px solid #484848;
        text-decoration: none;
        color: white;
    }

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        cursor: pointer;
        color: white;
    }

    .dropdown-menu {
        display: none;
        flex-direction: column;
        padding-left: 15px;
        background-color: #444;
    }

    .dropdown-menu a {
        color: white;
    }

    .dropdown-menu.show {
        display: flex;
    }
    
}
/* == BODY ==*/
.rank-section {
    position: relative;
    width: 100%;
    margin-top: 30px;
    height: 100vh;
    overflow: hidden;
    color: #f58220; 
    font-size: 1.2rem;
    font-weight: bold;
}

.bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin-top: 35px;
}

.bg-rank {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bg-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.44); 
}


.bg-run {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 90%;
    z-index: 3;
}

.left-side, .right-side {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.left-side {
    left: 5%;
}

.right-side {
    right: 5%;
    text-align: right;
}

.medal {
    display: flex;
    align-items: center;
    gap: 10px;
}
.medal-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.medal-text .title {
    color: #f17000; 
    font-weight: bold;


}


.medal-text .subtitle {
    color: #fff; 
    font-size: 0.85rem;
    font-weight: normal;
}

.medal img {
    height: 60px;
}

.right-side .medal {
    flex-direction: row-reverse;
}

@media (max-width: 650px){
  .left-side  {
    gap: 50px;
    padding-top: 10px;
  }
  .right-side{
    padding-top: 110px;
    gap:50px
  }
  .medal-text .title {
    color: #f17000; 
    font-weight: bold;


}


.medal-text .subtitle {
    color: #fff; 
    font-size: 0.65rem;
    font-weight: normal;
}

.medal img {
    height: 45px;
}
}
@media (max-width: 768px) {
  
    .bg-run {
        display: none;
    }

    .rank-section {
        display: flex;
        flex-direction: column;  
        justify-content: center;  
        align-items: center; 
        gap: 30px; 
    }

    .left-side,
    .right-side {
        margin: 0 20px;  
        width: 100%;
    }

    .left-side,
    .right-side {
        text-align: center; 
    }

    .medal-text .title,
    .medal-text .subtitle {
        text-align: center;
    }
}






















/* === FOOTER === */
.contact-footer {
  background: url('../assets/images/footer-bg.png') bottom center no-repeat;
  background-size: cover; 
padding: 4rem 2rem 1.2rem;

    background-size: 100% 90%; 
  background-color: #000000;
  color: white;
  text-align: center;
}

.footer-content {
  margin: 0 auto;
}

.contact-text h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-align: start;
}

.contact-text span {
  color: #FF4C15;
}

.footer-links {

  display: flex;
  justify-content: space-between;
  margin-top: 6rem;
  gap: 100px;
  flex-wrap: wrap;
}

.get-in-touch, .social-media {
  flex: 1;
  margin: 10px;
}

.get-in-touch h3, .social-media h3 {
  font-size: clamp(15px,1.8vw,21px);
  margin-bottom: 1rem;
  font-weight: 300;
  text-align: start;
}

.footer-links p {
  font-size: 1rem;
  color: #000000;
  text-align: start;
}

.social-icons {
  margin-top: 1rem;
}

.social-icons img {
  margin-right: 1rem;
  width: clamp(30px, 3vw, 45px);
  color: #FF4C15;
  text-decoration: none;
}

.social-icon:hover {
  text-decoration: underline;
}

.title-footer {
  flex: 1.5;
  display: flex;
  align-items: center;
}

.title-footer h2 {
  color: black;
  font-size: clamp(40px, 4vw, 50px);
  font-weight: 400;
}

/* === RESPONSIVE === */

@media (max-width: 768px) {
  .contact-footer {
    background-size: 100% auto; 
  }

  .footer-links {
    flex-direction: column;
    gap: 60px;
    margin-top: 4rem;
  }

  .contact-text h2 {
    font-size: 2.5rem;
    text-align: center;
  }

  .get-in-touch, .social-media {
    margin: 20px 0;
  }

  .social-icons {
    margin-top: 1rem;
  }
.title-footer{
        display: flex
;
        justify-content: center;
}
  .title-footer h2 {
    font-size: 40px;
    color: white;
  }
    .footer-links p {
    font-size: 0.9rem;
    color: white;
  }
}

@media (max-width: 340px) {
  .contact-footer {
    background-size: 100% 100%; 
  }

  .contact-footer {
    padding: 3rem 1.5rem;
  }

  .footer-links {
    margin-top: 2rem;
  }

  .footer-content {
    padding: 0 10px;
  }

  .contact-text h2 {
    font-size: 2rem;
  }

  .footer-links p {
    font-size: 0.9rem;
    color: white;
  }
}
.title-footer {
  flex: 1.5;
  display: flex;
  align-items: center;
}

.title-footer h2 {
  color: black;
  font-size: clamp(40px, 4vw, 50px);
  font-weight: 400;
}

.footer-title {
  color: black;
  font-size: clamp(35px, 3vw, 48px);
}

.contact-social {
  text-align: left;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1px;
  margin-bottom: 10px;
}

.social-icons img {
  width: clamp(29px, 3vw, 45px);
  height: clamp(29px, 3vw, 45px);
  cursor: pointer;
}

@media (max-width: 768px) {
  .footer-title {
    color: #fff;
  }

  .title-footer {
    display: flex;
    justify-content: center;
  }

  .title-footer h2 {
    font-size: 40px;
    color: white;
  }
}
