/* Reset body and html padding/margin */
body {
  font-family: 'Play', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Container for the whole profile */
.container {
  width: 80%;
  max-width: 900px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5); /* Black with 50% transparency */
  padding: 20px;
  border: 2px solid #6C00FF; /* Neon purple border */
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(108, 0, 255, 0.8); /* Purple glow */
}

/* User Info Section */
.user-info {
  display: flex;
  align-items: flex-start;
  position: relative;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

/* Profile Section */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-pic {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10%;
  border: 3px solid #6C00FF; /* Purple border */
  box-shadow: 0 0 10px rgba(108, 0, 255, 0.8); /* Glow effect */
}

.display-name {
  font-size: 24px;
  font-weight: bold;
  color: #FFFFFF; /* White text */
  text-shadow: 0 0 12px #6C00FF; /* Purple glow */
  text-align: center;
}

/* Social Links Section */
.profile-social-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  margin-left: 20px;
}

.discord-link,
.twitch-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(108, 0, 255, 0.6);
}

.social-username {
  color: white;
  font-size: 16px;
  text-decoration: none;
}

/* Remove hover outline and unwanted effects */
.social-username:focus,
.social-username:hover {
  outline: none;
  box-shadow: none;
  transform: scale(1.1); /* Optional hover effect */
  transition: transform 0.2s ease-in-out;
}

/* Join Date */
.join-date {
  font-size: 16px;
  color: white;
  text-align: center;
  position: relative;
  bottom: 15px;
}

/* Teams Section Header */
.teams-header {
  font-size: 20px;
  font-weight: bold;
  color: #FFD700; /* Gold text */
  text-align: center;
  margin-bottom: 15px;
}

/* Overall Record */
.overall-record {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFFFF;
  text-shadow: 0 0 8px #6C00FF; /* Purple glow */
  margin-bottom: 20px;
}

.record-values {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 1.2em;
}

.wins-text {
  color: #28a745; /* Green */
  font-weight: bold;
}

.losses-text {
  color: #dc3545; /* Red */
  font-weight: bold;
}

/* Table Styles */
.left-align-table {
  margin-top: 20px;
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(0, 0, 0, 0.5); /* Black with 50% transparency */
  border: 1px solid #444; /* Subtle border for the table */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(108, 0, 255, 0.6);
  min-width: 500px; /* or 600px depending on your content */
}

.left-align-table th,
.left-align-table td {
  padding: 12px;
  color: white;
  text-align: center;
  border: 1px solid purple;
}

.left-align-table th {
  background-color: rgba(0, 0, 0, 0.5); /* Black with 50% transparency */
  font-size: 1.0em;
  text-transform: uppercase;
}

.left-align-table tbody tr:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.5); /* Black with 50% transparency */
}

.left-align-table tbody tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.5); /* Black with 50% transparency */
}

.wins {
  color: #28a745; /* Green for wins */
}

.losses {
  color: #dc3545; /* Red for losses */
}

/* Links for Teams and Ladders */
.ladder-link,
.team-link {
  color: white;
  text-decoration: none;
}

.ladder-link:hover,
.team-link:hover {
  color: #6C00FF; /* Purple hover effect */
  text-decoration: underline;
}

.twitch-icon,
.discord-icon {
  width: 32px;
  height: 32px;
  background-color: rgba(0, 0, 0, 0.5); /* Black with 50% transparency */
  border: 2px solid #6C00FF; /* Purple border */
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 0 5px rgba(108, 0, 255, 0.6);
}

.table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
}

.table-scroll-wrapper::-webkit-scrollbar {
  height: 6px;
}

.table-scroll-wrapper::-webkit-scrollbar-thumb {
  background-color: #6C00FF;
  border-radius: 10px;
}




/* Small Display */
@media (max-width: 992px) {

}


/* Small Display */
@media (max-width: 768px) {

}

@media (max-width: 576px) {
  .container {
    width: 95%;
    max-width: 100%;
    margin: 5px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid #6C00FF;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(108, 0, 255, 0.8);
    padding: 0px;
  }

  .social-username {
    color: white;
    font-size: 12px;
    text-decoration: none;
  }

  .display-name {
    font-size: 18px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 0 0 12px #6C00FF;
    text-align: center;
  }

  .join-date {
    font-size: 12px;
    color: white;
    text-align: center;
    position: relative;
    bottom: 10px;
  }

  .teams-header {
    font-size: 14px;
    font-weight: bold;
    color: #FFD700;
    text-align: center;
    margin-bottom: 10px;
  }

  .left-align-table {
    font-size: 12px;
  }
}
