/* ==========================================================================
   Rate-Music Premium Website Styles
   ========================================================================== */

   :root {
    /* Color Palette */
    --bg-base: #000000;
    --bg-surface: rgba(255, 255, 255, 0.05);
    --bg-surface-hover: rgba(255, 255, 255, 0.1);
    --bg-glass: rgba(0, 0, 0, 0.8);
    
    --primary: #1db954; /* Spotify Green */
    --primary-glow: rgba(29, 185, 84, 0.4);
    --secondary: #ffffff;
    --accent-blue: #1db954;
    --accent-pink: #1db954;
    --accent-yellow: #f5c518;
    
    /* Text Colors */
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --text-dark: #121212;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), #128c3e);
    --gradient-secondary: linear-gradient(135deg, #128c3e, var(--primary));
    
    /* Shadows & Effects */
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --blur-strong: blur(20px);
    --blur-light: blur(10px);
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
    
    /* Spacing */
    --nav-height: 80px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 40px;
    --spacing-xxl: 80px;
}

/* ==========================================================================
   Base Reset & Global
   ========================================================================== */

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

button {
    font-family: var(--font-sans);
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

ul {
    list-style: none;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.text-center { text-align: center; }
.text-yellow { color: var(--accent-yellow); }
.text-purple { color: var(--primary); }
.text-blue { color: var(--accent-blue); }
.text-pink { color: var(--accent-pink); }
.text-red { color: #ff4d4d; }

.badge-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

/* Background Animated Shapes - Toned down for app match */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    animation: float 20s infinite alternate ease-in-out;
}

.bg-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    left: -100px;
}

.bg-shape-2 {
    width: 500px;
    height: 500px;
    background: #128c3e;
    bottom: -100px;
    right: -200px;
    animation-delay: -5s;
}

.bg-shape-3 {
    display: none;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.05); }
    100% { transform: translate(-30px, 50px) scale(0.95); }
}

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

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(29, 185, 84, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(29, 185, 84, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(29, 185, 84, 0); }
}

.pulse-anim {
    animation: pulse 3s infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Components: Buttons & Inputs
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: var(--blur-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-glow {
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Glassmorphism Card Base */
.glass-card {
    background: var(--bg-surface);
    backdrop-filter: var(--blur-strong);
    -webkit-backdrop-filter: var(--blur-strong);
    border: var(--border-glass);
    border-radius: 20px;
    box-shadow: var(--shadow-glass);
    padding: var(--spacing-xl);
}

/* ==========================================================================
   Layout: Navigation
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-lg);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.read-only-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 1.5rem;
}

/* ==========================================================================
   Main Content Views
   ========================================================================== */

.main-content {
    padding-top: var(--nav-height);
    min-height: 100vh;
}

.view {
    display: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
    animation: fadeIn 0.4s ease forwards;
}

.view.active {
    display: block;
}

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

/* ==========================================================================
   Home / Hero Section
   ========================================================================== */

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(90vh - var(--nav-height));
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xl);
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-mockup {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.02);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.05);
}

.mockup-img {
    width: 180px;
    height: 180px;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    z-index: 10;
}

.glass-float {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 20;
    animation: float 6s infinite alternate ease-in-out;
}

.card-1 { top: 10%; right: -5%; animation-delay: 0s; }
.card-2 { bottom: 20%; left: -10%; animation-delay: -2s; }
.card-3 { bottom: -5%; right: 10%; animation-delay: -4s; }

/* Features Grid */
.features {
    padding: var(--spacing-xxl) 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
}

.bg-purple { background: rgba(255,255,255,0.1); }
.bg-blue { background: rgba(255,255,255,0.1); }
.bg-pink { background: rgba(255,255,255,0.1); }
.bg-yellow { background: rgba(255,255,255,0.1); }

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.cta-section {
    padding: var(--spacing-xxl) 0;
}

.cta-box {
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1614613535308-eb5fbd3d2c17?q=80&w=2000') no-repeat center/cover;
    padding: 60px 20px;
    border: 1px solid rgba(29, 185, 84, 0.3);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Discover View
   ========================================================================== */

.view-title {
    font-size: 3rem;
    margin-bottom: 10px;
}

.view-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
}

.search-container {
    margin-bottom: var(--spacing-xl);
}

.search-box {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
}

#searchInput, #userSearchInput {
    width: 100%;
    padding: 20px 20px 20px 50px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s;
    font-family: var(--font-sans);
}

#searchInput:focus, #userSearchInput:focus {
    background: rgba(255,255,255,0.08);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(29, 185, 84, 0.1);
}

.clear-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
}

.clear-btn:hover { color: white; }

.search-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.toggle-btn {
    padding: 10px 24px;
    border-radius: 30px;
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
    font-weight: 600;
    transition: all 0.2s;
}

.toggle-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* UI States */
.empty-state, .error-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 4rem;
    color: rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.empty-state h3, .error-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.empty-state p, .error-state p {
    color: var(--text-muted);
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 16px;
    color: var(--text-muted);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.1);
    border-left-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-small {
    width: 24px;
    height: 24px;
    border-width: 3px;
}

/* Music Grid */
.section-title-small {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.music-card {
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.music-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
    border-color: rgba(29, 185, 84, 0.4);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.music-cover {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.music-title {
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.music-artist {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   Details View
   ========================================================================== */

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    transition: all 0.2s;
}

.back-btn:hover {
    color: white;
    background: rgba(255,255,255,0.1);
    transform: translateX(-4px);
}

.item-hero {
    margin-bottom: 40px;
    padding: 0;
    overflow: hidden;
}

.item-hero-inner {
    display: flex;
    padding: 40px;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.detail-cover {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    object-fit: cover;
}

.detail-info {
    flex: 1;
}

.detail-title {
    font-size: 3rem;
    margin-bottom: 8px;
}

.detail-artist {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.detail-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    padding: 12px 20px;
    border-radius: 12px;
}

.stat-box i { font-size: 1.5rem; }

.stat-values {
    display: flex;
    flex-direction: column;
}

.stat-primary { font-size: 1.2rem; font-weight: bold; }
.stat-secondary { font-size: 0.8rem; color: var(--text-muted); }

.readonly-alert {
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    color: #ffd700;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Reviews List */
.reviews-section {
    margin-top: 40px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 24px;
    transition: background 0.3s;
}

.review-card:hover {
    background: rgba(255,255,255,0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background: #333;
    object-fit: cover;
}

.review-user-info { display: flex; flex-direction: column; }
.r-fullname { font-weight: bold; font-size: 1.05rem; transition: color 0.2s;}
.review-user:hover .r-fullname { color: var(--primary); }
.r-username { font-size: 0.85rem; color: var(--text-muted); }

.review-score-badge {
    background: rgba(245, 197, 24, 0.2);
    color: var(--accent-yellow);
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.review-date {
    display: block;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Profile View
   ========================================================================== */

.profile-header {
    padding: 0;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
}

.profile-cover-bg {
    height: 200px;
    background: linear-gradient(135deg, #1f1c2c, #928DAB);
    position: relative;
}

.profile-info-container {
    padding: 0 40px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: -75px;
    position: relative;
    z-index: 2;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 75px;
    border: 6px solid #111;
    background: #222;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.profile-text-info {
    width: 100%;
    padding-bottom: 10px;
}

.profile-name { font-size: 2.5rem; margin-bottom: 4px; }
.profile-username { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 12px; }
.profile-bio { font-size: 1rem; color: #ddd; max-width: 600px; margin-bottom: 20px; }

.profile-stats {
    display: flex;
    gap: 30px;
}

.p-stat {
    display: flex;
    flex-direction: column;
}

.p-stat-val { font-size: 1.5rem; font-weight: bold; }
.p-stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* Minimal Music Item for Profile Reviews */
.profile-review-card {
    display: flex;
    gap: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 20px;
    transition: background 0.3s;
}

.profile-review-card:hover {
    background: rgba(255,255,255,0.05);
}

.pr-music-cover {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
}

.pr-content { flex: 1; }
.pr-header { display: flex; justify-content: space-between; margin-bottom: 10px; }
.pr-music-info { cursor: pointer; }
.pr-music-title { font-size: 1.2rem; font-weight: bold; transition: color 0.2s;}
.pr-music-info:hover .pr-music-title { color: var(--primary); }
.pr-music-artist { font-size: 0.9rem; color: var(--text-muted); }
.pr-text { font-size: 1rem; color: #ddd; margin-bottom: 10px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    margin-top: 80px;
    border-radius: 40px 40px 0 0;
    padding: 60px 40px 30px;
    border-bottom: none;
    border-left: none;
    border-right: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    margin-bottom: 16px;
}

.footer-brand h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.link-column a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: color 0.2s, transform 0.2s;
}

.link-column a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 992px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-content { margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    .hero-title { font-size: 3.5rem; }
    
    .item-hero-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-box { justify-content: center; }
    
    .profile-info-container {
        align-items: center;
        text-align: center;
    }
    
    .profile-stats { justify-content: center; }
}

/* User Grid for Community Tab */
.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.user-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.user-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
    border-color: rgba(29, 185, 84, 0.4);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.user-card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 40px;
    margin: 0 auto 16px;
    object-fit: cover;
    background: #333;
    border: 3px solid rgba(255,255,255,0.1);
}

.user-card-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-card-username {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.modal.hidden { display: none !important; }
.modal-content {
    width: 100%;
    max-width: 800px;
    background: #0a0a0a;
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: block; }
    
    /* Mobile menu styles would go here, simplified for brevity */
    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(5,5,5,0.95);
        padding: 20px;
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero-title { font-size: 2.8rem; }
    .floating-mockup { width: 280px; height: 280px; }
    .mockup-img { width: 140px; height: 140px; }
    
    .footer-links { flex-direction: column; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    
    .profile-review-card { flex-direction: column; }
    .pr-music-cover { width: 80px; height: 80px; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; }
    .music-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .detail-cover { width: 200px; height: 200px; }
    .detail-title { font-size: 2rem; }
}
