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

:root {
    --bg-primary: #FFF8E7;
    --bg-card: #F5D547;
    --bg-card-alt: #D64545;
    --text-primary: #2D1810;
    --text-secondary: #5C3A2E;
    --border-color: rgba(45, 24, 16, 0.2);
    --plaid-brown: #80513A;
}

body {
    font-family: 'Open Sans Condensed', sans-serif;
    font-style: italic;
    font-weight: 300;
    background: var(--bg-primary);
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

/* Click to enter screen */
.enter-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
}

.enter-screen::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: url('background.jpg') center/cover no-repeat;
    filter: blur(15px);
    z-index: -1;
}

.enter-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.enter-content {
    text-align: center;
}

.enter-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease;
}

.enter-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 3px;
    animation: pulse-text 2s ease-in-out infinite;
}

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

@keyframes pulse-text {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Background image */
.background-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.background-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cursor canvas */
#cursor-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Music player */
.music-player {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 100;
}

.music-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--plaid-brown);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(128, 81, 58, 0.3);
}

.music-btn:hover {
    background: #6B4432;
    transform: scale(1.05);
}

.music-btn.playing {
    animation: pulse-btn 2s ease-in-out infinite;
}

@keyframes pulse-btn {
    0%, 100% { box-shadow: 0 4px 12px rgba(128, 81, 58, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(128, 81, 58, 0.5); }
}

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

/* Profile card */
.profile-card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 3px solid var(--plaid-brown);
    padding: 44px 36px;
    width: 100%;
    max-width: 360px;
    box-shadow:
        0 8px 32px rgba(128, 81, 58, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.profile-header {
    text-align: center;
    margin-bottom: 20px;
}

.avatar-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--plaid-brown);
    box-shadow: 0 4px 12px rgba(128, 81, 58, 0.3);
}

.username {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.tagline {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6b7280;
}

.status-dot.online { background: #22c55e; }
.status-dot.idle { background: #eab308; }
.status-dot.dnd { background: #ef4444; }

/* Divider */
.divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--plaid-brown), transparent);
    margin: 24px 0;
    opacity: 0.5;
}

/* Social links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-card-alt);
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    box-shadow: 0 3px 8px rgba(214, 69, 69, 0.2);
}

.social-link:hover {
    transform: translateY(-2px);
    border-color: var(--plaid-brown);
    box-shadow: 0 6px 16px rgba(214, 69, 69, 0.3);
}

.social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.9;
}

.social-link span {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 300;
}

.arrow-icon {
    width: 16px;
    height: 16px;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.social-link:hover .arrow-icon {
    opacity: 0.8;
    transform: translateX(3px);
}

/* Footer */
.footer-text {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 3px;
}

/* URL Watermark */
.url-watermark {
    display: block;
    text-align: center;
    font-size: 0.65rem;
    color: rgba(45, 24, 16, 0.4);
    letter-spacing: 1px;
    margin-top: 8px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.url-watermark:hover {
    color: rgba(45, 24, 16, 0.7);
}

/* Responsive */
@media (max-width: 480px) {
    .profile-card {
        padding: 32px 24px;
    }

    .username {
        font-size: 1.5rem;
    }
}
