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

body {
    background: #0A0A0A;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    padding-bottom: 100px;
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.logo span {
    color: #8B5CF6;
}

.contact {
    font-size: 14px;
    color: #A1A1AA;
    text-decoration: none;
    transition: color 0.2s;
}

.contact:hover {
    color: #FFFFFF;
}

/* Hero */
.hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px 24px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.gradient {
    background: linear-gradient(to right, #A78BFA, #C4B5FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: #A1A1AA;
    max-width: 600px;
}

/* Search */
.search-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    position: sticky;
    top: 64px;
    z-index: 40;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(16px);
}

.search-bar {
    position: relative;
    margin-bottom: 12px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #71717A;
}

.search-bar input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    background: #18181B;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 16px;
    color: #FFFFFF;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-bar input::placeholder {
    color: #71717A;
}

.search-bar input:focus {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.categories::-webkit-scrollbar {
    display: none;
}

.cat-btn {
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #18181B;
    color: #A1A1AA;
    transition: all 0.2s;
}

.cat-btn:hover {
    color: #FFFFFF;
    border-color: rgba(139, 92, 246, 0.3);
}

.cat-btn.active {
    background: #8B5CF6;
    color: #FFFFFF;
    border-color: #8B5CF6;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

/* Sound Grid */
.sound-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.sound-card {
    background: #18181B;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
    transition: all 0.2s;
    cursor: pointer;
}

.sound-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: #1F1F23;
}

.sound-card.playing {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.05);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.2);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    color: #A78BFA;
}

.card-icon.playing svg {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.card-play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #8B5CF6;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

.sound-card:hover .card-play-btn {
    opacity: 1;
}

.sound-card.playing .card-play-btn {
    opacity: 1;
}

.card-play-btn svg {
    width: 16px;
    height: 16px;
    color: #FFFFFF;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-category {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 9999px;
    background: rgba(139, 92, 246, 0.1);
    color: #A78BFA;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.card-duration {
    font-size: 12px;
    color: #71717A;
}

.card-download {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    color: #A1A1AA;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.card-download:hover {
    color: #A78BFA;
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.05);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 24px;
}

.empty-icon {
    width: 48px;
    height: 48px;
    color: #3F3F46;
    margin: 0 auto 16px;
}

.empty-state p {
    font-size: 18px;
    color: #71717A;
    margin-bottom: 4px;
}

.empty-state span {
    font-size: 14px;
    color: #52525B;
}

/* Player Bar */
.player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(24, 24, 27, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 24px;
}

.player-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.player-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.player-icon svg {
    width: 20px;
    height: 20px;
    color: #A78BFA;
}

.player-title {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-duration {
    font-size: 12px;
    color: #71717A;
}

.play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #8B5CF6;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.play-btn:hover {
    background: #A78BFA;
}

.play-btn svg {
    width: 20px;
    height: 20px;
    color: #FFFFFF;
}

.download-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.download-btn svg {
    width: 20px;
    height: 20px;
    color: #A78BFA;
}

/* Responsive */
@media (max-width: 640px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .sound-grid {
        grid-template-columns: 1fr;
    }
}