:root {
    --bg-primary: #0a0a0a;
    --bg-card: #141414;
    --text-primary: #e5e5e5;
    --text-secondary: #888;
    --accent: #666;
    --border: #222;
}

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

body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #151515 100%);
    min-height: 100vh;
    color: var(--text-primary);
    font-family: 'Segoe UI', sans-serif;
    animation: pageLoad 1s ease-out;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 182, 193, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 192, 203, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(255, 218, 252, 0.3) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundShift 15s ease infinite;
}

@keyframes backgroundShift {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes pageLoad {
    from { opacity: 0; }
    to { opacity: 1; }
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    color: var(--accent);
    opacity: 0.3;
    animation: fall 8s linear infinite;
}

@keyframes fall {
    0% { transform: translateY(-10vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

.content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 380px;
    width: 100%;
}

.title {
    font-size: 1.6rem;
    font-weight: 200;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.title span:first-child { color: var(--text-secondary); }
.title span:last-child { color: var(--accent); margin-left: 0.5rem; }

.divider {
    width: 60px;
    height: 1px;
    background: var(--border);
    margin: 2rem auto;
}

.avatar-wrapper {
    position: relative;
    width: 160px;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-wrapper .avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
}

.avatar-wrapper .avatar:first-child { margin-right: -8px; z-index: 1; }
.avatar-wrapper .avatar:last-child { margin-left: -8px; z-index: 2; }

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 70px;
    background: radial-gradient(circle, rgba(100,100,100,0.15) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.name {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.quote-label {
    position: absolute;
    top: 0.5rem;
    left: 0.8rem;
    font-size: 0.65rem;
    color: var(--text-secondary);
    opacity: 0.4;
    letter-spacing: 1px;
}

.quote-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    padding-top: 1.5rem;
    margin-bottom: 0.8rem;
    position: relative;
}

.quote-box p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
}

.quote-box:first-of-type { border-left: 2px solid var(--accent); }
.quote-box:last-of-type { border-left: 2px solid #444; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    margin-top: 2rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.3s;
}

.back-link:hover {
    background: var(--bg-card);
    border-color: var(--accent);
}

.like-wrapper {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 99;
}

.like-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.like-btn:hover {
    background: #1a1a1a;
    border-color: var(--accent);
    transform: scale(1.1);
}

.like-btn.liked {
    color: #666;
    animation: likePop 0.3s ease;
}

@keyframes likePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.like-count {
    font-size: 0.7rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

@media (max-width: 400px) {
    .title { font-size: 1.3rem; letter-spacing: 2px; }
    .avatar-wrapper { width: 130px; }
    .avatar-wrapper .avatar { width: 58px; height: 58px; }
    .avatar-glow { width: 85px; height: 60px; }
    .content { padding: 0 0.5rem; }
}
