:root {
  --primary-color: #0D47A1;
  --secondary-color: #00695C;
  --accent-color: #FF6F00;
  --success-color: #2E7D32;
  --bg-color: #F5F7FA;
  --text-main: #2C3E50;
  --text-muted: #7F8C8D;
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

.font-en { font-family: 'Inter', sans-serif; }
.font-bn { font-family: 'Noto Sans Bengali', sans-serif; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Utilities */
.text-center { text-align: center; }
.text-accent { color: var(--accent-color); }
.text-success { color: var(--success-color); }
.text-muted { color: var(--text-muted); }
.my-4 { margin: 1.5rem 0; }
.my-5 { margin: 3rem 0; }
.mb-4 { margin-bottom: 1.5rem; }
.d-flex { display: flex; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }

/* Grid */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.col-md-6 {
  width: 50%;
  padding: 0 15px;
}
@media(max-width: 768px) {
  .col-md-6 { width: 100%; }
}

/* Buttons & Badges */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}
.btn-outline-primary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}
.btn-outline-primary:hover {
  background: var(--primary-color);
  color: var(--white);
}
.btn-lang {
  background: rgba(13, 71, 161, 0.1);
  color: var(--primary-color);
}
.badge {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.badge-warning { background: rgba(255, 111, 0, 0.1); color: var(--accent-color); }
.badge-success { background: rgba(46, 125, 50, 0.1); color: var(--success-color); }

/* Header */
.main-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}
.mobile-menu-btn { display: none; }

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.glass-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-title { font-size: 3rem; margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.2rem; opacity: 0.9; margin-bottom: 2rem; }
.search-box {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 30px;
  padding: 5px;
  box-shadow: var(--shadow-md);
}
.search-box input {
  flex: 1;
  border: none;
  padding: 15px 20px;
  border-radius: 30px;
  outline: none;
  font-family: inherit;
  font-size: 1rem;
}
.btn-search {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1rem;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.card-body { padding: 1.5rem; }
.card-title { font-size: 1.2rem; margin-bottom: 0.5rem; }

/* Glassmorphism Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

/* Countdown Timer */
.countdown-timer {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--accent-color);
  background: rgba(255, 111, 0, 0.05);
  padding: 10px;
  border-radius: 8px;
  display: inline-block;
}

/* Footer */
.main-footer {
  background: #1a252f;
  color: #fff;
  padding: 60px 0 20px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-links ul li, .footer-legal ul li { margin-bottom: 10px; }
.footer-links a, .footer-legal a { color: #aaa; transition: color 0.3s; }
.footer-links a:hover, .footer-legal a:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}
.disclaimer { margin-top: 5px; font-size: 0.85rem; }

/* Ads */
.ad-placeholder {
  background: #f0f0f0;
  color: #999;
  font-weight: bold;
  border-radius: 8px;
}
.in-feed-ad {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}
