/* ===========================================
   I Love That Track - Modern Design
   =========================================== */

:root {
    /* Color Palette */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --bg-card-hover: #222230;

    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);

    --text-primary: #ffffff;
    --text-secondary: #b4b4bc;
    --text-muted: #8c8c96;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);

    /* Spacing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Container */
.container {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    padding: 24px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    padding: 40px 0 32px;
}

.logo {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Language Switcher */
.lang-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.lang-current:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.lang-globe {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.lang-flag {
    font-size: 1rem;
    line-height: 1;
}

.lang-code {
    font-weight: 600;
}

.lang-arrow {
    font-size: 0.7rem;
    opacity: 0.6;
    transition: transform var(--transition-fast);
}

.lang-switcher.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.lang-option:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.lang-option:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.lang-option.active {
    background: var(--accent-primary);
    color: white;
}

.lang-option .lang-flag {
    font-size: 1.1rem;
}

.lang-option .lang-name {
    font-size: 0.9rem;
}

/* Search Section */
.search-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.search-section:focus-within {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.search-form {
    display: flex;
    gap: 12px;
}

.input-wrapper {
    flex: 1;
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    outline: none;
    transition: all var(--transition-normal);
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.input-wrapper input:focus {
    border-color: var(--accent-primary);
    background: var(--bg-card-hover);
}

.btn-search {
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--accent-gradient);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 0 20px rgba(99, 102, 241, 0.3);
}

.btn-search:active {
    transform: translateY(0);
}

.btn-search:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Instructions */
.instructions {
    text-align: center;
    padding: 16px 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.instructions span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.instructions .step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--bg-card);
    border-radius: 50%;
    font-size: 0.75rem;
    color: var(--accent-primary);
}

.platforms-hint {
    text-align: center;
    padding: 8px 0 16px;
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Error Message */
.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.error-message::before {
    content: '!';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

/* Results Section */
.results-section {
    flex: 1;
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.results-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.results-count {
    font-size: 0.875rem;
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 4px 12px;
    border-radius: 100px;
}

/* Track Grid */
.tracks-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Track Card */
.track-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-normal);
}

.track-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.track-cover {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-secondary);
}

.track-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.track-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.track-artist {
    font-size: 0.875rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-arrow {
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.track-card:hover .track-arrow {
    color: var(--accent-primary);
    transform: translateX(4px);
}

/* Track Card - No Link */
.track-card--no-link {
    cursor: default;
    opacity: 0.65;
}

.track-card--no-link:hover {
    background: var(--bg-card);
    border-color: var(--border-color);
    transform: none;
    box-shadow: none;
}

.track-card--no-link .track-title::after {
    content: 'not found';
    margin-left: 8px;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
}

/* Original Track */
.original-track {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.original-track .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-primary);
    margin-bottom: 4px;
}

.original-track .track-cover {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
}

.original-track .track-title {
    font-size: 1.125rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state .icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1rem;
}

/* ===========================================
   Info Sections (How It Works, Features, FAQ)
   =========================================== */

.info-section {
    margin-top: 32px;
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.info-section h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}

/* Steps Grid (How It Works) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.step-card {
    text-align: center;
    padding: 20px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.step-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.step-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Features List */
.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.features-list li:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.features-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--accent-gradient);
    border-radius: 50%;
    font-size: 0.7rem;
    color: white;
    flex-shrink: 0;
}

/* FAQ Section */
.faq-section {
    margin-top: 32px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color var(--transition-normal);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 16px 20px;
    background: transparent;
    cursor: default;
}

.faq-answer {
    padding: 0 20px 16px;
}

.faq-answer p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Footer */
.footer {
    text-align: center;
    padding: 32px 0 24px;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: auto;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-platforms {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer a:hover {
    color: var(--accent-primary);
}

/* Loading State */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

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

@media (max-width: 640px) {
    .container {
        padding: 16px;
    }

    .header {
        padding: 24px 0;
    }

    .logo {
        font-size: 2rem;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .header p {
        font-size: 0.9rem;
    }

    /* Language Switcher Mobile */
    .lang-switcher {
        top: 10px;
        right: 10px;
    }

    .lang-current {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .lang-code {
        display: none;
    }

    .lang-dropdown {
        min-width: 140px;
    }

    .lang-option {
        padding: 8px 12px;
    }

    .lang-option .lang-name {
        font-size: 0.85rem;
    }

    .search-section {
        padding: 16px;
        border-radius: var(--radius-lg);
    }

    .search-form {
        flex-direction: column;
    }

    .input-wrapper input {
        padding: 14px 16px;
    }

    .btn-search {
        padding: 14px 24px;
        width: 100%;
    }

    .instructions {
        font-size: 0.8rem;
    }

    .track-card {
        padding: 12px;
        gap: 12px;
    }

    .track-cover {
        width: 48px;
        height: 48px;
    }

    .track-title {
        font-size: 0.9rem;
    }

    .track-artist {
        font-size: 0.8rem;
    }

    .original-track {
        padding: 16px;
        flex-direction: column;
        text-align: center;
    }

    .original-track .track-cover {
        width: 80px;
        height: 80px;
    }

    .results-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    /* Info Sections Mobile */
    .info-section {
        padding: 20px 16px;
        margin-top: 24px;
    }

    .info-section h2 {
        font-size: 1rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .step-card {
        padding: 16px;
    }

    .step-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .features-list li {
        padding: 10px 14px;
        font-size: 0.8rem;
    }

    .faq-item h3 {
        font-size: 0.85rem;
        padding: 14px 16px;
    }

    .faq-answer {
        padding: 0 16px 14px;
    }

    .faq-answer p {
        font-size: 0.8rem;
    }

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

/* Dark mode scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Selection */
::selection {
    background: var(--accent-primary);
    color: white;
}

/* ===========================================
   Loading Animation
   =========================================== */

/* Button loading state */
.btn-search {
    position: relative;
    min-width: 100px;
}

.btn-search .btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    opacity: 0;
    animation: spin 0.7s linear infinite;
}

.btn-search .btn-text {
    transition: opacity 0.2s ease;
}

.btn-search.loading .btn-text {
    opacity: 0;
}

.btn-search.loading .btn-loader {
    opacity: 1;
}

.btn-search.loading {
    pointer-events: none;
}

/* Full-page loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

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

/* Audio bars animation */
.loading-bars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 60px;
    margin-bottom: 24px;
}

.loading-bars span {
    width: 6px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 3px;
    animation: equalizer 1.2s ease-in-out infinite;
}

.loading-bars span:nth-child(1) { animation-delay: 0s; }
.loading-bars span:nth-child(2) { animation-delay: 0.15s; }
.loading-bars span:nth-child(3) { animation-delay: 0.3s; }
.loading-bars span:nth-child(4) { animation-delay: 0.45s; }
.loading-bars span:nth-child(5) { animation-delay: 0.6s; }

@keyframes equalizer {
    0%, 100% {
        height: 12px;
        opacity: 0.5;
    }
    25% {
        height: 40px;
        opacity: 1;
    }
    50% {
        height: 20px;
        opacity: 0.7;
    }
    75% {
        height: 50px;
        opacity: 1;
    }
}

.loading-text {
    color: var(--text-secondary);
    font-size: 1rem;
    animation: pulse-text 1.5s ease-in-out infinite;
}

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

/* ===========================================
   404 Error Page
   =========================================== */

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.error-content {
    max-width: 500px;
}

.error-vinyl {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 32px;
    cursor: pointer;
}

.vinyl-disc {
    width: 100%;
    height: 100%;
    background: conic-gradient(
        from 0deg,
        #1a1a24 0deg,
        #2a2a3a 30deg,
        #1a1a24 60deg,
        #2a2a3a 90deg,
        #1a1a24 120deg,
        #2a2a3a 150deg,
        #1a1a24 180deg,
        #2a2a3a 210deg,
        #1a1a24 240deg,
        #2a2a3a 270deg,
        #1a1a24 300deg,
        #2a2a3a 330deg,
        #1a1a24 360deg
    );
    border-radius: 50%;
    position: relative;
    animation: vinyl-spin 8s linear infinite;
    animation-play-state: paused;
    box-shadow:
        0 0 0 3px #333,
        0 0 40px rgba(99, 102, 241, 0.2),
        inset 0 0 60px rgba(0, 0, 0, 0.5);
}

.vinyl-disc::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.vinyl-disc::after {
    content: '404';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.vinyl-hole {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--bg-primary);
    border-radius: 50%;
    z-index: 2;
}

.vinyl-crack {
    position: absolute;
    top: 15%;
    left: 50%;
    width: 3px;
    height: 35%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(239, 68, 68, 0.8),
        transparent
    );
    transform: rotate(15deg);
    filter: blur(1px);
}

.error-vinyl:hover .vinyl-disc,
.error-vinyl.playing .vinyl-disc {
    animation-play-state: running;
}

@keyframes vinyl-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.error-code {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}

.error-title {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.error-page .error-message {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
    background: none;
    border: none;
    padding: 0;
}

.error-page .error-message::before {
    display: none;
}

.error-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 24px;
    opacity: 0.7;
}

.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--accent-gradient);
    border: none;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 0 20px rgba(99, 102, 241, 0.3);
}

.secret-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--accent-primary);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--text-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.secret-message.visible {
    opacity: 1;
}

/* 404 Page Mobile */
@media (max-width: 640px) {
    .error-vinyl {
        width: 160px;
        height: 160px;
    }

    .vinyl-disc::before {
        width: 60px;
        height: 60px;
    }

    .vinyl-disc::after {
        font-size: 1rem;
    }

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

    .secret-message {
        font-size: 0.75rem;
        padding: 10px 16px;
        max-width: 90vw;
        white-space: normal;
        text-align: center;
    }
}
