/* Pomodoro Sound Player */
.player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.sound-card {
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}

.sound-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.sound-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sound-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.sound-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.sound-description {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 2px;
}

.controls { display: flex; flex-direction: column; gap: 0.75rem; }

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-slider {
    flex: 1;
    height: 4px;
    accent-color: #3b82f6;
    cursor: pointer;
}

.btn-play {
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    border: none;
    background: #3b82f6;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
}

.btn-play:hover { background: #2563eb; transform: translateY(-1px); }
.btn-play.playing { background: #dc2626; }
.btn-play.playing:hover { background: #b91c1c; }

.wave-indicator {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
}

.wave-bar {
    width: 4px;
    background: #3b82f6;
    border-radius: 2px;
    animation: wave 0.8s ease-in-out infinite alternate;
    height: 50%;
}

.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes wave {
    from { height: 20%; }
    to { height: 100%; }
}

.info-section {
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.info-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.info-section p, .info-section ul, .info-section li {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.6;
}

.info-section ul { padding-left: 1.25rem; }
.info-section li { margin-bottom: 0.4rem; }

.faq-item { margin-bottom: 1rem; }
.faq-item h3 { font-size: 0.95rem; font-weight: 700; color: #111827; margin-bottom: 0.3rem; }
.faq-item p { color: #4b5563; font-size: 0.875rem; }

.related-section { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.related-link {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.related-link:hover { background: #dbeafe; }

/* Dark mode */
html[data-theme="dark"] .sound-card { background: #1e293b; border-color: #334155; }
html[data-theme="dark"] .sound-title { color: #f1f5f9; }
html[data-theme="dark"] .info-section { background: #1e293b; border-color: #334155; }
html[data-theme="dark"] .info-section h2 { color: #f1f5f9; }
html[data-theme="dark"] .info-section p,
html[data-theme="dark"] .info-section li { color: #94a3b8; }
html[data-theme="dark"] .faq-item h3 { color: #f1f5f9; }
html[data-theme="dark"] .faq-item p { color: #94a3b8; }
html[data-theme="dark"] .related-link { background: #1e3a5f; color: #93c5fd; }
