/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #27AE60;
    --secondary-color: #8B4513;
    --accent-color: #E74C3C;
    --dark-bg: #8B4513;
    --light-bg: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --success-color: #27AE60;
    --gradient-primary: linear-gradient(135deg, #27AE60 0%, #229954 100%);
    --gradient-secondary: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    --nav-bg: #F5F5F5;
    --banner-red: #E74C3C;
    --star-yellow: #FFD700;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #F5F5F5;
}

/* Header and Navigation */
header {
    background-color: var(--banner-red);
    color: var(--text-light);
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Ensure links and inner elements inherit header text color for contrast */
header a,
header .logo,
header .logo span,
header .nav-links a,
header .telegram-icon {
    color: inherit;
}

/* Make sure any container inside header stays transparent */
header .container {
    background: transparent;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo span {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.telegram-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #0088cc 0%, #005580 100%);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0,136,204,0.3);
}

.telegram-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,136,204,0.5);
}

.telegram-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Secondary Navigation Bar */
.secondary-nav {
    background: var(--nav-bg);
    padding: 0.75rem 0;
    border-bottom: 1px solid #E0E0E0;
}

.secondary-nav .nav-links {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.secondary-nav .nav-links a {
    color: var(--text-dark);
}

.secondary-nav .nav-links a:hover {
    color: var(--primary-color);
}

.secondary-nav .nav-links a.active {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: white;
    color: var(--text-dark);
    padding: 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid #E0E0E0;
}

/* Promotional Banner */
.promo-banner {
    background: var(--banner-red);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 0;
}

.promo-banner::before {
    content: '▼';
    margin-right: 0.5rem;
}

.promo-banner::after {
    content: '▼';
    margin-left: 0.5rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    background: #229954;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: white;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* App Grid */
.apps-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.featured-apps-grid {
    grid-template-columns: 1fr !important;
    max-width: 900px;
    margin: 0 auto 2rem;
}

@media (max-width: 768px) {
    .featured-apps-grid {
        grid-template-columns: 1fr;
    }
}

.app-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
}

.app-card .app-meta {
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.app-card .rating {
    font-size: 1rem;
    letter-spacing: 2px;
}

.verified-badge {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.app-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.app-card > div:not(.app-icon) {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-icon {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 16px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.app-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.app-icon img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: contain;
}

.app-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.app-short-desc {
    color: #666;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    display: block;
    line-height: 1.4;
}

.app-meta {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #888;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.rating {
    color: var(--star-yellow);
    font-weight: bold;
}

.bonus-badge {
    background: transparent;
    color: var(--accent-color);
    padding: 0.4rem 0;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.bonus-badge strong,
.bonus-badge {
    color: var(--accent-color);
}

.download-btn {
    display: inline-block;
    width: auto;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s;
    margin-top: auto;
}

.download-btn:hover {
    background: #229954;
}

/* App Detail Page */
.app-detail {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.app-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.app-icon-large {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.app-icon-large img {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: contain;
}

.app-info {
    flex: 1;
}

.app-stats {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.85rem;
    color: #888;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-dark);
}

.app-description {
    margin: 2rem 0;
    line-height: 1.8;
    color: #555;
}

.features-list {
    list-style: none;
    margin: 1.5rem 0;
}

.features-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #229954;
}

/* Admin Styles */
.admin-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.admin-header {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-table {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background: var(--dark-bg);
    color: white;
    font-weight: 600;
}

.admin-table tr:hover {
    background: #f8f9fa;
}

.btn-small {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    margin: 0 0.2rem;
    text-decoration: none;
    display: inline-block;
}

.btn-edit {
    background: #3498db;
    color: white;
}

.btn-delete {
    background: #e74c3c;
    color: white;
}

.login-container {
    max-width: 400px;
    margin: 5rem auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop: Completely remove hamburger menu from layout */
@media (min-width: 769px) {
    .nav-toggle {
        display: none !important;
        position: absolute !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Ensure nav-links stay on the right in desktop */
.nav-links {
    margin-left: auto;
    margin-right: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        margin-left: 0;
        margin-right: 0;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .app-header {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        margin: 0 auto;
        background: var(--light-bg);
        color: var(--text-dark);
        width: calc(100% - 2rem);
        max-width: 420px;
        flex-direction: column;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
        border-radius: 12px;
        box-shadow: 0 14px 40px rgba(0,0,0,0.12);
        z-index: 1200;

        /* animation: use transform + opacity for smoothness */
        transform-origin: top right;
        transform: translateY(-8px) scale(0.985);
        opacity: 0;
        visibility: hidden;
        transition: transform 260ms cubic-bezier(.2,.8,.2,1), opacity 200ms ease, visibility 0ms linear 200ms;
        pointer-events: none;
    }

    /* When menu open, animate into place */
    nav.menu-open .nav-links {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0ms;
    }

    .nav-links li {
        padding: 0.4rem 0;
    }

    .nav-links a {
        color: var(--text-dark);
        display: block;
        width: 100%;
    }

    .nav-toggle {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 44px !important;
        height: 44px !important;
        padding: 6px !important;
        margin: 0 !important;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.3);
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1300;
        color: var(--text-light);
        overflow: visible !important;
        cursor: pointer;
        pointer-events: auto !important;
        transition: background 0.3s, border-color 0.3s;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
        touch-action: manipulation;
    }
    
    .nav-toggle:hover {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
    }
    
    /* Position bars within the toggle button - bars are absolutely positioned relative to toggle */
    .nav-toggle .bar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 24px;
        height: 3px;
        background: var(--text-light);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    .nav-toggle .bar:nth-child(1) { 
        top: 13px; 
    }
    .nav-toggle .bar:nth-child(2) { 
        top: 20.5px; 
    }
    .nav-toggle .bar:nth-child(3) { 
        top: 28px; 
    }

    /* reduce heavy shadow/gradient on telegram icon in mobile menu */
    .nav-links .telegram-icon {
        box-shadow: none;
        background: #0088cc;
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    nav {
        padding-right: 1rem;
    }
}

/* Toggle button open state animation */
.nav-toggle.open .bar:nth-child(1) { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; transform: translateX(-50%) scaleX(0); }
.nav-toggle.open .bar:nth-child(3) { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

.nav-toggle:focus {
    outline: 2px solid rgba(0,0,0,0.12);
    outline-offset: 2px;
}

/* Backdrop for mobile menu (inserted by JS) */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
    z-index: 1000;
}

nav.menu-open + .nav-backdrop,
.nav-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
}
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Footer match navbar color */
footer {
    background-color: var(--banner-red);
    color: var(--text-light);
}

footer a { color: inherit; }

footer .footer-content,
footer .footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

footer .footer-section h3,
footer .footer-section p,
footer .footer-section ul,
footer .footer-bottom p {
    color: var(--text-light);
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Blog Post Page Styles */
.post-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 0;
    text-align: center;
}

/* Let the inner container be transparent so the header gradient is visible */
.post-header .container {
    background: transparent;
}

.post-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    font-size: 1rem;
    opacity: 0.9;
}

.post-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.post-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.post-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
}

.recent-posts {
    background: #f8f9fa;
    padding: 3rem 0;
}

.recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.recent-post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.recent-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.recent-post-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-content {
    padding: 1rem;
}

.recent-post-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.recent-post-date {
    font-size: 0.9rem;
    color: #666;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.back-link:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

/* Blog Page Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.blog-card-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.read-more:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: background 0.3s, color 0.3s;
}

.pagination a:hover {
    background: var(--primary-color);
    color: white;
}

.pagination .active {
    background: var(--primary-color);
    color: white;
}
