/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Music-themed color palette
    /* Primary Colors */
    --museum-ink: #0A0E1A;
    --deep-slate: #1A1F2E;
    --gallery-ivory: #F5F1E8;
    --white-pure: #FFFFFF;

    /* Accent Colors */
    --artistic-copper: #dfa174;
    /* --artistic-copper: #C87941; */
    --imperial-rose: #A6416D;

    /* Sophisticated Neutrals */
    --warm-light-gray: #C4BCAE;
    --balanced-gray: #8B8679;
    --cool-dark-gray: #3D4354;

    /* Override existing variables */
    --bg-primary: var(--museum-ink);
    --bg-secondary: var(--deep-slate);
    --primary: var(--artistic-copper);
    --primary-hover: #D68A55;
    --primary-dark: #8e542a;
    --accent: var(--imperial-rose);
    --secondary: #f59e0b;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Neutral colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--museum-ink);
    color: var(--gray-100);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--gallery-ivory);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--white);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--gray-100);
}

p {
    margin-bottom: var(--space-md);
    color: var(--gray-300);
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: var(--space-2xl);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Brand Icon */
.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--artistic-copper);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.brand-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    min-height: 44px;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--artistic-copper);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-google {
    background: var(--white);
    color: var(--gray-700);
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.btn-google:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-google svg {
    width: 20px;
    height: 20px;
}

.btn-logout {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

.btn-logout svg {
    width: 18px;
    height: 18px;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(99, 102, 241, 0.1);
}

.profile-card {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto var(--space-lg);
    border: 4px solid rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.profile-avatar:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.profile-info {
    margin-bottom: var(--space-lg);
}

.profile-info p {
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
}

.profile-info strong {
    color: var(--primary);
    font-weight: 600;
}

/* Music Collection Preview */
.music-collection-preview {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.collection-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.stat-item {
    text-align: center;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Bio Section */
.bio-section {
    margin-bottom: var(--space-lg);
}

.bio-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.bio-header strong {
    color: var(--primary);
    font-weight: 600;
}

.btn-edit {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 1.2rem;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-edit svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.btn-edit:hover {
    opacity: 1;
    background: rgba(99, 102, 241, 0.1);
    transform: scale(1.1);
}

.bio-content {
    text-align: center;
    margin-bottom: var(--space-md);
}

.bio-content p {
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.bio-edit-form {
    margin-top: var(--space-md);
}

.bio-textarea {
    width: 100%;
    min-height: 100px;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    transition: var(--transition);
}

.bio-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.bio-textarea::placeholder {
    color: var(--gray-400);
}

.bio-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-md);
}

.bio-actions .btn {
    min-width: 120px;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 1000;
    transform: translateX(100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    max-width: 350px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-left: 4px solid var(--success);
}

.notification-error {
    border-left: 4px solid var(--error);
}

.notification-info {
    border-left: 4px solid var(--primary);
}

.notification-close {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close svg {
    width: 16px;
    height: 16px;
}

.notification-close:hover {
    color: var(--white);
}

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.login-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    text-align: center;
    max-width: 450px;
    width: 100%;
    box-shadow: var(--shadow-xl);
}

.login-header {
    margin-bottom: var(--space-2xl);
}

.login-title {
    margin-bottom: var(--space-md);
}

.login-subtitle {
    color: var(--gray-400);
    font-size: 1.1rem;
}

/* Music Museum Elements */
.music-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.music-note {
    position: absolute;
    color: rgba(99, 102, 241, 0.1);
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
    cursor: pointer;
    transition: var(--transition);
}

.music-note svg {
    width: 2rem;
    height: 2rem;
    color: rgba(99, 102, 241, 0.1);
    transition: var(--transition);
}

.music-note:hover {
    color: rgba(99, 102, 241, 0.3);
    transform: scale(1.2);
}

.music-note:hover svg {
    color: rgba(99, 102, 241, 0.3);
}

.music-note:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.music-note:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.music-note:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.music-note:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.3;
    }
}

/* Ripple Animation */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .header-content {
        flex-direction: column;
        gap: var(--space-md);
    }

    .nav-menu {
        gap: var(--space-md);
    }

    .card {
        padding: var(--space-lg);
    }

    .login-card {
        padding: var(--space-2xl);
        margin: var(--space-md);
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
    }

    .collection-stats {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .stat-item {
        padding: var(--space-sm);
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .bio-actions {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .bio-actions .btn {
        min-width: 100%;
    }

    .notification {
        right: var(--space-sm);
        left: var(--space-sm);
        max-width: none;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: var(--space-md);
        font-size: 1rem;
    }

    .card {
        padding: var(--space-md);
    }

    .login-card {
        padding: var(--space-xl);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .collection-stats {
        gap: var(--space-xs);
    }

    .stat-item {
        padding: var(--space-xs);
    }

    .bio-textarea {
        min-height: 80px;
        padding: var(--space-sm);
    }

    .bio-header {
        flex-direction: column;
        gap: var(--space-xs);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.text-white {
    color: var(--white);
}

.text-gray-400 {
    color: var(--gray-400);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--space-sm);
}

.mb-2 {
    margin-bottom: var(--space-md);
}

.mb-3 {
    margin-bottom: var(--space-lg);
}

.mb-4 {
    margin-bottom: var(--space-xl);
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: var(--space-sm);
}

.mt-2 {
    margin-top: var(--space-md);
}

.mt-3 {
    margin-top: var(--space-lg);
}

.mt-4 {
    margin-top: var(--space-xl);
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Focus States */
.btn:focus,
a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {

    .btn,
    .music-elements {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

/* Albums Management Styles */
.albums-management-section {
    margin: var(--space-xl) 0;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.albums-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.albums-header h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.25rem;
}

.add-album-btn {
    background: var(--success);
    color: var(--white);
    border: none;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: var(--transition);
}

.add-album-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.add-album-btn svg {
    width: 18px;
    height: 18px;
}

/* Albums Grid */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.album-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    transition: var(--transition);
    position: relative;
}

.album-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.album-icon {
    width: 50px;
    height: 50px;
    background: var(--artistic-copper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.album-icon svg {
    width: 25px;
    height: 25px;
    color: var(--white);
}

.album-info {
    flex: 1;
}

.album-title {
    margin: 0 0 var(--space-xs) 0;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}

.album-date {
    margin: 0;
    color: var(--gray-400);
    font-size: 0.875rem;
}

.album-actions {
    display: flex;
    gap: var(--space-xs);
}

.album-action-btn {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-action-btn:hover {
    color: var(--error);
    background: rgba(239, 68, 68, 0.1);
}

.album-action-btn svg {
    width: 16px;
    height: 16px;
}

.no-albums {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--gray-400);
}

.no-albums svg {
    width: 3rem;
    height: 3rem;
    margin-bottom: var(--space-lg);
    opacity: 0.5;
}

.no-albums p {
    font-size: 1.1rem;
    margin: 0;
}

/* Add Album Modal */
.add-album-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.add-album-modal.show {
    display: flex;
}

.add-album-content {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    max-width: 720px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease-out;
}

.add-album-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.add-album-header h3 {
    margin-bottom: var(--space-sm);
    color: var(--white);
}

.add-album-header p {
    color: var(--gray-400);
    margin: 0;
}

.album-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.album-input-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.album-input {
    color: #000;
    border-color: #e3e3e3;
    border-radius: 4px;
    font-weight: 400;
    height: 40px;
}

/* Album search suggestions */
.album-input-group {
    position: relative;
}

.album-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    margin-top: 6px;
    max-height: 320px;
    overflow: auto;
    box-shadow: var(--shadow-xl);
}

.album-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    cursor: pointer;
}

.album-suggestion-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.album-suggestion-cover {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.album-suggestion-info {
    flex: 1;
    min-width: 0;
}

.album-suggestion-title {
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-suggestion-artist {
    font-size: .875rem;
    color: var(--gray-400);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-suggestion-select {
    background: none;
    border: none;
    color: var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-input-group label {
    color: var(--gray-300);
    font-weight: 500;
    font-size: 0.875rem;
}

.pseudo-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.pseudo-prefix {
    position: absolute;
    left: var(--space-md);
    color: var(--gray-400);
    font-weight: 600;
    z-index: 1;
}

#pseudoInput {
    width: 100%;
    padding: var(--space-md) var(--space-md) var(--space-md) calc(var(--space-md) + 20px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

#pseudoInput:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

#pseudoInput::placeholder {
    color: var(--gray-500);
}

.feedback {
    min-height: 20px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.feedback.available {
    color: var(--success);
}

.feedback.unavailable {
    color: var(--error);
}

.feedback.checking {
    color: var(--warning);
}

.modal-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.modal-actions .btn {
    min-width: 120px;
}

/* Responsive Design for Albums */
@media (max-width: 768px) {
    .albums-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .albums-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .album-card {
        padding: var(--space-md);
    }

    .album-icon {
        width: 40px;
        height: 40px;
    }

    .album-icon svg {
        width: 20px;
        height: 20px;
    }

    .add-album-content {
        padding: var(--space-xl);
        margin: var(--space-md);
        max-width: 100%;
    }

    .album-modal-actions {
        flex-direction: column;
        justify-content: center;
        gap: var(--space-md);
    }

    .album-modal-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .albums-management-section {
        padding: var(--space-md);
    }

    .album-card {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    .album-actions {
        justify-content: center;
    }
}

/* Profile Visibility Section */
.profile-visibility-section {
    margin: var(--space-xl) 0;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.visibility-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.visibility-header h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.25rem;
}

.visibility-status {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.pseudo-display {
    background: var(--primary);
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
}

.visibility-controls {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.switch-container {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.switch-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gray-300);
    font-weight: 500;
}

.switch-label svg {
    width: 18px;
    height: 18px;
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 3px;
    background-color: var(--gray-400);
    transition: var(--transition);
    border-radius: 50%;
}

input:checked+.slider {
    background: var(--primary);
    border-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(26px);
    background-color: var(--white);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.modal-content {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.modal-header h3 {
    margin-bottom: var(--space-sm);
    color: var(--white);
}

.modal-header p {
    color: var(--gray-400);
    margin: 0;
}

.pseudo-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.input-group label {
    color: var(--gray-300);
    font-weight: 500;
    font-size: 0.875rem;
}

.pseudo-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.pseudo-prefix {
    position: absolute;
    left: var(--space-md);
    color: var(--gray-400);
    font-weight: 600;
    z-index: 1;
}

#pseudoInput {
    width: 100%;
    padding: var(--space-md) var(--space-md) var(--space-md) calc(var(--space-md) + 20px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

#pseudoInput:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

#pseudoInput::placeholder {
    color: var(--gray-500);
}

.feedback {
    min-height: 20px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.feedback.available {
    color: var(--success);
}

.feedback.unavailable {
    color: var(--error);
}

.feedback.checking {
    color: var(--warning);
}

.modal-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.modal-actions .btn {
    min-width: 120px;
}

/* Responsive Design for Profile Visibility */
@media (max-width: 768px) {
    .visibility-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .visibility-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .switch-container {
        width: 100%;
        justify-content: space-between;
    }

    .modal-content {
        padding: var(--space-xl);
        margin: var(--space-md);
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .profile-visibility-section {
        padding: var(--space-md);
    }

    .switch {
        width: 50px;
        height: 28px;
    }

    .slider:before {
        height: 20px;
        width: 20px;
        left: 3px;
        bottom: 3px;
    }

    input:checked+.slider:before {
        transform: translateX(22px);
    }
}

/* Album Categories Styles */
.section-description {
    color: var(--gray-400);
    font-size: 0.875rem;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.albums-section {
    margin-top: var(--space-2xl);
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.albums-section h3 {
    color: var(--primary);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.albums-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary);
    border-radius: 2px;
}

/* Enhanced album actions for categories */
.album-actions {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.album-action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--gray-300);
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
}

.album-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: translateY(-1px);
}

.album-action-btn[title*="plus écoutés"]:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--error);
    color: var(--error);
}

.album-action-btn[title*="coups de cœur"]:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--warning);
    color: var(--warning);
}

.album-action-btn[title*="Supprimer"]:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--error);
    color: var(--error);
}

.album-action-btn[title*="Retirer"]:hover {
    background: rgba(107, 114, 128, 0.2);
    border-color: var(--gray-500);
    color: var(--gray-500);
}

/* Category-specific album cards */
.albums-section .album-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.albums-section .album-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Horizontal scroll for album covers */
.albums-horizontal-scroll {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    overflow-y: hidden;
    padding: var(--space-sm) 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-600) transparent;
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
}

.albums-horizontal-scroll::-webkit-scrollbar {
    height: 6px;
}

.albums-horizontal-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.albums-horizontal-scroll::-webkit-scrollbar-thumb {
    background: var(--gray-600);
    border-radius: 3px;
}

.albums-horizontal-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

.album-card-horizontal {
    flex: 0 0 180px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    position: relative;
    min-height: 250px;
}

.album-card-horizontal:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.album-cover {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-md);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

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

.album-cover i {
    font-size: 2rem;
    color: var(--gray-400);
}

.album-info-horizontal {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.album-info-horizontal .album-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.album-info-horizontal .album-artist {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin: 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.remove-album-btn {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid var(--error);
    color: var(--error);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
}

.album-card-horizontal:hover .remove-album-btn {
    opacity: 1;
}

.remove-album-btn:hover {
    background: var(--error);
    color: var(--white);
    transform: scale(1.1);
}

/* Enhanced horizontal scroll styles */
.albums-horizontal-scroll {
    position: relative;
}

/* Scroll shadows */
.scroll-shadow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.scroll-shadow-left {
    left: 0;
    background: rgba(0, 0, 0, 0.3);
}

.scroll-shadow-right {
    right: 0;
    background: rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments for categories */
@media (max-width: 768px) {

    /* Center profile card on mobile */
    .profile-card {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        width: 100%;
    }

    /* Ensure main container doesn't overflow */
    main.container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
        width: 100%;
        max-width: 100%;
    }

    /* Ensure page wrapper doesn't overflow */
    .page-wrapper {
        overflow-x: hidden;
        width: 100%;
    }

    .albums-section {
        padding: 0;
        margin-top: var(--space-xl);
        width: 100%;
        overflow-x: hidden;
    }

    .albums-section h3 {
        font-size: 1.125rem;
        text-align: center;
        padding: 0 var(--space-md);
    }

    .section-description {
        font-size: 0.8rem;
    }

    .album-actions {
        gap: var(--space-xs);
    }

    .album-action-btn {
        min-width: 28px;
        height: 28px;
        padding: var(--space-xs);
    }

    .album-card-horizontal {
        flex: 0 0 140px;
        min-height: 220px;
    }

    .album-cover {
        width: 80px;
        height: 80px;
    }

    /* Center pseudo and bio sections */
    .pseudo {
        text-align: center;
    }

    .bio {
        text-align: center;
        padding: 0 var(--space-sm);
    }

    /* Center no-albums message */
    .no-albums {
        text-align: center;
        padding: var(--space-lg);
    }

    .album-info-horizontal .album-title {
        font-size: 0.85rem;
    }

    .album-info-horizontal .album-artist {
        font-size: 0.75rem;
    }
}


/* ============================================
   LANDING PAGE STYLES
   ============================================ */

/* Override body background for landing page */
.landing-hero body {
    background: var(--museum-ink);
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--deep-slate);
    opacity: 0.5;
    pointer-events: none;
}

/* Landing Page Specific Styles */
.landing-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl) var(--space-md);
    position: relative;
}

.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 31, 46, 0.2);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(166, 65, 109, 0.15);
    border: 1px solid rgba(166, 65, 109, 0.3);
    border-radius: 50px;
    color: var(--gallery-ivory);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-xl);
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    color: var(--imperial-rose);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--gallery-ivory);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--warm-light-gray);
    line-height: 1.6;
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.btn-hero {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.1rem;
    font-weight: 600;
    min-height: 56px;
    box-shadow: 0 8px 24px rgba(200, 121, 65, 0.25),
        0 2px 6px rgba(10, 14, 26, 0.3);
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 36px rgba(200, 121, 65, 0.35),
        0 4px 12px rgba(10, 14, 26, 0.4);
}

.btn-google-landing {
    background: var(--gallery-ivory);
    color: var(--museum-ink);
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    border: 1px solid rgba(200, 121, 65, 0.15);
}

.btn-google-landing:hover {
    background: var(--white-pure);
    border-color: rgba(200, 121, 65, 0.3);
}

.google-icon,
.btn-google-landing svg,
.btn-google-landing i {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* User icon in logged-in state */
.btn-google-landing i {
    color: var(--artistic-copper);
}

/* Features Section */
.features-section {
    padding: var(--space-3xl) var(--space-md);
    background: var(--deep-slate);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(166, 65, 109, 0.12);
    border: 1px solid rgba(166, 65, 109, 0.35);
    border-radius: 50px;
    color: var(--imperial-rose);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
    color: var(--gallery-ivory);
}

.section-description {
    font-size: 1.2rem;
    color: var(--warm-light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--museum-ink);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(61, 67, 84, 0.4);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(200, 121, 65, 0.06),
        0 1px 3px rgba(10, 14, 26, 0.4);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--artistic-copper);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 121, 65, 0.35);
    background: rgba(26, 31, 46, 0.6);
    box-shadow: 0 12px 28px rgba(200, 121, 65, 0.18),
        0 4px 8px rgba(10, 14, 26, 0.5);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(200, 121, 65, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--artistic-copper);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gallery-ivory);
    margin-bottom: var(--space-md);
}

.feature-description {
    font-size: 1rem;
    color: var(--balanced-gray);
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works-section {
    padding: var(--space-3xl) var(--space-md);
    background: var(--museum-ink);
}

.how-it-works-section .section-badge {
    background: rgba(200, 121, 65, 0.12);
    border-color: var(--artistic-copper);
    color: var(--artistic-copper);
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: var(--space-2xl);
}

.step-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--artistic-copper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gallery-ivory);
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(200, 121, 65, 0.3),
        0 2px 6px rgba(10, 14, 26, 0.3);
}

.step-content h3 {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
    color: var(--gallery-ivory);
}

.step-content p {
    font-size: 1.1rem;
    color: var(--warm-light-gray);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: var(--space-3xl) var(--space-md);
    background: var(--deep-slate);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-3xl);
    background: rgba(26, 31, 46, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(200, 121, 65, 0.2);
    border-radius: var(--radius-2xl);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(200, 121, 65, 0.08);
}

.cta-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(200, 121, 65, 0.03);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
    color: var(--gallery-ivory);
    text-shadow: 0 2px 8px rgba(200, 121, 65, 0.1);
}

.cta-description {
    font-size: 1.2rem;
    color: var(--warm-light-gray);
    margin-bottom: var(--space-2xl);
}

.cta-section .btn-hero {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
    background: var(--artistic-copper);
    border: none;
    color: var(--gallery-ivory);
}

.cta-section .btn-hero:hover {
    background: var(--artistic-copper-light);
    transform: scale(1.03);
    box-shadow: 0 12px 48px rgba(200, 121, 65, 0.4);
}

/* Footer */
.landing-footer {
    padding: var(--space-2xl) var(--space-md);
    text-align: center;
    border-top: 1px solid rgba(200, 121, 65, 0.15);
    background: var(--museum-ink);
}

.footer-text {
    color: var(--balanced-gray);
    font-size: 0.875rem;
}

.footer-text a {
    color: var(--artistic-copper);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-text a:hover {
    color: var(--imperial-rose);
}

/* Music Background Elements */
.music-elements .music-note svg {
    color: rgba(200, 121, 65, 0.08);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* ============================================
   LOGIN PAGE STYLES
   ============================================ */

.login-card {
    background: rgba(26, 31, 46, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(200, 121, 65, 0.15);
}

.login-title {
    color: var(--gallery-ivory);
}

.login-subtitle {
    color: var(--warm-light-gray);
}

.btn-google {
    background: var(--gallery-ivory);
    color: var(--museum-ink);
    border: 1px solid rgba(200, 121, 65, 0.2);
}

.btn-google:hover {
    background: var(--white-pure);
    border-color: var(--artistic-copper);
    transform: translateY(-2px);
}

/* ============================================
   PUBLIC PROFILE PAGE STYLES
   ============================================ */

header {
    background: rgba(26, 31, 46, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200, 121, 65, 0.15);
}

.brand-text {
    color: var(--gallery-ivory);
}

.card,
.profile-card {
    background: rgba(26, 31, 46, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(200, 121, 65, 0.15);
}

h1,
h3,
.album-title {
    color: var(--gallery-ivory);
}

.pseudo {
    color: var(--artistic-copper);
}

.bio p {
    color: var(--warm-light-gray);
}

.btn-secondary {
    background: rgba(200, 121, 65, 0.15);
    color: var(--artistic-copper);
    border: 1px solid rgba(200, 121, 65, 0.3);
}

.btn-secondary:hover {
    background: rgba(200, 121, 65, 0.25);
    border-color: var(--artistic-copper);
}

.btn-primary {
    background: var(--artistic-copper);
    color: var(--gallery-ivory);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: scale(1.03);
}

.btn-logout {
    background: rgba(166, 65, 109, 0.15);
    color: var(--imperial-rose);
    border: 1px solid rgba(166, 65, 109, 0.3);
}

.btn-logout:hover {
    background: rgba(166, 65, 109, 0.25);
}

.album-card-horizontal {
    background: rgba(26, 31, 46, 0.4);
    border: 1px solid rgba(200, 121, 65, 0.1);
}

.album-card-horizontal:hover {
    border-color: rgba(200, 121, 65, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 121, 65, 0.15);
}

.album-artist {
    color: var(--balanced-gray);
}

.text-gray-400 {
    color: var(--balanced-gray) !important;
}

.text-gray-300 {
    color: var(--warm-light-gray) !important;
}

/* Music note animations with copper tint */
.music-note {
    color: rgba(200, 121, 65, 0.12);
}

.no-albums {
    color: var(--balanced-gray);
}

.no-albums i {
    color: rgba(200, 121, 65, 0.3);
}

/* ============================================
   LANDING PAGE RESPONSIVE STYLES
   ============================================ */

/* Tablet and below */
@media (max-width: 768px) {
    .landing-hero {
        padding: var(--space-3xl) var(--space-md);
    }

    .hero-content {
        padding: var(--space-lg);
    }

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-hero,
    .btn-google-landing {
        padding: var(--space-md) var(--space-lg);
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .steps-container {
        gap: var(--space-xl);
    }

    .cta-container {
        padding: var(--space-xl);
    }

    .cta-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-section .btn-hero {
        padding: var(--space-md) var(--space-lg);
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .landing-hero {
        padding: var(--space-2xl) var(--space-sm);
    }

    .hero-content {
        padding: var(--space-md);
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .btn-hero,
    .btn-google-landing {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9rem;
        gap: var(--space-sm);
        width: 100%;
        max-width: 100%;
        word-break: break-word;
    }

    .btn-google-landing span,
    .btn-hero span {
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }

    .google-icon,
    .btn-google-landing svg,
    .btn-google-landing i {
        width: 20px;
        height: 20px;
    }

    .features-section,
    .how-it-works-section,
    .cta-section {
        padding: var(--space-xl) var(--space-sm);
    }

    .section-header {
        margin-bottom: var(--space-xl);
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-description {
        font-size: 0.9rem;
    }

    .feature-card {
        padding: var(--space-lg);
    }

    .feature-title {
        font-size: 1.1rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }

    .steps-container {
        gap: var(--space-lg);
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .step-content h3 {
        font-size: 1.1rem;
    }

    .step-content p {
        font-size: 0.95rem;
    }

    .cta-container {
        padding: var(--space-lg) var(--space-md);
    }

    .cta-title {
        font-size: 1.5rem;
        margin-bottom: var(--space-sm);
    }

    .cta-description {
        font-size: 0.9rem;
        margin-bottom: var(--space-lg);
    }

    .cta-section .btn-hero {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9rem;
        width: 100%;
        max-width: 100%;
    }

    .landing-footer {
        padding: var(--space-lg) var(--space-sm);
    }

    .footer-text {
        font-size: 0.8rem;
    }
}

/* Very small screens */
@media (max-width: 360px) {

    .btn-hero,
    .btn-google-landing,
    .cta-section .btn-hero {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.25rem;
    }
}