/* Maha Vir Chakra Explorer — Custom Styles */

:root {
    --mvc-gold: #d4af37;
    --mvc-orange: #ea580c;
    --mvc-silver: #cbd5e1;
}

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

.mvc-hero {
    padding: 6rem 1.5rem 3rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(234, 88, 12, 0.25) 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(--mvc-gold);
}

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

.mvc-hero h1 span {
    color: var(--mvc-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(--mvc-gold);
    display: block;
}

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

.mvc-info-section, .mvc-design-section, .mvc-process-section, .heroes-section, .timeline-section, .facts-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(--mvc-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;
}

.design-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    padding: 1.75rem;
    border-radius: 14px;
}

.design-detail h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--mvc-gold);
}

.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(--mvc-gold);
}

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

.ops-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.op-card {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.op-card h4 {
    font-size: 1.05rem;
    color: var(--mvc-gold);
    margin-bottom: 0.3rem;
}

.op-card p {
    font-size: 0.875rem;
    opacity: 0.85;
    margin-bottom: 0.4rem;
}

.op-hero {
    font-size: 0.8rem;
    color: #e2e8f0;
}

.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;
}

.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(--mvc-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(--mvc-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(--mvc-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(--mvc-gold);
}

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

.timeline-desc {
    font-size: 0.85rem;
    opacity: 0.85;
}

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

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

.fact-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: var(--mvc-gold);
}

.fact-card p {
    font-size: 0.875rem;
    line-height: 1.5;
    opacity: 0.9;
}

.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 */
[data-theme="light"] .mvc-main {
    background: #f8fafc;
    color: #1e293b;
}

[data-theme="light"] .mvc-hero {
    background: linear-gradient(180deg, #ffedd5 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;
}
