 /* ─────── GLOBAL RESET ─────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", "Segoe UI", sans-serif;
  background: linear-gradient(-45deg, #0d0d1a, #1e0f40, #0d0d1a);
  background-size: 400% 400%;
  animation: bgMove 10s ease infinite;
  color: #e4d5ff;
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ─────── HEADER ─────── */
.header {
  background: linear-gradient(145deg, #180b39, #1e0f40);
  color: #f8eaff;
  text-align: center;
  padding: 3rem 1.5rem;
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  border-bottom: 2px solid #6f31d6;
  box-shadow: 0 10px 25px rgba(127, 0, 255, 0.2);
}

/* ─────── SPONSOR BANNER ─────── */
.sponsor-banner {
  position: relative;
  height: 90px;
  background: #0a0a13;
  border-top: 1px solid #1e1e2b;
  border-bottom: 1px solid #1e1e2b;
  margin: 60px 0 30px;
  overflow: hidden;
}

.sponsor-track {
  display: flex;
  gap: 100px;
  width: max-content;
  animation: scrollLeft 16s linear infinite;
}

.sponsor-track img {
  height: 75px;
  object-fit: contain;
  filter: brightness(1.4) drop-shadow(0 0 5px #9b5eff);
  transition: transform 0.4s ease;
}

.sponsor-track img:hover {
  transform: scale(1.2);
}

@keyframes scrollLeft {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ─────── NAV TABS ─────── */
.player-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  background: #161325;
  padding: 25px 0;
  border-top: 1px solid #292040;
  border-bottom: 1px solid #292040;
}

.player-tabs a {
  color: #c2b6ff;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.player-tabs a:hover,
.player-tabs a.active {
  color: #ffdc73;
  transform: scale(1.1);
  text-shadow: 0 0 8px #ffdc73;
}

.player-tabs a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: transparent;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.player-tabs a:hover::after,
.player-tabs a.active::after {
  background: #ffdc73;
}

/* ─────── PROFILE LAYOUT ─────── */
.profile-container {
  max-width: 1280px;
  margin: 60px auto;
  padding: 0 24px;
}

/* ─────── PROFILE CARD ─────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.profile-card {
  display: flex;
  flex-wrap: wrap;
  background: rgba(26, 16, 48, 0.45);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(124, 93, 255, 0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(180, 126, 255, 0.25);
  animation: fadeInUp 0.8s ease-out;
}

/* LEFT COLUMN */
.left {
  flex: 1;
  min-width: 300px;
  padding: 40px 30px;
  background: rgba(25, 16, 42, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 20px;
  object-fit: cover;
  border: 4px solid;
  border-image: linear-gradient(45deg, #ff00cc, #3333ff) 1;
  box-shadow: 0 0 25px rgba(255, 179, 255, 0.4);
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.05);
}

/* SOCIAL ICONS */
.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.social-icons img {
  width: 32px;
  height: 32px;
  filter: brightness(1.1);
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.3);
}

/* INFO SECTION */
.info {
  width: 100%;
  text-align: left;
}

.info h3 {
  font-size: 1.2rem;
  color: #ffe28a;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.info ul {
  list-style: none;
  font-size: 1rem;
  padding-left: 0;
}

.info li {
  margin-bottom: 10px;
  color: #e2ddff;
}

/* RIGHT COLUMN */
.right {
  flex: 2;
  padding: 40px 30px;
}

.right h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
  border-bottom: 2px solid #ffd763;
  padding-bottom: 10px;
}

.right p {
  font-size: 1.05rem;
  color: #d3c4ff;
}

/* ─────── STATS SECTION ─────── */
.stats {
  margin-top: 30px;
  font-size: 1rem;
  color: #ffe28a;
}

.stats ul {
  list-style: none;
  padding-left: 0;
}

.stats ul li {
  margin-bottom: 10px;
  color: #e2ddff;
}

/* ─────── TOP ACTION BUTTONS ─────── */
.top-buttons {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 1rem;
  z-index: 1000;
}

.logout-btn,
.masterclass-btn,
.account-btn,
.shop-btn {
  background: linear-gradient(to right, #ff416c, #ff4b2b);
  color: #fff;
  padding: 0.7rem 1.6rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(255, 75, 43, 0.3);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logout-btn:hover,
.masterclass-btn:hover,
.account-btn:hover,
.shop-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 75, 43, 0.4);
  background: linear-gradient(to right, #ff4b2b, #ff416c);
}


/* ─────── STATS MODAL ─────── */
.stats-btn {
  background: linear-gradient(to right, #6f31d6, #aa47ff);
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 25px;
  box-shadow: 0 4px 14px rgba(124, 93, 255, 0.4);
}

.stats-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, #aa47ff, #6f31d6);
}

.stats-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(10, 10, 20, 0.85);
}

.stats-modal-content {
  background-color: #1e1330;
  margin: 10% auto;
  padding: 1.5rem;
  border-radius: 16px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 0 30px rgba(180, 126, 255, 0.4);
  position: relative;
  text-align: center;
}

.modal-stats-img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 12px rgba(204, 163, 255, 0.3);
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}

/* ─────── PROFILE VIDEO ─────── */
.profile-video {
  margin: -280px auto 0 450px;
  width: 100%;
  max-width: 740px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(217, 166, 255, 0.3);
}

.profile-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ─────── RESPONSIVE DESIGN ─────── */
@media (max-width: 992px) {
  .profile-card {
    flex-direction: column;
  }

  .left, .right {
    padding: 30px 20px;
  }

  .top-buttons {
    flex-direction: column;
    gap: 0.5rem;
    top: 0.5rem;
    right: 0.5rem;
  }

  .header {
    font-size: 2rem;
    padding: 2rem 1rem;
  }

  .player-tabs {
    gap: 15px;
    font-size: 0.95rem;
  }

  .profile-video {
    margin: 20px auto;
    max-width: 90%;
  }
}