* {
    font-family: 'Exo 2', Sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a1a1a;
    min-height: 100vh;
    color: #a8a8a8;
    display: flex;
    flex-direction: column;
}

header {
  background-color: #000000;
  padding: 16px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Purple Glow Across Top */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(147, 112, 219, 0.1) 20%, 
        rgba(147, 112, 219, 0.3) 40%,
        rgba(147, 112, 219, 0.5) 50%,
        rgba(147, 112, 219, 0.3) 60%,
        rgba(147, 112, 219, 0.1) 80%,
        transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.logo-section {
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    align-items: center;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 0 0 rgba(98, 77, 227, 0); /* Start with transparent shadow */
}

.logo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(207, 183, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
}

.logo-section:hover {
    box-shadow: 0 4px 8px rgba(98, 77, 227, 0.15);
}

.logo-section:hover::before {
    animation: shimmer 1.2s ease-in-out;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 150%;
    }
}

.logo {
    height: 28px;
    transition: all 0.2s;
    margin-top: 3px;
    margin-right: 4px;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-link {
    font-weight: 400;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #a8a8a8;
    padding: 5px 0;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #9370db;
    visibility: hidden;
    transition: all 0.3s;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::before {
    visibility: visible;
    width: 100%;
}

/* Main container */
main {
    flex-grow: 1;
    padding: 30px;
    display: flex;
    justify-content: center;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 35px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 35px;
}

/* Profile bar (section container) */
.profile-bar {
    display: flex;
    width: 90%;
    margin: 0 auto;
    flex-shrink: 0;
    height: auto;
    min-height: 200px;
    border-radius: 15px;
    flex-direction: column;
    background: linear-gradient(145deg, #272727, #232323);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

/* Custom header style based on the screenshot */
.section-header {
    position: relative;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: white;
    position: relative;
    padding: 20px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 24px;
    background: #9370db;
    border-radius: 2px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(70, 70, 70, 0.8);
}

.section-content {
    padding: 0 20px 20px 20px;
}

.section-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #a8a8a8;
    margin-top: 13px;
}

/* Feature list */
.feature-list {
    margin: 20px 0;
    padding-left: 20px;
}

.feature-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 2px;
}

/* Badges container */
.achievement-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

/* Badges container */
.badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
    justify-content: center;
}

.badge-card {
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 10px;
    padding: 20px;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.rank-badge {
    width: 170px; /* Smaller size for better proportion */
    height: 170px;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
    z-index: 2;
}

.badge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.badge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    border-radius: 10px 10px 0 0;
}

/* Rank badge colors */
.badge-card.bronze::before {
    background: linear-gradient(90deg, #cd7f32, #a05a2c);
}

.badge-card.silver::before {
    background: linear-gradient(90deg, #c0c0c0, #e0e0e0);
}

.badge-card.gold::before {
    background: linear-gradient(90deg, #ffd700, #ffcc00);
}

.badge-card.platinum::before {
    background: linear-gradient(90deg, #8fedcf, #b7b7b7);
}

.badge-card.diamond::before {
    background: linear-gradient(90deg, #999ae8, #a0d8ef);
}

.badge-card.champion::before {
    background: linear-gradient(90deg, #7e32d5, #663399);
}

.badge-card.titan::before {
    background: linear-gradient(90deg, #ff4d4d, #8b0000);
}

.badge-card.immortal::before {
    background: linear-gradient(90deg, #4e038c, #2c094b);
}

.badge-card h3 {
    color: white;
    margin-bottom: 5px;
    font-size: 18px;
}

.mmr-range {
    font-size: 14px;
    color: #9370db;
    margin-bottom: 10px;
    font-weight: 500;
}

.badge-card p {
    font-size: 13px;
    color: #888;
}

/* Achievement Badges Styles */
.achievement-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
    justify-content: center;
}

.badge-card {
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 10px;
    padding: 20px;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.rank-badge {
    width: 170px;
    height: 170px;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
    z-index: 2;
}

.badge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.badge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    border-radius: 10px 10px 0 0;
}

.badge-card h3 {
    color: white;
    margin-bottom: 5px;
    font-size: 16px;
    margin-top: 15px;
}

.badge-tier {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.badge-card p {
    font-size: 12px;
    color: #888;
}

/* Tier-specific colors */
.badge-card.ultra-mythic::before {
    background: linear-gradient(90deg, #64c8df, #99e5f6); /* Blue/Light Blue */
}

.badge-card.mythic::before {
    background: linear-gradient(90deg, #FF00FF, #800080); /* Magenta/Purple */
}

.badge-card.legendary::before {
    background: linear-gradient(90deg, #FF8C00, #FFA500); /* Orange/Golden */
}

.badge-card.epic::before {
    background: linear-gradient(90deg, #4B0082, #8A2BE2); /* Indigo/Violet */
}

.badge-card.rare::before {
    background: linear-gradient(90deg, #1E90FF, #00BFFF); /* Blue shades */
}

/* Tier-specific text colors */
.badge-card.ultra-mythic .badge-tier {
    color: #64c8df;
}

.badge-card.mythic .badge-tier {
    color: #FF00FF; /* Magenta */
}

.badge-card.legendary .badge-tier {
    color: #FFA500; /* Golden */
}

.badge-card.epic .badge-tier {
    color: #8A2BE2; /* Violet */
}

.badge-card.rare .badge-tier {
    color: #00BFFF; /* Light Blue */
}

/* FAQ styles */
.faq-container {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid rgba(70, 70, 70, 0.3);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 17px;
    font-weight: 600;
    color: white;
    margin-top: 20px;
}

.faq-answer {
    color: #a8a8a8;
}

/* Contact styles */
.contact-info {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(147, 112, 219, 0.1);
    border-radius: 50%;
    font-size: 16px;
}

.contact-item a {
    color: #9370DB;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.contact-message {
    margin-top: 20px;
    font-style: italic;
}

/* Footer */
footer {
    background-color: #111;
    border-top: 1px solid #333;
    padding: 30px;
}

.footer-content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 600;
    background-image: linear-gradient(to right, rgb(9, 9, 154), rgba(56, 1, 95, 1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #a8a8a8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    color: #666;
    font-size: 12px;
    margin-top: 10px;
}

@media (max-width: 425px) {
  .header-wrap {
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
  }
  
  .logo-section {
    margin-bottom: 15px;
  }
  
  .nav-links {
    justify-content: center;
  }
}