@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Outfit:wght@300;400;600&display=swap');

:root {
    --bg-color: #0a0a0a;
    --card-bg: rgba(20, 20, 20, 0.6);
    --accent-color: #ffffff;
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

#entry-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
    transition: opacity 1s, visibility 1s;
}

.entry-text {
    font-family: 'Outfit', sans-serif;
    color: #fff;
    font-size: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Background Image */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: url('assets/background.png') no-repeat center center;
    background-size: cover;
    filter: brightness(0.6) contrast(1.1);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
    z-index: -1;
}

/* Rain Effect */
#rain-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

/* Main Card */
.profile-card {
    width: 550px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.avatar-wrapper {
    position: relative;
}

.avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
    box-shadow: var(--glow-shadow);
}

.status-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    background: #43b581;
    border-radius: 50%;
    border: 3px solid #141414;
}

.user-info h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.badges {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.badge {
    color: var(--text-dim);
    font-size: 16px;
    transition: color 0.3s;
}

.badge:hover {
    color: var(--text-main);
    filter: drop-shadow(0 0 5px white);
}

.bio {
    color: var(--text-dim);
    font-size: 15px;
    margin-top: 8px;
    font-family: 'Inter', sans-serif;
}

.discord-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 13px;
    color: #5865F2; /* Discord Blurple */
    background: rgba(88, 101, 242, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    width: fit-content;
}

.discord-status i {
    font-size: 14px;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 20px;
    margin: 25px 0;
}

.social-icon {
    font-size: 24px;
    color: var(--text-dim);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
    color: var(--text-main);
    transform: translateY(-3px);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.8));
}

/* Link Box */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text-main);
    border: 1px solid transparent;
    transition: all 0.3s;
}

.link-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.link-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.link-icon {
    font-size: 24px;
}

.link-icon-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.link-text h3 {
    font-size: 16px;
    font-weight: 600;
}

.link-text p {
    font-size: 13px;
    color: var(--text-dim);
}

/* Music Player Mockup */
.music-player {
    margin-top: 35px;
    border-top: 1px solid var(--glass-border);
    padding-top: 25px;
}

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

.play-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.progress-container {
    flex-grow: 1;
    cursor: pointer;
    transition: opacity 0.2s;
}

.progress-container:hover {
    opacity: 0.8;
}

.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 35%;
    background: #fff;
    box-shadow: 0 0 10px white;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 8px;
    font-family: 'Inter', sans-serif;
}

/* Counter & Volume Icons */
.top-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.view-counter {
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dim);
}

.volume-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 20px;
    transition: 0.3s;
}

.volume-btn:hover {
    color: #fff;
}

/* Bottom Notification */
.bottom-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 12px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.close-banner {
    cursor: pointer;
    opacity: 0.5;
    margin-left: 10px;
}

.close-banner:hover {
    opacity: 1;
}
