/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #1a1a2e;
  background: #f5f6fa;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }

/* =====================
   LAYOUT
   ===================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.18s;
}

.btn-primary {
  background: #d32f2f;
  color: #fff;
}
.btn-primary:hover { background: #b71c1c; }

.btn-outline {
  border: 1.5px solid #d32f2f;
  color: #d32f2f;
  background: transparent;
}
.btn-outline:hover { background: #d32f2f; color: #fff; }

.btn-full { width: 100%; justify-content: center; padding: 11px; font-size: 14px; border-radius: 8px; }

/* =====================
   HEADER TOP
   ===================== */
.site-header { position: sticky; top: 0; z-index: 100; }

/* HEADER */
.main-header{
background:#d90429;
color:white;
text-align:center;
padding:30px 10px;
border-bottom:5px solid #000;
}

.main-header h1{
font-size:40px;
letter-spacing:2px;
}

.main-header p{
margin-top:5px;
font-size:18px;
}
.main-header h1{
    font-size: clamp(22px, 5vw, 40px);
}

.main-header p{
    font-size: clamp(14px, 3vw, 18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon { font-size: 32px; line-height: 1; }

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: #d32f2f;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.brand-domain {
  font-size: 11px;
  color: #888;
  font-weight: 500;
}

.header-actions { display: flex; gap: 8px; align-items: center; }

/* =====================
   MAIN NAV
   ===================== */
.main-nav {
  background: #d32f2f;
  box-shadow: 0 2px 8px rgba(211,47,47,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
}

.nav-link {
  display: block;
  padding: 11px 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s;
}

.nav-link:hover, .nav-link.active { background: rgba(0,0,0,0.18); }

.nav-dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  min-width: 160px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  z-index: 200;
}

.dropdown-menu li a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  color: #333;
  transition: background 0.12s;
}

.dropdown-menu li a:hover { background: #f5f5f5; color: #d32f2f; }
.nav-dropdown:hover .dropdown-menu { display: block; }

.search-toggle {
  color: #fff;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  transition: background 0.15s;
}
.search-toggle:hover { background: rgba(0,0,0,0.18); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.2s;
}

/* =====================
   SEARCH BAR
   ===================== */
.search-bar-wrap {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 10px 0;
  display: none;
}
.search-bar-wrap.open { display: block; }

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #d32f2f;
  border-radius: 8px;
  padding: 8px 14px;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: #333;
}

.search-close {
  color: #888;
  font-size: 16px;
  padding: 2px 6px;
}
.search-close:hover { color: #d32f2f; }

/* =====================
   HERO / TICKER
   ===================== */
.hero {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 10px 0;
}

.hero-tagline {
  font-size: 13px;
  color: #444;
  text-align: center;
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-live {
  background: #d32f2f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 12px;
  padding: 2px 9px;
  letter-spacing: 0.4px;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  background: #fff8f8;
  border: 1px solid #fde0e0;
  border-radius: 6px;
  padding: 6px 12px;
}

.ticker-label {
  font-size: 12px;
  font-weight: 700;
  color: #d32f2f;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-track {
  overflow: hidden;
  flex: 1;
}

.ticker-track span {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  color: #333;
  animation: tickerScroll 45s linear infinite;
}

@keyframes tickerScroll {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* =====================
   QUICK LINKS
   ===================== */
.quick-links {
  background: #fff;
  padding: 14px 0;
  border-bottom: 1px solid #e8e8e8;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.quick-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 10px;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  transition: opacity 0.15s, transform 0.15s;
  gap: 2px;
}
.quick-card:hover { opacity: 0.88; transform: translateY(-1px); }

.qc-title { font-size: 13px; font-weight: 700; line-height: 1.3; }
.qc-sub   { font-size: 11.5px; font-weight: 500; opacity: 0.9; }

.quick-red    { background: #d32f2f; }
.quick-orange { background: #e65100; }
.quick-pink   { background: #c2185b; }
.quick-navy   { background: #1a237e; }
.quick-green  { background: #2e7d32; }
.quick-teal   { background: #00695c; }
.quick-blue   { background: #1565c0; }
.quick-purple { background: #6a1b9a; }

/* =====================
   MAIN CONTENT GRID
   ===================== */
.main-content { padding: 20px 0; }

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.content-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2px;
}

.card-header.red { background: #d32f2f; }

.item-list { flex: 1; }

.item-list li {
  border-bottom: 1px solid #f0f0f0;
}

.item-list li:last-child { border-bottom: none; }

.item-list li a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  padding: 7px 14px;
  font-size: 12.5px;
  color: #1565c0;
  line-height: 1.4;
  transition: background 0.12s;
}

.item-list li a:hover { background: #f5f9ff; color: #0d47a1; }

/* Tags */
.tag {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  border-radius: 3px;
  padding: 2px 6px;
  white-space: nowrap;
  line-height: 1.5;
  margin-top: 1px;
}
.tag-out  { background: #e8f5e9; color: #2e7d32; }
.tag-new  { background: #fff3e0; color: #e65100; }
.tag-soon { background: #e3f2fd; color: #1565c0; }

.card-footer {
  padding: 10px 14px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}

.view-more-btn {
  display: inline-block;
  padding: 6px 20px;
  background: #1565c0;
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.15s;
}
.view-more-btn:hover { background: #0d47a1; }

/* =====================
   QUICK TABLE
   ===================== */
.quick-table-section {
  background: #fff;
  padding: 20px 0;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 0;
}

.section-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
  text-align: center;
}

.quick-table {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.quick-table a {
  padding: 7px 16px;
  background: #f0f4ff;
  border: 1px solid #c5cae9;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: #3949ab;
  transition: all 0.15s;
}

.quick-table a:hover { background: #3949ab; color: #fff; border-color: #3949ab; }

/* =====================
   MODAL
   ===================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-backdrop.open { display: flex; }

.modal {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  padding: 28px;
  position: relative;
  animation: modalIn 0.22s ease;
}

@keyframes modalIn {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 18px;
  color: #888;
  padding: 4px 8px;
  border-radius: 4px;
}
.modal-close:hover { background: #f0f0f0; color: #333; }

.modal-tabs {
  display: flex;
  border-bottom: 2px solid #e8e8e8;
  margin-bottom: 22px;
  gap: 0;
}

.modal-tab {
  flex: 1;
  padding: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #888;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s;
}
.modal-tab.active { color: #d32f2f; border-bottom-color: #d32f2f; }
.modal-tab:hover { color: #d32f2f; }

.auth-form.hidden { display: none; }

.form-title {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.form-sub {
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #444;
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #ddd;
  border-radius: 7px;
  font-size: 13.5px;
  color: #333;
  outline: none;
  transition: border-color 0.15s;
}

.form-group input:focus { border-color: #d32f2f; }

.forgot-link {
  display: block;
  text-align: right;
  font-size: 12px;
  color: #1565c0;
  margin-bottom: 14px;
}
.forgot-link:hover { text-decoration: underline; }

.switch-text {
  text-align: center;
  font-size: 12.5px;
  color: #888;
  margin-top: 14px;
}

.link-btn {
  color: #d32f2f;
  font-weight: 700;
  font-size: 12.5px;
  text-decoration: underline;
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 28px 0 16px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-name {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.footer-brand-domain {
  font-size: 11px;
  color: #aaa;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: #bbb;
  transition: color 0.15s;
}
.footer-links a:hover { color: #fff; }

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.15s;
}
.social-btn:hover { opacity: 0.85; }

.social-btn.whatsapp { background: #25d366; color: #fff; }
.social-btn.telegram { background: #229ed9; color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 14px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #aaa;
  line-height: 1.7;
}

.footer-bottom strong { color: #fff; }

.footer-disclaimer {
  font-size: 11px !important;
  color: #777 !important;
  max-width: 700px;
  margin: 0 auto;
}

/* =====================
   TOAST
   ===================== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1a1a2e;
  color: #fff;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  z-index: 1000;
  transition: transform 0.3s ease, opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr 1fr; }
  .quick-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #d32f2f;
    z-index: 300;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 20px; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.12); }

  .nav-inner { position: relative; flex-wrap: wrap; }

  .dropdown-menu {
    position: static;
    display: block;
    background: rgba(0,0,0,0.15);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding-left: 16px;
  }
  .dropdown-menu li a { color: #ffe; }
  .nav-dropdown .dropdown-menu { display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }

  .brand-name { font-size: 16px; }
  .header-actions { gap: 6px; }
  .btn { padding: 6px 12px; font-size: 12px; }

  .content-grid { grid-template-columns: 1fr; }
  .quick-grid   { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { flex-direction: column; gap: 16px; }
  .footer-links { gap: 12px; }
}

@media (max-width: 400px) {
  .quick-grid { grid-template-columns: 1fr 1fr; }
}

.social-container-small {
    display: flex;
    justify-content: center;
    gap: 8px; /* Buttons ke beech ki jagah kam kar di */
    padding: 10px;
    flex-wrap: nowrap; /* Ek hi line mein rakhne ke liye */
    overflow-x: auto; /* Agar mobile pe bada ho toh scroll ho jaye */
}

.btn-s {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 6px 12px; /* Padding kam kar di */
    border-radius: 30px; 
    text-decoration: none;
    color: #1a202c;
    font-family: sans-serif;
    font-weight: 600;
    font-size: 13px; /* Font chota kar diya */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    white-space: nowrap; /* Text break nahi hoga */
}

.btn-s img {
    width: 30px; /* Icon chota kar diya */
    height: 20px;
    margin-right: 6px;
}

.btn-s:hover {
    background-color: #f0f0f0;
}