@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
    --primary-color: #0d3b66;
    --secondary-color: #f4d35e;
    --accent-color: #0a84ff;
    --text-main: #2b2d42;
    --text-muted: #6c757d;
    --bg-main: #f4f6f9;
    --bg-card: #ffffff;
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 10px 25px rgba(0,0,0,0.12);
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-color);
}

a { transition: var(--transition); }

.top-header {
    background-color: var(--bg-card);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.main-navbar {
    background: linear-gradient(135deg, var(--primary-color), #144f8a);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.main-navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 1rem 1.5rem !important;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.main-navbar .nav-item { position: relative; }

.main-navbar .nav-link:hover, .main-navbar .nav-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.main-navbar .nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.main-navbar .nav-link:hover::after, .main-navbar .nav-link.active::after {
    width: 100%;
}

.content-wrapper {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.hero-slider {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 2.5rem;
}
.carousel-inner img {
    height: 450px;
    object-fit: cover;
}

.premium-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.premium-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.premium-card-header {
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    color: var(--primary-color);
    padding: 1.25rem;
    border-bottom: 2px solid var(--border-color);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-card-body { padding: 0.25rem; }

.ticker-wrap {
    height: 250px;
    overflow: hidden;
    position: relative;
    padding: 0 10px;
}
.ticker-move {
    animation: ticker 25s linear infinite;
}
.ticker-wrap:hover .ticker-move {
    animation-play-state: paused;
}
@keyframes ticker {
    0%   { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}

.news-item {
    padding: 1rem 0.5rem;
    border-bottom: 1px dashed var(--border-color);
}
.news-item:last-child { border-bottom: none; }
.news-item a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    display: block;
    line-height: 1.5;
    transition: var(--transition);
}
.news-item a:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.date-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem 0.5rem;
    border-bottom: 1px dashed var(--border-color);
}
.date-item:last-child { border-bottom: none; }
.date-icon {
    background-color: rgba(13, 59, 102, 0.1);
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}
.date-content .title {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
    line-height: 1.4;
}
.date-content .value {
    color: #e63946;
    font-weight: 700;
    font-size: 1.05rem;
}

.sponsor-logo {
    max-height: 55px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: var(--transition);
    margin: 15px;
    cursor: pointer;
}
.sponsor-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.site-footer {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 3rem 0;
    margin-top: 4rem;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.1);
}
.footer-text { opacity: 0.8; font-size: 0.9rem; line-height: 1.6; }
.countdown-box {
    background: rgba(0,0,0,0.2);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.1);
    display: inline-block;
}
.countdown-numbers {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}

.section-title {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 25px;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}
.lead-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

/* Custom Scrollbar for Sidebar */
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: var(--bg-main); border-radius: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    .content-wrapper { padding: 1.5rem; margin-bottom: 1.5rem; }
    .hero-slider, .hero-slider img, .carousel-inner img { height: 250px !important; }
    .top-header { text-align: center; }
    .site-title { font-size: 1.4rem; }
    .top-header .d-flex { flex-direction: column; justify-content: center; width: 100%; }
    .top-header img { margin-right: 0 !important; margin-bottom: 15px !important; }
    .top-header .ms-auto { margin-top: 1rem !important; margin-left: auto !important; margin-right: auto !important; text-align: center; }
    .main-navbar .nav-link { padding: 0.8rem 1rem !important; }
    .carousel-caption { padding: 1rem !important; margin: 0 1rem; bottom: 1rem !important; }
    .carousel-caption h4 { font-size: 1.1rem; }
    .countdown-box { width: 100%; text-align: center; }
    .footer-text { margin-bottom: 2rem; }
    
    .date-item { flex-direction: column; text-align: center; align-items: center !important; }
    .date-icon { margin-right: 0 !important; margin-bottom: 15px !important; }
}
