/* Main CSS - Base styles combining 3d-bio layout with bia-bio effects */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: rgba(0, 0, 0, 0.95);
    --card-bg: rgba(25, 25, 25, 0.5);
    --card-border: rgba(255, 255, 255, 0.25);
    --text-primary: #fff;
    --text-secondary: #ddd;
    --accent-glow: rgba(255, 255, 255, 0.8);
}

body {
    font-family: Arial, sans-serif;
    overflow: hidden;
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: url('../assets/cursors/cursor.png'), auto;
}

/* Video Background Container */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.7);
}

.background-placeholder {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/backgrounds/green-valley.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
    display: none;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* Volume Control (from bia-bio) */
.volume-control {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.volume-control:hover {
    opacity: 1;
}

.volume-icon {
    width: 24px;
    height: 24px;
    fill: var(--text-secondary);
}

.volume-slider {
    width: 100px;
    cursor: pointer;
}

/* Music Toggle Button (from wya.lol) */
.mute-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
}

#muteText {
    color: var(--text-secondary);
    font-size: 14px;
    padding: 8px 16px;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

#muteText:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

/* Opening Overlay (from wya.lol) */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.overlay-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
}

.overlay-btn:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.overlay-content {
    text-align: center;
    color: var(--text-primary);
    animation: pulse 2s infinite;
}

.overlay-title {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 20px var(--text-primary);
}

/* 3D Container (from 3d-bio) */
.c3d-container {
    perspective: 1000px;
    width: 600px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
}

.overlay-hidden .c3d-container {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out 0.5s, transform 0.8s ease-out 0.5s;
}

.overlay-hidden .overlay {
    opacity: 0;
    visibility: hidden;
}

#c3d {
    display: flex;
    flex-direction: column;
    gap: 5px;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.1s ease-out;
    cursor: pointer;
}

/* Main Card (3d-bio layout) */
.card {
    background: var(--card-bg);
    padding: 30px 40px;
    border-radius: 10px;
    width: 541px;
    height: 266.5px;
    border: 4px solid var(--card-border);
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    transition: all 0.3s ease-out;
    box-sizing: border-box;
    overflow: hidden;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(-100px);
}

.overlay-hidden .card {
    animation: cardDropIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s forwards;
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
    opacity: 0;
    transform: translateY(-30px);
}

.overlay-hidden .profile-header {
    animation: fadeIn 0.6s ease-out 0.8s forwards;
}

.profile-pic-container {
    position: relative;
    width: 60px;
    height: 60px;
    opacity: 0;
    transform: translateY(-30px);
}

.overlay-hidden .profile-pic-container {
    animation: fadeIn 0.6s ease-out 0.9s forwards;
}

.pfp {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    background: linear-gradient(45deg, #888, #aaa);
}

.dot {
    position: absolute;
    bottom: -1px;
    right: -5px;
    width: 14px;
    height: 14px;
    background-color: #ff3b30;
    border-radius: 50%;
    border: 2px solid rgba(25, 25, 25, 0.8);
    opacity: 0;
    transform: translateY(-30px);
}

.overlay-hidden .dot {
    animation: fadeIn 0.6s ease-out 1.0s forwards;
}

.profile-info {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-30px);
}

.overlay-hidden .profile-info {
    animation: fadeIn 0.6s ease-out 0.9s forwards;
}

.name-container {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    position: relative;
}

.name {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: bold;
    animation: whiteGlow 3s ease-in-out infinite alternate;
    position: relative;
}

.badges-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 6px 12px;
    margin-left: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    backdrop-filter: blur(5px);
}

.badges {
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge svg {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1) drop-shadow(0 0 3px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3)) !important;
    position: relative;
    z-index: 2;
    animation: badgeGlow 3s ease-in-out infinite alternate;
}

.loc {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 16px;
    gap: 6px;
}

.loc-icon {
    width: 16px;
    height: 16px;
    fill: var(--text-secondary);
    opacity: 0;
    transform: translateY(-30px);
}

.overlay-hidden .loc-icon {
    animation: fadeIn 0.6s ease-out 1.0s forwards;
}

.desc {
    color: var(--text-secondary);
    font-size: 16px;
    margin: 20px 0;
    line-height: 1.5;
    font-style: italic;
    opacity: 0;
    transform: translateY(-30px);
    min-height: 24px;
}

.overlay-hidden .desc {
    animation: fadeIn 0.6s ease-out 1.1s forwards;
}

.links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(-30px);
}

.overlay-hidden .links {
    animation: fadeIn 0.6s ease-out 1.2s forwards;
}

.link {
    color: var(--text-secondary);
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, filter 0.3s;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.link:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px var(--accent-glow)) drop-shadow(0 0 20px var(--accent-glow));
}

.icon {
    width: 36px;
    height: 36px;
    fill: var(--text-primary);
    transition: transform 0.4s, filter 0.4s;
    opacity: 0;
    transform: translateY(-30px);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 3px var(--text-primary)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
}

.overlay-hidden .icon {
    animation: fadeIn 0.6s ease-out 1.3s forwards;
}

.views {
    color: var(--text-secondary);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    bottom: 15px;
    left: 20px;
    opacity: 0;
    transform: translateY(-30px);
}

.overlay-hidden .views {
    animation: fadeIn 0.6s ease-out 1.4s forwards;
}

.view-icon {
    width: 18px;
    height: 18px;
    fill: var(--text-secondary);
    opacity: 0;
    transform: translateY(-30px);
}

.overlay-hidden .view-icon {
    animation: fadeIn 0.6s ease-out 1.4s forwards;
}

/* Music Player (3d-bio layout) */
.player {
    width: 540px;
    height: 80px;
    background: var(--card-bg);
    border: 4px solid var(--card-border);
    border-radius: 10px;
    padding: 8px 20px;
    color: var(--text-secondary);
    box-sizing: border-box;
    cursor: default;
    transform-style: preserve-3d;
    position: relative;
    transition: all 0.3s ease-out;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
}

.overlay-hidden .player {
    animation: fadeIn 0.6s ease-out 1.5s forwards;
}

.player-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    height: 54px;
}

.art {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.song-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.song-name {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.player-controls-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.time {
    font-size: 10px;
    min-width: 30px;
}

.progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(50, 50, 50, 0.8);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #aaa;
    border-radius: 2px;
    transition: width 0.05s linear;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 0;
}

.ctrl {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
    margin: 0 -2px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.ctrl:hover {
    transform: scale(1.1);
    color: var(--text-primary);
}

.ctrl svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.play {
    width: 30px;
    height: 30px;
    margin: 0 -4px;
}

.hidden {
    display: none !important;
}






