/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-card: rgba(255, 255, 255, 0.95);
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --accent-color: #3498db;
    --border-color: #ecf0f1;
    --shadow-light: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background: var(--bg-gradient);
    min-height: 100vh;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Dark Mode Styles */
body.dark-mode {
    --bg-gradient: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
    --bg-card: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --accent-color: #4a9eff;
    --border-color: rgba(255, 255, 255, 0.2);
    --shadow-light: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(10px);
    position: relative;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.header-top h1 {
    margin: 0;
    flex: 1;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    background: var(--accent-color);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5em;
    box-shadow: var(--shadow-light);
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

.dark-mode-toggle:active {
    transform: scale(0.95);
}

header h1 {
    font-size: 2.5em;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

header p {
    font-size: 1.2em;
    color: var(--text-secondary);
}

/* Navigation */
.main-nav {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(10px);
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    margin: 0 10px;
    text-decoration: none;
    color: var(--text-primary);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid transparent;
}

.nav-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.nav-link.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: var(--shadow-light);
}

.nav-icon {
    font-size: 1.2em;
}

/* Search */
.search-container {
    margin-bottom: 30px;
    text-align: center;
}

    .search-container {
        margin-bottom: 20px;
    }
    
    .filter-controls {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
    
    .filter-select {
        width: 100%;
        min-width: auto;
        padding: 12px 15px;
        font-size: 1em;
    }

.search-box:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.filter-controls {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.95em;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.filter-select:focus {
    border-color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.filter-select:hover {
    border-color: var(--accent-color);
    background: var(--bg-card);
}

/* Naat Grid */
.naat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.naat-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.naat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

/* Performance Optimized Card Styles */
.naat-card.loading {
    opacity: 0.7;
    transform: scale(0.98);
}

.naat-card .card-header {
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.naat-card .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.9em;
    color: #7f8c8d;
}

.naat-card .card-body {
    margin-bottom: 15px;
}

.naat-card .category-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.naat-card .card-footer {
    border-top: 1px solid #ecf0f1;
    padding-top: 15px;
    text-align: center;
}

.quick-view-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.quick-view-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f639a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Lazy Loading Animation */
.naat-card[loading="lazy"] {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.naat-card.loaded {
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.naat-card .naat-title {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1.3;
}

.naat-card p {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.naat-card .card-header {
    flex-grow: 0;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.naat-card .card-body {
    flex-grow: 1;
    margin-bottom: 15px;
}

.naat-card .card-footer {
    flex-grow: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.9em;
    color: var(--text-secondary);
}

.category-row, .languages-row {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.language-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.language-badge {
    background: var(--accent-color);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Category specific colors */
.category-praise { background: linear-gradient(135deg, #e74c3c, #c0392b); color: white; }
.category-spiritual { background: linear-gradient(135deg, #9b59b6, #8e44ad); color: white; }
.category-repentance { background: linear-gradient(135deg, #f39c12, #e67e22); color: white; }
.category-contentment { background: linear-gradient(135deg, #27ae60, #229954); color: white; }
.category-unity { background: linear-gradient(135deg, #3498db, #2980b9); color: white; }
.category-peace { background: linear-gradient(135deg, #1abc9c, #16a085); color: white; }
.category-devotion { background: linear-gradient(135deg, #e91e63, #c2185b); color: white; }
.category-traditional { background: linear-gradient(135deg, #795548, #5d4037); color: white; }

.naat-info {
    margin-top: 10px;
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.9em;
    opacity: 0.8;
}

.read-btn, .share-btn {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.read-btn {
    background: linear-gradient(135deg, var(--accent-color), #2980b9);
    color: white;
}

.share-btn {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
}

.read-btn:hover, .share-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.read-btn:active, .share-btn:active {
    transform: translateY(0);
}

/* Naat Detail Page */
.naat-detail {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.naat-title {
    font-size: 2.2em;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 15px;
}

/* Tabs */
.tab-container {
    margin-bottom: 30px;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 25px;
    background: #ecf0f1;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #2c3e50;
}

.tab-button:hover {
    background: #bdc3c7;
    transform: translateY(-2px);
}

.tab-button.active {
    background: #3498db;
    color: white;
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
}

.tab-content {
    display: none;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #3498db;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lyrics {
    font-size: 1.2em;
    line-height: 2;
    white-space: pre-line;
    color: #2c3e50;
    text-align: center;
}

/* Naat Info Table */
.naat-info {
    margin-top: 30px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.info-table th,
.info-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.info-table th {
    background: #3498db;
    color: white;
    font-weight: 600;
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table tr:hover {
    background: rgba(52, 152, 219, 0.1);
}

/* Generator Form */
.generator-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-bottom: 30px;
}

.generator-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.preview-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 20px;
    height: fit-content;
}

.preview-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.live-preview-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #ecf0f1;
    transition: all 0.3s ease;
}

.preview-header h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.2em;
    word-wrap: break-word;
}

.preview-header p {
    color: #7f8c8d;
    margin-bottom: 15px;
}

.preview-body {
    margin-bottom: 15px;
}

.preview-body p {
    margin-bottom: 8px;
    font-size: 0.9em;
}

.preview-languages {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.preview-lyrics {
    border-top: 1px solid #ecf0f1;
    padding-top: 15px;
}

.lyrics-preview {
    background: white;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9em;
    line-height: 1.6;
    max-height: 200px;
    overflow-y: auto;
    white-space: pre-line;
    color: #2c3e50;
    border: 1px solid #ecf0f1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #3498db;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn {
    background: #3498db;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: #95a5a6;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

/* Back Button */
.back-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #95a5a6;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

/* Pagination */
.pagination-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
}

.pagination-info {
    margin-bottom: 20px;
}

.pagination-info p {
    color: #2c3e50;
    font-size: 1.1em;
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 10px 15px;
    background: #ecf0f1;
    border: 2px solid #bdc3c7;
    border-radius: 8px;
    color: #2c3e50;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 40px;
    font-size: 0.95em;
}

.pagination-btn:hover {
    background: #bdc3c7;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pagination-btn.active {
    background: #3498db;
    border-color: #2980b9;
    color: white;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.pagination-btn:disabled {
    background: #ecf0f1;
    color: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pagination-dots {
    padding: 0 8px;
    color: #7f8c8d;
    font-weight: bold;
    font-size: 1.2em;
}

/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    font-size: 0.9em;
    color: #7f8c8d;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin: 0 10px;
    color: #bdc3c7;
    font-weight: bold;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Social Sharing */
.social-sharing {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.social-sharing h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    color: white;
    min-width: 120px;
    justify-content: center;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn.facebook:hover {
    background: #166fe5;
}

.social-btn.twitter {
    background: #1da1f2;
}

.social-btn.twitter:hover {
    background: #0c85d0;
}

.social-btn.whatsapp {
    background: #25d366;
}

.social-btn.whatsapp:hover {
    background: #22c55e;
}

.social-btn.email {
    background: #ea4335;
}

.social-btn.email:hover {
    background: #dd3428;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    color: #7f8c8d;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    .naat-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 200px;
    }
    
    .lyrics {
        font-size: 1.1em;
    }
    
    .info-table {
        font-size: 0.9em;
    }
    
    .info-table th,
    .info-table td {
        padding: 10px;
    }
    
    /* Generator responsive */
    .generator-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .preview-section {
        position: static;
        order: -1;
    }
    
    .preview-section h2 {
        font-size: 1.2em;
    }
    
    .lyrics-preview {
        max-height: 150px;
    }
    
    /* Pagination responsive */
    .pagination-container {
        padding: 15px;
        margin: 20px 0;
    }
    
    .pagination-info p {
        font-size: 1em;
    }
    
    .pagination-controls {
        gap: 5px;
    }
    
    .pagination-btn {
        padding: 8px 12px;
        min-width: 35px;
        font-size: 0.9em;
    }
    
    .pagination-dots {
        padding: 0 5px;
        font-size: 1em;
    }
    
    /* Mobile header improvements */
    .header-top {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-top h1 {
        font-size: 1.8em;
        margin: 0;
    }
    
    .dark-mode-toggle {
        width: 45px;
        height: 45px;
        font-size: 1.3em;
        align-self: center;
    }
    
    /* Mobile card improvements */
    .naat-card {
        min-height: auto;
        padding: 15px;
    }
    
    .card-footer {
        flex-direction: column;
        gap: 8px;
    }
    
    .read-btn, .share-btn {
        width: 100%;
        padding: 12px 15px;
    }
    
    /* Mobile navigation */
    .nav-link {
        padding: 10px 16px;
        margin: 5px;
        font-size: 0.9em;
    }
    
    /* Mobile filters */
    .search-container {
        margin-bottom: 20px;
    }
    
    .filter-controls {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
    
    .filter-select {
        width: 100%;
        min-width: auto;
        padding: 12px 15px;
        font-size: 1em;
    }
    
    .category-row, .languages-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .card-meta {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

/* Dark mode specific improvements */
body.dark-mode footer {
    background: var(--bg-card);
    color: var(--text-secondary);
}

body.dark-mode .search-box {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-color);
}

body.dark-mode .search-box::placeholder {
    color: var(--text-secondary);
}

body.dark-mode .search-box:focus {
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.2);
}

/* Loading states */
.naat-card.loading {
    opacity: 0.7;
    transform: scale(0.98);
    pointer-events: none;
}

.naat-card.lazy-load {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.naat-card.lazy-load.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced focus styles for accessibility */
.dark-mode-toggle:focus,
.nav-link:focus,
.read-btn:focus,
.share-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Categories Page Styles */
.categories-intro, .artists-intro {
    text-align: center;
    margin-bottom: 40px;
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.categories-intro h2, .artists-intro h2 {
    color: var(--text-primary);
    font-size: 2em;
    margin-bottom: 15px;
}

.categories-intro p, .artists-intro p {
    color: var(--text-secondary);
    font-size: 1.1em;
}

.categories-grid, .artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* Category Card Styles */
.category-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--category-color, var(--accent-color));
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.category-icon {
    font-size: 2.5em;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.category-name {
    flex: 1;
    color: var(--text-primary);
    font-size: 1.5em;
    font-weight: 700;
    margin: 0;
}

.category-count {
    background: var(--category-color, var(--accent-color));
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9em;
    white-space: nowrap;
}

.category-body {
    margin-bottom: 20px;
}

.category-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.category-preview h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1em;
    font-weight: 600;
}

.preview-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.preview-list li {
    margin-bottom: 8px;
}

.preview-list a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.preview-list a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.category-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.explore-btn {
    width: 100%;
    background: var(--category-color, var(--accent-color));
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.explore-btn .arrow {
    transition: transform 0.3s ease;
}

.explore-btn:hover .arrow {
    transform: translateX(5px);
}

/* Artist Card Styles */
.artist-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--border-color);
    text-align: center;
}

.artist-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.artist-header {
    margin-bottom: 20px;
}

.artist-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-name {
    color: var(--text-primary);
    font-size: 1.4em;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.artist-count {
    background: var(--accent-color);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9em;
    display: inline-block;
}

.artist-body {
    text-align: left;
    margin-bottom: 20px;
}

.artist-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95em;
    font-style: italic;
}

.artist-categories {
    margin-bottom: 20px;
}

.artist-categories strong {
    color: var(--text-primary);
    font-size: 0.9em;
}

.category-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.category-tag {
    background: var(--accent-color);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
}

.popular-naats h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1em;
    font-weight: 600;
}

.popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-list li {
    margin-bottom: 8px;
}

.popular-list a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.popular-list a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.artist-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
}

.explore-artist-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-color), #2980b9);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.explore-artist-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.explore-artist-btn .arrow {
    transition: transform 0.3s ease;
}

.explore-artist-btn:hover .arrow {
    transform: translateX(5px);
}

/* About Page Styles */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content section {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-light);
}

.about-content h2 {
    color: var(--text-primary);
    font-size: 1.8em;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 10px;
}

.about-content h3 {
    color: var(--text-primary);
    font-size: 1.3em;
    margin-bottom: 15px;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.naat-features, .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.feature-item, .feature-card {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(155, 89, 182, 0.1));
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item:hover, .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
    border-color: var(--accent-color);
}

.feature-item h3, .feature-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-item p, .feature-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.95em;
}

.languages-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.languages-list li {
    background: var(--accent-color);
    color: white;
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-weight: 500;
}

.contribution-steps {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(26, 188, 156, 0.1));
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.contribution-steps li {
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.faq-item {
    background: rgba(52, 152, 219, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: translateX(5px);
}

.faq-item h3 {
    color: var(--text-primary);
    font-size: 1.1em;
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}
