:root {
  font-family: 'Inter', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Yanone+Kaffeesatz:wght@300;400&display=swap');

body {
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    background-color: #000001 !important;
    color: #fff !important;
    min-height: 100vh;
    overflow-x: hidden;
}

video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.discord-profile {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2), 0 0 20px rgba(255,188,221,0.4);
    color: #fff;
    position: relative;
    margin: 25px;
    max-width: 400px;
    background-color: rgba(0,0,0,0.5);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background 0.3s ease-in-out;
    overflow: hidden;
}

.discord-profile::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0);
    border-radius: 12px;
    z-index: 0;
}

.discord-profile > * {
    position: relative;
    z-index: 1;
}

.pfp {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #000001;
    object-fit: cover;
    z-index: 2;
}

.pfp-decoration {
    position: absolute;
    top: 0; 
    left: 50%;
    transform: translateX(-50%);
    width: 100px; 
    height: 100px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 3; 
    display: none;
}

.discord-profile .banner {
    width: 100%;               
    height: 120px;             
    object-fit: cover;         
    border-radius: 12px 12px 0 0;
    margin-bottom: 10px;       
    box-shadow: 0 0 20px rgba(255, 188, 221, 0.4);
    transition: all 0.3s ease-in-out;
    background-color: #18191c; 
    display: block;
    z-index: 1;
}

.discord-profile:hover .banner {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(255, 188, 221, 0.8);
}

@media (max-width: 768px) {
    .discord-profile .banner {
        height: 100px;
    }
}

.name-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px; 
    margin-bottom: 5px;
}

.nickr {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.clan-tag {
    display: none; 
}

.clan-tag-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5); 
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.clan-emoji {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: cover;
}

.subnick {
    font-size: 1rem;
    color: #bbb;
    margin-bottom: 10px;
}

.social-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-button {
  background-color: #transparent; 
  color: #ffffff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

.social-button:hover {
  background-color: #FF2A00;
  color: #000001;
}

.server-button {
  margin-top: 20px;
  height: 45px; 
  width: 256px; 
  background-color: #transparent;
  color: #000001;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.server-button:hover {
  background-color: #transparent;
}

.server-button-text {
  font-family: 'Yanone Kaffeesatz', 'Arial', sans-serif;
  color: transparent; 
  width: 100%;
  height: 100%;
}

@keyframes neon { 0%,100%{text-shadow:0 0 5px #fff,0 0 10px #ff00ff}50%{text-shadow:0 0 20px #ff00ff,0 0 30px #ff99ff} }
@keyframes gradient-move { 0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%} }
@keyframes pop { 0%,100%{transform:scale(1)}50%{transform:scale(1.2)} }
@keyframes toon { 0%,100%{text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000} }
@keyframes wave { 0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)} }
@keyframes shadow-glow { 0%,100%{text-shadow:2px 2px 5px #000}50%{text-shadow:4px 4px 10px #000} }
@keyframes glow { 0%,100%{text-shadow:0 0 5px #fff,0 0 10px #ff00ff}50%{text-shadow:0 0 20px #ff00ff,0 0 30px #ff99ff} }
@keyframes outline-blink { 0%,100%{text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000}50%{text-shadow:-2px -2px 0 #000,2px -2px 0 #000,-2px 2px 0 #000,2px 2px 0 #000} }

.neon-animated { animation: neon 1.5s infinite alternate; }
.gradient-animated { background-size: 200% 100%; animation: gradient-move 3s linear infinite; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.pop-animated { display:inline-block; animation: pop 0.6s infinite alternate; }
.toon-animated { animation: toon 1s infinite alternate; }
.wave-animated { display:inline-block; animation: wave 0.6s infinite alternate; }
.shadow-animated { animation: shadow-glow 1.5s infinite alternate; }
.glow-animated { animation: glow 1.5s infinite alternate; }
.outline-animated { animation: outline-blink 1.5s infinite alternate; }

#overlay-toggle { display: none; }
.overlay {
    z-index: 10;
    background-color: #000001;
    position: fixed;
    top: 0;
    left: 0;
    min-height: 100vh;
    min-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay label {
    display: grid;
    place-items: center;
    width: 100vw;
    height: 100vh;
    color: rgb(255, 255, 255);
    font-size: 2rem;
    cursor: pointer;
}

.overlayno-hover { display: block; }

.overlayhover {
    display: flex; 
    justify-content: center; 
    align-items: center;     
    width: 100vw;            
    height: 100vh;           
    text-decoration: none;
    color: gray !important;
    transition: 0.4s !important;
    position: fixed;         
    top: 0;
    left: 0;
    z-index: 20;             
}

.overlayhover:hover {
    color: #fff !important;
}

@keyframes fade { from { opacity: 1; } to { opacity: 0; } }
@keyframes hide { to { visibility: hidden; } }

#overlay-toggle:checked ~ .overlay {
    animation-fill-mode: forwards;
    animation-name: fade, hide;
    animation-delay: 0s, 600ms;
    animation-duration: 600ms, 1ms;
}

@keyframes neon-glow {
    0%, 100% {
        box-shadow: 0 0 8px #ffffff, 0 0 16px #ffffff, 0 0 24px #cccccc, 0 0 32px #999999;
    }
    50% {
        box-shadow: 0 0 12px #ffffff, 0 0 24px #ffffff, 0 0 36px #cccccc, 0 0 48px #999999;
    }
}

@keyframes border-glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255,255,255,0.6), 0 0 25px rgba(200,200,200,0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(255,255,255,0.8), 0 0 40px rgba(200,200,200,0.7);
    }
}

.music-player {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 50;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid #fff;
  border-radius: 20px;
  padding: 10px;
  animation: border-glow 1.5s infinite alternate;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.music-player:hover {
  transform: scale(1.05);
}

.music-player iframe {
  width: 300px;
  height: 152px;
  border-radius: 12px;
}

@keyframes border-glow {
  from { box-shadow: 0 0 10px #fff; }
  to { box-shadow: 0 0 20px #1DB954; }
}

.music-btn {
    background: linear-gradient(45deg, #333, #111); 
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px #fff, 0 0 16px #ccc; 
    transition: all 0.3s ease;
}

.music-btn:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px #fff, 0 0 30px #ccc;
}

.music-info {
    display: flex;
    flex-direction: column;
    color: #fff;
    text-align: left;
}

.music-title {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    text-shadow: 0 0 5px #fff, 0 0 10px #ccc;
}

.music-status {
    font-size: 0.8rem;
    color: #bbb;
}

.profile-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    max-width: 1400px;
    width: 100%;
    margin-top: 20px;
    z-index: 1;
}

.main-tag {
    font-family: 'Yanone Kaffeesatz', 'Arial', sans-serif;
    font-size: 3rem;
    font-weight: bold;
    color: #000001;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.4);
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: center;
    z-index: 1;
}

@media (max-width: 768px) {
    .main-tag { font-size: 2rem; margin-top: 30px; }
    .discord-profile { margin: 15px; width: 90%; }
}

.badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 5px;
}

.badge {
    width: 24px;
    height: 24px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    position: relative;
    cursor: default;
}

.badge[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0,0,0,0.85);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 0.75rem;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

.badge[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0,0,0,0.85) transparent transparent transparent;
    z-index: 10;
}
