/*
Theme Name: MP3Jio Premium Light Theme
Theme URI: https://mp3jio.in/
Author: Kishan Kumar
Author URI: https://mp3jio.in/
Description: Ultra-fast 320kbps MP3 Ringtones WordPress Theme (Pure Light Theme v1.5.0)
Version: 1.5.0
License: GNU General Public License v2 or later
Text Domain: mp3jio
*/

:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --brand-primary: #059669;
    --brand-hover: #047857;
    --brand-light: #ecfdf5;
    --border-color: #e2e8f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f8fafc !important;
    color: #0f172a !important;
    line-height: 1.6;
}

a {
    color: #059669;
    text-decoration: none;
}

a:hover {
    color: #047857;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Site Header */
.site-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.site-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a !important;
    text-decoration: none;
}

.site-logo span {
    color: #059669 !important;
}

.site-nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

.site-nav a {
    color: #334155 !important;
    font-weight: 600;
    font-size: 0.95rem;
}

.site-nav a:hover {
    color: #059669 !important;
}

.search-form-header {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 50px;
    padding: 4px 12px;
    border: 1px solid #cbd5e1;
}

.search-form-header input {
    border: none;
    background: transparent;
    padding: 8px;
    outline: none;
    color: #0f172a;
    font-size: 0.9rem;
}

.search-form-header button {
    background: #059669;
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
}

/* Category Pills Navigation */
.hero-banner {
    background: #ffffff !important;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.hero-banner h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a !important;
    margin-bottom: 8px;
}

.hero-banner p {
    color: #64748b !important;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.cat-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;

}

.cat-pill {
    background: #f1f5f9 !important;
    color: #334155 !important;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    transition: all 0.2s ease;
}

.cat-pill:hover, .cat-pill.active {
    background: #059669 !important;
    color: #ffffff !important;
    border-color: #059669 !important;
}

/* Main Grid Layout */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    margin: 24px 0;
}

@media (max-width: 868px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}

.tracks-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.track-card {
    background: #ffffff !important;
    border-radius: 14px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.track-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    border-color: #059669;
}

.track-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-grow: 1;
}

.track-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    background: #ecfdf5;
}

.track-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.track-details h3 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

.track-details h3 a {
    color: #0f172a !important;
    text-decoration: none;
}

.track-details h3 a:hover {
    color: #059669 !important;
}

.track-details .track-meta {
    display: flex;
    gap: 12px;
    font-size: 0.82rem;
    color: #64748b !important;
    margin-top: 6px;
}

.track-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.play-btn-mini {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.play-btn-mini:hover {
    background: #059669;
    color: #ffffff;
    transform: scale(1.08);
}

.btn-download {
    background: #059669;
    color: #ffffff !important;
    padding: 9px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.88rem;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

.btn-download:hover {
    background: #047857;
    transform: translateY(-1px);
}

/* Premium Pagination Styles */
.pagination {
    margin-top: 32px;
    margin-bottom: 24px;
    text-align: center;
}

.navigation.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.navigation.pagination .page-numbers:hover {
    background: #ecfdf5 !important;
    border-color: #059669 !important;
    color: #059669 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.navigation.pagination .page-numbers.current {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    border-color: #059669 !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.navigation.pagination .next.page-numbers,
.navigation.pagination .prev.page-numbers {
    padding: 0 20px;
    border-radius: 50px;
}

/* Single Post Player Box */
.player-box {
    background: #ffffff !important;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.player-box h1 {
    color: #0f172a !important;
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.download-large-btn {
    display: inline-block;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff !important;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.download-large-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.4);
}

/* Rich Colorful Content Components (Vertrai Style) */
.rich-hero-card {
    background: linear-gradient(135deg, #059669 0%, #0d9488 100%) !important;
    color: #ffffff !important;
    padding: 32px 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.2);
}

.rich-hero-card h2 {
    font-size: 1.6rem;
    color: #ffffff !important;
    margin-bottom: 10px;
}

.rich-hero-card p {
    font-size: 1rem;
    color: #ffffff !important;
    opacity: 0.95;
}

.rich-intro-box {
    background: #ecfdf5 !important;
    border-left: 6px solid #059669 !important;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 28px;
    color: #065f46 !important;
    font-size: 1.05rem;
    line-height: 1.7;
}

.rich-quote-box {
    background: #f0fdf4 !important;
    border: 2px dashed #a7f3d0 !important;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    font-size: 1.15rem;
    font-style: italic;
    color: #047857 !important;
    margin: 28px 0;
}

.rich-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.rich-card-item {
    background: #ffffff !important;
    border: 2px solid #a7f3d0 !important;
    padding: 20px;
    border-radius: 14px;
    transition: transform 0.2s, border-color 0.2s;
}

.rich-card-item:hover {
    transform: translateY(-4px);
    border-color: #059669 !important;
}

.rich-card-item h4 {
    color: #065f46 !important;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.rich-card-item p {
    color: #475569 !important;
    font-size: 0.95rem;
}

.rich-steps-list {
    margin: 28px 0;
}

.rich-step-item {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.rich-step-item .step-badge {
    width: 42px;
    height: 42px;
    background: #059669 !important;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rich-step-item .step-content {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    padding: 14px 20px;
    border-radius: 12px;
    flex-grow: 1;
    color: #0f172a !important;
}

/* Article Content & Table */
.article-content {
    background: #ffffff !important;
    border-radius: 16px;
    padding: 32px;
    margin-top: 24px;
    border: 1px solid #e2e8f0;
}

.article-content h2 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: #0f172a !important;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    border-radius: 12px;
    overflow: hidden;
}

.details-table td, .details-table th {
    padding: 14px 18px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

.details-table th {
    background: #059669 !important;
    color: #ffffff !important;
    font-weight: 700;
}

.details-table tr:nth-child(even) {
    background-color: #f8fafc !important;
}

.details-table td:first-child {
    font-weight: 600;
    color: #475569 !important;
    width: 40%;
}

.details-table td:last-child {
    color: #0f172a !important;
    font-weight: 700;
}

/* Sidebar */
.sidebar-box {
    background: #ffffff !important;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.sidebar-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    border-bottom: 2px solid #059669;
    padding-bottom: 8px;
    color: #0f172a !important;
}

.sidebar-box ul li {
    margin-bottom: 8px;
}

.sidebar-box ul li a {
    color: #0f172a !important;
    text-decoration: none;
    font-weight: 500;
}

.sidebar-box ul li a:hover {
    color: #059669 !important;
}

/* Footer */
.site-footer {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0;
    padding: 32px 0;
    margin-top: 40px;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #475569 !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-nav a:hover {
    color: #059669 !important;
}

.copyright {
    color: #94a3b8 !important;
    font-size: 0.85rem;
}
