*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Orbitron", sans-serif;
  background-color: #0d1117;
  color: #fff;
  overflow-x: hidden;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex-grow: 1;
}
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container {
    max-width: 640px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .hero {
    min-height: 70vh !important;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
  .hero {
    min-height: 78vh !important;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
  .hero {
    min-height: 77vh !important;
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
  .hero {
    min-height: 65vh !important;
  }
}
.glow-effect {
  box-shadow: 0 0 15px rgb(250 204 21 / 0.5), 0 0 30px rgb(250 204 21 / 0.3);
}
.text-glow {
  text-shadow: 0 0 8px rgb(190 174 112 / 70%), 0 0 16px rgb(250 204 21 / 0.5);
}
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.5s;
}
.card-3d:hover {
  transform: rotateY(5deg) rotateX(5deg) scale3d(1.05, 1.05, 1.05);
}
.typing-cursor {
  display: inline-block;
  width: 4px;
  height: 1em;
  background-color: #facc15;
  margin-left: 8px;
  animation: blink 1s step-end infinite;
  vertical-align: bottom;
}
@keyframes blink {
  50% {
    background-color: #fff0;
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s;
}
.navbar.scrolled {
  background-color: rgb(17 24 39 / 0.9);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 6px -1px rgb(32 32 32 / 10%), 0 2px 4px -2px rgb(250 204 21 / 0.1);
}
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.navbar-brand {
  font-size: 1.125rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
}
.navbar-brand img {
  height: 2.5rem;
  width: auto;
  margin-right: 0.5rem;
}
@media (min-width: 768px) {
  .navbar-brand {
    font-size: 1.25rem;
  }
  .navbar-brand img {
    height: 3rem;
  }
}
.navbar-nav {
  display: none;
}
@media (min-width: 768px) {
  .navbar-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-transform: uppercase;
    font-size: 0.875rem;
  }
}
.nav-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
.nav-link:hover {
  color: #facc15;
}
.mobile-menu-btn {
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}
@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}
.mobile-menu {
  display: none;
  background-color: rgb(17 24 39 / 0.9);
  backdrop-filter: blur(4px);
}
.mobile-menu.active {
  display: block;
}
.mobile-menu .nav-link {
  display: block;
  text-align: center;
  padding: 0.75rem 0;
  transition: background-color 0.3s;
}
.mobile-menu .nav-link:hover {
  background-color: rgb(250 204 21 / 0.2);
}
.hero {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(rgb(13 17 23 / 0.8), rgb(13 17 23)), url(../images/good.jpg) no-repeat center center/cover;
}
#tournaments {
  background: linear-gradient(rgb(13 17 23 / 0.8), rgb(13 17 23)), url(../images/TheIDOL_1024x768.jpg) no-repeat top center / cover;
}
.hero-content .logo {
  height: 6rem;
  width: auto;
  margin: 0 auto 1.5rem auto;
}
@media (min-width: 768px) {
  .hero-content .logo {
    height: 10rem;
    margin-bottom: 2rem;
  }
}
.hero-title {
  text-transform: uppercase;
  color: #facc15;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}
@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}
.hero-subtitle {
  font-size: 1rem;
  color: #d1d5db;
  margin-top: 1rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}
.hero-cta {
  margin-top: 2rem;
}
.cta-button {
  background-color: #f59e0b;
  color: #111827;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
}
@media (min-width: 768px) {
  .cta-button {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
  }
}
.cta-button:hover {
  background-color: #facc15;
  transform: scale(1.05);
}
.section {
  padding: 3.5rem 0;
}
@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }
}
.section-dark {
  background-color: #111827;
}
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: #ffffff;
}
@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}
.title-divider {
  width: 6rem;
  height: 0.25rem;
  background-color: #f59e0b;
  margin: 0 auto 2rem auto;
}
.section-text {
  color: #9ca3af;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.625;
  text-align: center;
}
.stats-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}
@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.stat-item {
  background-color: #1f2937;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgb(250 204 21 / 0.3);
  text-align: center;
}
.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #facc15;
}
@media (min-width: 768px) {
  .stat-number {
    font-size: 2.25rem;
  }
}
.stat-label {
  color: #9ca3af;
  margin-top: 0.5rem;
}

.sponsors-grid-container {
  overflow: hidden;
  position: relative;
  margin-top: 3rem;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.sponsors-grid {
  display: flex;
  align-items: center;

  justify-content: center;
}

.sponsors-grid.scrolling {
  width: max-content;
  flex-wrap: nowrap;
  justify-content: flex-start;
  animation: scroll-left 20s linear infinite;
  will-change: transform;
}

.sponsors-grid-container:hover .sponsors-grid.scrolling {
  animation-play-state: paused;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.sponsor-item {
  text-align: center;
  transition: all 0.3s;
  flex-shrink: 0;
  margin: 0 2rem;
}

.sponsor-item:hover {
  transform: scale(1.05);
}
.sponsor-item img {
  max-height: 70px;
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.3s;
}
.sponsor-item:hover img {
  filter: grayscale(0%);
}
.tournaments-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .tournaments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .tournaments-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.tournament-card {
  background-color: #111827;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #374151;
  transition: all 0.3s;
}
.tournament-card:hover {
  border-color: #f59e0b;
  box-shadow: 0 10px 15px -3px rgb(250 204 21 / 0.1), 0 4px 6px -4px rgb(250 204 21 / 0.1);
}
.card-image-wrapper {
  position: relative;
  overflow: hidden;
}
.card-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s;
}
.tournament-card:hover .card-image {
  transform: scale(1.1);
}
.card-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: #dc2626;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}
.card-content {
  padding: 1.5rem;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #facc15;
}
@media (min-width: 768px) {
  .card-title {
    font-size: 1.5rem;
  }
}
.card-info {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.card-winner {
  color: #d1d5db;
  font-weight: 600;
}
.join-section {
  text-align: center;
}
.join-section .cta-button {
  margin-top: 2rem;
}
.footer {
  background-color: #111827;
  border-top: 1px solid rgb(250 204 21 / 0.3);
}
.footer-container {
  padding: 2rem 0;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 640px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .footer-brand {
    margin-bottom: 0;
  }
}
.footer-brand img {
  height: 2.5rem;
  width: auto;
}
.footer-brand span {
  margin-left: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
}
.social-links {
  display: flex;
  gap: 1.5rem;
  font-size: 1.5rem;
}
.social-links a {
  color: #9ca3af;
  transition: color 0.3s;
}
.social-links a:hover {
  color: #facc15;
}
.footer-copyright {
  margin-top: 2rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.talent-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #374151;
  transition: all 0.4s ease-in-out;
  height: 380px;
  transform-style: preserve-3d;
}

.talent-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 30px -10px rgba(250, 204, 21, 0.2);
  border-color: #f59e0b;
}

.talent-card-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.talent-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-in-out;
}

.talent-card:hover .talent-card-cover img {
  transform: scale(1.1);
}

.talent-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.5rem;
  text-align: center;

  background: linear-gradient(to top, rgba(17, 24, 39, 0.95) 50%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  transform: translateY(0);

  transition: transform 0.4s ease-in-out;
}

.talent-profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #facc15;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.5);
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease-in-out;

  z-index: 3;
}

.talent-profile-pic {
  transform: translate(-50%, 30%) scale(1.1);
}

.talent-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-top: 60px;
  margin-bottom: 0.25rem;
  position: absolute;
  top: 0;
  top: 200px;
}

.talent-role {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 1rem;
  transition: opacity 0.3s ease-in-out 0.2s;
}

.talent-socials {
  display: flex;
  gap: 1.25rem;
  transform: translateY(10px);
  transition: opacity 0.3s ease-in-out 0.2s, transform 0.3s ease-in-out 0.2s;
}

.social-icon {
  color: #9ca3af;
  font-size: 1.5rem;
  transition: color 0.3s, transform 0.3s;
}

.social-icon:hover {
  color: #facc15;
  transform: scale(1.2);
}
