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

/* Base Reset */
body {
    background: #f8fafc;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    margin: 0;
}

/* Glassmorphism Components */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.6);
}

/* Typography */
.tech-text { 
    letter-spacing: 0.25em; 
    text-transform: uppercase; 
    font-size: 10px; 
    font-weight: 700; 
}

/* Analytics Chart Styles */
.stat-bar-bg { 
    width: 100%; 
    height: 4px; 
    background: #e2e8f0; 
    border-radius: 10px; 
    margin-top: 8px; 
    overflow: hidden; 
}

.stat-bar-fill { 
    height: 100%; 
    background: #0f172a; 
    border-radius: 10px; 
    transition: width 1.5s ease-in-out;
}

/* Comment Section Rolling Logic */
.comment-viewport {
    height: 240px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(transparent, black 15%, black 85%, transparent);
}

#comment-list { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
    transition: transform 0.8s cubic-bezier(0.45, 0.05, 0.55, 0.95); 
}

.comment-item { 
    font-size: 13px; 
    border-l-2 border-slate-900 pl-4; 
    min-height: 40px; 
}

.id-label { 
    font-size: 9px; 
    font-weight: 800; 
    color: #64748b; 
    letter-spacing: 0.1em; 
    display: block; 
}

.quote-text { 
    font-style: italic; 
    color: #334155; 
}

/* Floating Heart Animation */
@keyframes heartFloat {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    20% { opacity: 0.8; }
    100% { transform: translateY(-120px) scale(1.3); opacity: 0; }
}

.live-heart { 
    position: absolute; 
    animation: heartFloat 4s ease-out forwards; 
    pointer-events: none; 
    z-index: 50;
}

/* Grid Layout */
.aspect-portrait { 
    aspect-ratio: 3 / 4; 
}