/* styles.css */
html, body {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevent scrollbar */
    height: 100%;
}

/* --- Audio Controls: 3-Spalten-Layout --- */
.audio-controls-fixed{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  width:calc(100% - 40px);        /* Luft links/rechts im Rahmen */
  box-sizing:border-box;
  display:grid;
  grid-template-columns:auto 1fr auto; /* L | Mitte (dehnt) | R */
  align-items:center;
  gap:14px;
  padding:10px 14px;
  border-radius:14px;
  background:rgba(0,0,0,0.35);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,0.15);
  color:#fff;
  z-index:2;
}
.ac-left,.ac-right{ display:flex; align-items:center; gap:10px; }

.audio-controls-fixed button{
  background:rgba(255,255,255,0.12);
  border:none;
  padding:8px 10px;
  border-radius:10px;
  color:#fff;
  cursor:pointer;
}
.audio-controls-fixed button:hover{ background:rgba(255,255,255,0.22); }

/* Mitte: Progress voll breit, Zeit rechts ausgerichtet */
.ac-center{ display:grid; grid-template-columns:1fr auto; align-items:center; gap:10px; }
.progress{
  appearance:none; width:100%; height:6px;
  background:rgba(255,255,255,0.2); border-radius:6px; outline:none;
}
.progress::-webkit-slider-thumb{
  appearance:none; width:14px; height:14px; border-radius:50%; background:#fff; cursor:pointer;
}
.time{ font-size:12px; opacity:.85; min-width:86px; text-align:right; }

/* Volume */
.audio-range{
  appearance:none; width:160px; height:6px;
  background:rgba(255,255,255,0.2); border-radius:6px; outline:none;
}
.audio-range::-webkit-slider-thumb{
  appearance:none; width:14px; height:14px; border-radius:50%; background:#fff; cursor:pointer;
}

/* Mehr Platz im Rahmen unten, damit nix überlappt */
.content-container{ padding-bottom:96px; }

/* Mobile kompakter */
@media (max-width:600px){
  .audio-controls-fixed{ gap:10px; bottom:12px; }
  .audio-range{ width:120px; }
  .time{ min-width:70px; }
}





#click-to-continue-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

#click-to-continue-text {
    color: white;
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}


#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;   /* passt das Video an */
    z-index: -1;         /* Video bleibt im Hintergrund */
}



.blurred {
    filter: blur(10px);
    pointer-events: none;
}

.fade-out {
    opacity: 0;
    pointer-events: none;
}


body {
    background-size: cover;
    color: white;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    opacity: 0;
    transition: opacity 1s;
}

.content-container {
    background: rgba(0, 0, 0, 0.2); /* More translucent */
    padding: 25px;
	padding-bottom:96px;
    border-radius: 30px;
    backdrop-filter: blur(40px);
    display: inline-block;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    width: 90%;
    max-width: 500px;
    margin-bottom: 60px; /* Added margin to prevent footer overlap */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
    position: absolute;
    bottom: -50px; /* Move footer below the container */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap; /* Prevent line break */
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.copyright a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.copyright a:hover {
    color: #ff6b6b;
}

.profile img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    animation: bounce 1s ease-out 0.8s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.profile img:hover {
    transform: scale(1.1);
}

.username {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease-out 0.8s forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bio {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1s forwards;
}

.bio-tags {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1.2s forwards;
}

.bio-tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    transition: background 0.3s, color 0.3s;
}

.bio-tags span:hover {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.social-icons {
    margin-top: 15px;
    display: flex;
    justify-content: center; /* Center social icons */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 8px; /* Add spacing between icons */
}

.social-icons a {
    display: inline-block;
    color: white;
    font-size: 20px;
    text-decoration: none;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s, transform 0.3s, color 0.3s;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
}

.social-icons a:nth-child(1) { animation-delay: 1.4s; }
.social-icons a:nth-child(2) { animation-delay: 1.5s; }
.social-icons a:nth-child(3) { animation-delay: 1.6s; }
.social-icons a:nth-child(4) { animation-delay: 1.7s; }
.social-icons a:nth-child(5) { animation-delay: 1.8s; }
.social-icons a:nth-child(6) { animation-delay: 1.9s; }
.social-icons a:nth-child(7) { animation-delay: 2.0s; }
.social-icons a:nth-child(8) { animation-delay: 2.1s; }
.social-icons a:nth-child(9) { animation-delay: 2.2s; }
.social-icons a:nth-child(10) { animation-delay: 2.3s; }

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ff6b6b;
    transform: translateY(-5px) scale(1.1);
}

.views {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 14px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1s forwards;
}

.view-count {
    font-weight: 500;
}

.view-text {
    display: none; /* Hide the "views" text */
}

.views i {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .content-container {
        padding: 20px;
        border-radius: 20px;
        max-width: 90%;
    }
    .profile img {
        width: 80px;
        height: 80px;
    }
    .username {
        font-size: 22px;
    }
    .bio {
        font-size: 13px;
    }
    .bio-tags {
        font-size: 11px;
    }
    .social-icons a {
        font-size: 18px;
        width: 35px;
        height: 35px;
        line-height: 35px;
    }
    .copyright {
        font-size: 11px;
    }
}
.discord-profile {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 1.5rem auto;
    max-width: 400px;
}

.discord-avatar {
    position: relative;
    width: 60px;
    height: 60px;
}

.discord-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: rgba(9, 9, 9, 0.95);
    border-radius: 50%;
    padding: 2px;
    border: 2px solid rgba(9, 9, 9, 0.95);
}

.status-dot-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #747f8d;  /* Offline color */
}

.status-dot.online .status-dot-inner { background: #3ba55c; }
.status-dot.idle .status-dot-inner { background: #faa81a; }
.status-dot.dnd .status-dot-inner { background: #ed4245; }

.discord-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.discord-name-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.discord-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

.discord-badges {
    display: flex;
    gap: 0.3rem;
}

.discord-badge {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
}

.discord-link {
    color: #a8a29e;
    transition: all 0.3s ease;
}

.discord-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.discord-link svg {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.discord-link:hover svg {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5))
           drop-shadow(0 0 24px rgba(255, 255, 255, 0.3));
}

.discord-activity {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #a8a29e;
}

.activity-type {
    color: #3ba55c;
    font-weight: 500;
    margin-right: 0.3rem;
}

.activity-name {
    color: #ffffff;
}

.activity-details {
    display: block;
    font-size: 0.8rem;
    color: #a8a29e;
    margin-top: 0.2rem;
}

.activity {
    margin-top: 0.8rem;
    display: flex;
    gap: 0.8rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
}

.activity-image {
    position: relative;
    width: 60px;
    height: 60px;
}

.activity-image img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.activity-status {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(9, 9, 9, 0.95);
}

.activity-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.activity-name {
    color: #ffffff;
    font-weight: 500;
}

.activity-details {
    color: #a8a29e;
    font-size: 0.85rem;
}

.activity-time {
    color: #a8a29e;
    font-size: 0.8rem;
    margin-top: 0.2rem;
    opacity: 0.8;
}

.blank-box {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.box-content {
    min-height: 50px;
    width: 100%;
}

.discord-presence {
    background: rgba(47, 49, 54, 0.5);
    border-radius: 8px;
    padding: 12px;
    margin: 15px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s ease-out 1.5s forwards;
    /* Centering inside another box */
    margin-left: auto;
    margin-right: auto;
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.discord-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.discord-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
}

.discord-info {
    display: flex;
    align-items: center;
    gap: 4px;
}

.discord-username {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.discord-discriminator {
    color: #b9bbbe;
    font-size: 14px;
}

.discord-activity {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #b9bbbe;
}

.activity-dot {
    width: 8px;
    height: 8px;
    background-color: #747f8d;
    border-radius: 50%;
}

.activity-text {
    color: #b9bbbe;
}