/* Modern Root Variables */
:root {
    --primary-color: #2563eb;
    --bg-color: #f8fafc;
    --text-main: #1e293b;
    --card-bg: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Section Headers */
.category-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 6px solid var(--primary-color);
}

.fun-section .category-title {
    border-left-color: #f59e0b; /* Fun orange color for distinction */
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Modern Card Style */
.modern-card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.image-wrapper {
    background: #f1f5f9;
    padding: 1.5rem;
    text-align: center;
}

.image-wrapper img {
    max-width: 140px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.card-info {
    padding: 1.5rem;
    text-align: center;
}

.card-info h3 {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Audio Player Styling */
audio {
    width: 100%;
    height: 32px;
}

.no-audio {
    color: #94a3b8;
    font-size: 0.9rem;
    font-style: italic;
}

.section-divider {
    border: 0;
    height: 1px;
    background: #e2e8f0;
    margin: 4rem 0;
}











.container {
    display: grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:1.5rem;
    padding:2rem;
}
.card {
    max-width: 300px;
    max-height: 320px;
    border-radius: 8px;
    background: #fcfcfc;
    box-shadow: 2px 1px 5px gray;
    text-align: center;
    padding: 8px 0;
}

.card img {
    max-width: 120px;
    padding: 2px;
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgb(100, 100, 100);
    cursor: pointer;
    transition: all 5ms;
}

.card p {
    font-size: 40px;
    font-weight: 600;
}

.card-text {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.down {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

