:root {
    --primary: #d32f2f;
    --secondary: #212121;
    --accent: #ffc107;
    --text-main: #333;
    --text-muted: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

html { -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; overscroll-behavior-y: contain; }
body {
    font-family: 'Outfit', 'Noto Sans Marathi', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}
* { box-sizing: border-box; }

.top-bar {
    background: var(--secondary);
    color: var(--white);
    font-size: 0.8rem;
    height: 36px;
    display: flex;
    align-items: center;
}
.top-bar-content {
    display: flex;
    align-items: center;
    gap: 16px;
}
.top-date {
    flex-shrink: 0;
    color: #94a3b8;
    font-size: 0.75rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--white);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}
.logo h1 {
    margin: 0;
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}
.logo img { display: block; }

nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}
nav ul li a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
nav ul li a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--secondary);
    font-size: 1.5rem;
    line-height: 1;
}
.nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s;
}
.nav-overlay.open { display: block; opacity: 1; }
.nav-drawer {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 280px;
    background: var(--white);
    z-index: 2001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding: 20px;
    box-shadow: 2px 0 12px rgba(0,0,0,0.15);
    overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer .drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
}
.nav-drawer .drawer-logo { font-size: 1.2rem; font-weight: 800; color: var(--primary); text-decoration: none; }
.nav-drawer .drawer-close {
    background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); padding: 4px;
}
.nav-drawer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-drawer ul li a {
    display: block;
    padding: 14px 0;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 1px solid #f1f1f1;
}
.nav-drawer ul li a:hover { color: var(--primary); }
.search-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}
.search-bar {
    background: var(--white);
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.search-bar-form {
    display: flex;
    gap: 8px;
}
.search-bar-form input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
}
.search-bar-form input:focus { border-color: var(--primary); }
.search-bar-form button {
    padding: 10px 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}
.search-bar-form button:hover { background: #b71c1c; }
.search-close {
    background: none!important;
    color: var(--text-muted)!important;
    font-size: 1.2rem;
    padding: 10px 12px!important;
}
.search-close:hover { color: var(--secondary)!important; background:none!important; }

.ticker-bar {
    background: #f1f5f9;
    border-bottom: 1px solid #e5e7eb;
    height: 40px;
    display: flex;
    align-items: center;
}
.ticker-bar:hover { background: #e8edf3; }
.ticker-bar-content {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}
.ticker-label {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    padding: 0 14px;
    height: 28px;
    line-height: 28px;
    flex-shrink: 0;
    letter-spacing: 1px;
    border-radius: 3px;
}
.ticker-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-width: 0;
}
.ticker-track::before,
.ticker-track::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    z-index: 1;
    pointer-events: none;
}
.ticker-track::before { left: 0; background: linear-gradient(90deg, #f1f5f9, transparent); }
.ticker-track::after { right: 0; background: linear-gradient(-90deg, #f1f5f9, transparent); }
.ticker-list {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 60px;
    -webkit-animation: ticker-scroll linear infinite;
    animation: ticker-scroll linear infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    white-space: nowrap;
    width: max-content;
    will-change: transform;
    min-width: max-content;
    transform: translate3d(0, 0, 0);
}
.ticker-item {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 40px;
    transition: color 0.2s;
    flex: 0 0 auto;
}
.ticker-item:hover { color: var(--primary); }

@-webkit-keyframes ticker-scroll {
    0% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
    100% { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}
@keyframes ticker-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.promo-box {
    margin: 20px auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.promo-box img {
    max-width: 100%;
    height: auto;
    display: block;
}
.spot-slider .spot-slide img { width:100%; }
.promo-sticky-bottom {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    z-index: 9999;
    padding: 8px;
    text-align: center;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

main {
    padding: 30px 0;
}

footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 50px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

@media (max-width: 768px) {
    .container { padding: 0 12px; }
    .header-inner {
        height: auto;
        padding: 10px 0;
        flex-wrap: nowrap;
        justify-content: center;
        position: relative;
    }
    .logo {
        flex: 1;
        display: flex;
        justify-content: center;
        min-width: 0;
    }
    .logo a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .logo img { height: 38px!important; }
    .nav-toggle {
        display: block;
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
    }
    .search-toggle {
        display: block;
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
        font-size: 1.2rem;
        line-height: 1;
        color: var(--secondary);
    }
    #mainNav { display: none; }
    .top-bar { height: 32px; font-size: 0.72rem; }
    .ticker-item { font-size: 0.78rem; }
    .ticker-label { font-size: 0.65rem; height: 24px; line-height: 24px; padding: 0 10px; }
    .ticker-track::before,
    .ticker-track::after { width: 15px; }
    .ticker-list {
        gap: 40px;
        -webkit-animation: ticker-scroll linear infinite;
        animation: ticker-scroll linear infinite;
    }
    main { padding: 16px 0; }
    .promo-sticky-bottom { display: block; }
    footer { margin-bottom: 70px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    @supports (padding: env(safe-area-inset-bottom)) {
        footer { margin-bottom: calc(70px + env(safe-area-inset-bottom)); }
    }
}

@media (max-width: 480px) {
    .article-content { font-size: 1rem!important; }
}

#scrollToTop {
    position: fixed; bottom: 80px; right: 16px; z-index: 999;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--primary, #c00); color: #fff; border: none;
    cursor: pointer; display: none; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25); opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}
#scrollToTop.show { opacity: 1; display: flex; }
#scrollToTop:hover { transform: scale(1.08); }
@media (max-width:768px) { #scrollToTop { bottom: 70px; right: 12px; width: 38px; height: 38px; } }
