* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: transparent; }
.hero { text-align: center; padding: 4rem 1rem; background: #ffffff; }
h1 { color: var(--_new-home---heading-color); margin-bottom: 1rem; font-size: 2.5rem; }
.subtitle { color: var(--_new-home---primary--grey--600); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; opacity: 0.8; }
.search-container { max-width: 500px; margin: 0 auto; position: relative; }
#searchInput { width: 100%; padding: 1rem 1.5rem; border: 2px solid #253edb33; border-radius: 30px; font-size: 1.1rem; outline: none; transition: box-shadow 0.3s; background: rgba(255,255,255,0.8); backdrop-filter: blur(10px); }
#searchInput:focus { box-shadow: 0 0 15px rgba(37, 62, 219, 0.2); border-color: #253edb; }

.categories-wrapper { padding: 1rem; position: sticky; top: 0; background: #ffffff; backdrop-filter: blur(10px); z-index: 100; border-bottom: 1px solid rgba(37, 62, 219, 0.1); }
.categories { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; scrollbar-width: none; max-width: 1200px; margin: 0 auto; justify-content: center; }
.categories::-webkit-scrollbar { display: none; }
.category-btn { padding: 0.5rem 1.5rem; border: none; background: #fff; border-radius: 20px; color: #253edb; font-weight: 600; cursor: pointer; white-space: nowrap; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: all 0.2s; }
.category-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(37, 62, 219, 0.1); }
.category-btn.active { background: #253edb; color: #fff; }

.sound-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 2rem 1rem; max-width: 1200px; margin: 0 auto; min-height: 50vh; align-content: flex-start; align-items: stretch; }
@media(min-width: 768px) { .sound-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
@media(min-width: 1024px) { .sound-grid { grid-template-columns: repeat(5, 1fr); gap: 2rem; } }

.sound-card { background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(8px); border-radius: 20px; padding: 1.5rem; text-align: center; border: 1px solid rgba(37, 62, 219, 0.1); box-shadow: 0 8px 16px rgba(0,0,0,0.05); transition: all 0.2s; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: space-between; height: 100%; box-sizing: border-box;}
.sound-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(37, 62, 219, 0.1); border-color: #253edb; }
.sound-card:active { transform: translateY(0); }

.card-body { flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; width: 100%; }

.play-btn { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #253edb, #001ba1); display: flex; align-items: center; justify-content: center; color: white; font-size: 24px; margin-bottom: 1rem; box-shadow: 0 4px 10px rgba(37, 62, 219, 0.3); transition: all 0.2s; }
.sound-card:hover .play-btn { transform: scale(1.1); box-shadow: 0 6px 15px rgba(37, 62, 219, 0.4); }
.sound-title { font-weight: 600; font-size: 1rem; margin-bottom: 1rem; color: #333; }
.actions { display: flex; gap: 0.8rem; justify-content: center; width: 100%; border-top: 1px solid rgba(37, 62, 219, 0.1); padding-top: 1rem;}
.action-btn { background: transparent; border: none; font-size: 1.2rem; cursor: pointer; color: #253edb; transition: color 0.2s, transform 0.2s; display: flex; align-items: center; justify-content: center;}
.action-btn:hover { color: #001ba1; transform: scale(1.2); }
.action-btn.favorite.active { color: #253edb; }

.playing-animation { display: none; gap: 3px; height: 20px; align-items: flex-end; justify-content: center; }
.playing-animation.active { display: flex; }
.bar { width: 4px; background: #253edb; border-radius: 2px; animation: bounce 0.5s infinite alternate; }
.bar:nth-child(2) { animation-delay: 0.1s; background: #5a74ff; }
.bar:nth-child(3) { animation-delay: 0.2s; background: #8ba0ff; }
@keyframes bounce { to { height: 20px; } from { height: 5px; } }

.seo-content { max-width: 800px; margin: 4rem auto; padding: 2rem; background: white; border-radius: 20px; color: #444; line-height: 1.6; box-shadow: 0 4px 20px rgba(0,0,0,0.05);}
.seo-content h2 { color: var(--_new-home---heading-color); margin-top: 2rem; margin-bottom: 1rem; font-size: 1.8rem;}
.seo-content h2:first-child { margin-top: 0;}
.seo-content p { margin-bottom: 1rem; }
.seo-content ul { padding-left: 1.5rem; margin-bottom: 1rem;}
.seo-content li { margin-bottom: 0.5rem;}

/* SINGLE SOUND PAGE CSS */
.single-sound-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6rem 1rem 4rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.single-sound-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 2rem;
    text-transform: uppercase;
}
.big-btn-wrapper {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}
.big-play-button {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #253edb, #001ba1);
    border: none;
    box-shadow: 0 10px 30px rgba(37, 62, 219, 0.4);
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 80px;
    padding-left: 15px;
}
.big-play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(37, 62, 219, 0.6);
}
.big-play-button:active {
    transform: scale(0.95);
}
.stats-text {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.stats-subtext {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 2rem;
}
.sound-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}
.action-btn-large {
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    background: #233ed9;
    min-width: 200px;
}
.action-btn-large:hover {
    background: #1a2ea6;
    transform: translateY(-2px);
}
