/* Param Vir Chakra Explorer — Dedicated Styles */

:root {
    --pvc-gold: #d4af37;
    --pvc-purple: #4a154b;
    --pvc-red: #8b0000;
}

.pvc-main {
    background: var(--bg-dark, #0d1117);
    color: var(--text-light, #f0f6fc);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
}

.pvc-hero {
    padding: 6rem 1.5rem 3rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(74, 21, 75, 0.4) 0%, rgba(13, 17, 23, 1) 100%);
}

.hero-badges-row {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.hero-pill {
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--pvc-gold);
}

.pvc-hero h1 {
    font-size: 2.75rem;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    margin-bottom: 1rem;
}

.pvc-hero h1 span {
    color: var(--pvc-gold);
}

.hero-subtitle {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    padding: 1.25rem;
    text-align: center;
    border-radius: 12px;
}

.stat-icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.3rem;
}

.stat-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--pvc-gold);
    display: block;
}

.stat-label {
    font-size: 0.825rem;
    opacity: 0.8;
}

.pvc-info-section, .pvc-process-section, .battles-section, .heroes-section, .timeline-section {
    padding: 3rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.75rem;
    text-align: center;
    color: var(--pvc-gold);
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1.75rem;
    line-height: 1.7;
}

.info-card p {
    margin-bottom: 1rem;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.process-box {
    padding: 1.75rem;
    border-radius: 14px;
}

.process-box h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--pvc-gold);
}

.process-list li, .process-steps li {
    margin-bottom: 0.85rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.battles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.battle-card {
    padding: 1.5rem;
    border-radius: 12px;
}

.battle-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pvc-gold);
    font-weight: 700;

}

.battle-card h3 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.battle-hero {
    font-size: 0.9rem;
    color: #e2e8f0;
}

.battle-desc {
    font-size: 0.875rem;
    opacity: 0.85;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.search-filter-box {
    padding: 1.25rem;
    border-radius: 14px;
    margin-bottom: 2rem;
}

#hero-search {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.filter-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 0.45rem 0.9rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #e2e8f0;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.filter-pill.active, .filter-pill:hover {
    background: var(--pvc-gold);
    color: #000;
    font-weight: 600;
    border-color: var(--pvc-gold);
}

.heroes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.hero-card {
    padding: 1.5rem;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.hero-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-weight: 600;
}

.badge-posthumous {
    background: rgba(139, 0, 0, 0.3);
    color: #ff8888;
    border: 1px solid rgba(255, 100, 100, 0.3);
}

.badge-living {
    background: rgba(46, 139, 87, 0.3);
    color: #90ee90;
    border: 1px solid rgba(144, 238, 144, 0.3);
}

.hero-year {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--pvc-gold);
}

.hero-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.hero-rank-regiment {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.hero-conflict {
    font-size: 0.825rem;
    color: var(--pvc-gold);
    margin-bottom: 0.75rem;
}

.hero-citation {
    font-size: 0.875rem;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 0.85rem;
}

.hero-quote {
    font-style: italic;
    font-size: 0.825rem;
    padding: 0.6rem;
    border-left: 3px solid var(--pvc-gold);
    background: rgba(212, 175, 55, 0.08);
    border-radius: 0 6px 6px 0;
    margin-top: auto;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.timeline-card {
    padding: 1.25rem;
    border-radius: 12px;
}

.timeline-year {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--pvc-gold);
}

.timeline-card h3 {
    font-size: 1.1rem;
    margin: 0.4rem 0;
}

.timeline-count {
    font-size: 0.875rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Light Theme Overrides */
[data-theme="light"] .pvc-main {
    background: #f8fafc;
    color: #1e293b;
}

[data-theme="light"] .pvc-hero {
    background: linear-gradient(180deg, #ede9fe 0%, #f8fafc 100%);
}

[data-theme="light"] .glass-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] #hero-search {
    background: #ffffff;
    color: #1e293b;
    border-color: #cbd5e1;
}

[data-theme="light"] .filter-pill {
    color: #334155;
    border-color: #cbd5e1;
}

[data-theme="light"] .battle-hero {
    color: #334155;
}
