/* ==========================================================================
   Shillong Teer Result Live - Luxury Glassmorphic Design System
   Domain: shillongteerresult.live
   ========================================================================== */

:root {
  --bg-primary: #0a0f18;
  --bg-secondary: #101826;
  --bg-card: rgba(18, 26, 41, 0.85);
  --bg-card-hover: rgba(24, 35, 56, 0.95);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(245, 158, 11, 0.35);

  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-gold-glow: rgba(245, 158, 11, 0.25);

  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);

  --accent-red: #ef4444;
  --accent-blue: #3b82f6;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 0 25px rgba(245, 158, 11, 0.2);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  color: var(--accent-gold-light);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header & Navigation */
.site-header {
  background: rgba(16, 24, 38, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.brand-logo .target-icon {
  font-size: 1.6rem;
}
.brand-logo span.highlight {
  color: var(--accent-gold);
}
.brand-logo span.live-badge {
  background: var(--accent-red);
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 4px;
  animation: pulse 1.8s infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}
.nav-links a:hover, .nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* Ticker Bar */
.live-ticker-bar {
  background: linear-gradient(90deg, #1e293b, #0f172a);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.ticker-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.pulse-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-emerald);
  font-weight: 600;
}
.dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* Hero & Countdown Section */
.hero-section {
  text-align: center;
  padding: 24px 0 16px;
}
.hero-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.25;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.hero-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 700px;
  margin: 0 auto 16px;
}
.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-gold-light);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

/* Countdown Card */
.countdown-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  max-width: 550px;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
}
.countdown-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}
.countdown-timer {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 1px;
}
.btn-refresh {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-refresh:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--accent-gold);
}

/* Main Cards Grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.teer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.teer-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}
.teer-card.featured {
  border-color: var(--accent-gold);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  box-shadow: var(--shadow-gold);
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
}
.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}
.status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}
.status-badge.live {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
}
.status-badge.waiting {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
}

.round-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.round-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}
.round-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}
.round-time {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.round-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-gold-light);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 2px;
}
.round-number.waiting {
  color: var(--text-dim);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Common Numbers Section */
.section-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 30px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}
.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.common-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.common-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 16px;
}
.common-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 6px;
}
.number-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.num-pill {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* Dream Numbers Interactive Search */
.search-wrapper {
  margin-bottom: 16px;
}
.search-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.search-input:focus {
  border-color: var(--accent-gold);
}
.dream-list {
  max-height: 380px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}
.dream-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
  align-items: center;
}
.dream-item:hover {
  background: rgba(255, 255, 255, 0.03);
}
.dream-item.head {
  background: rgba(0, 0, 0, 0.4);
  font-weight: 700;
  color: var(--text-muted);
}
.dream-val {
  font-weight: 700;
  color: var(--accent-gold-light);
}

/* Table Style for Previous Results */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}
.teer-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.9rem;
}
.teer-table th {
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-muted);
  font-weight: 700;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.teer-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.teer-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}
.teer-table td.winning-num {
  font-weight: 800;
  color: var(--accent-gold-light);
}

/* Social & Community Banner */
.community-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #065f46 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.community-text h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.community-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}
.community-buttons {
  display: flex;
  gap: 12px;
}
.btn-social {
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.btn-telegram {
  background: #0088cc;
}
.btn-whatsapp {
  background: #25d366;
}

/* Content SEO Article Style */
.seo-article {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 30px;
}
.seo-article h2 {
  font-size: 1.4rem;
  color: #fff;
  margin: 18px 0 10px;
}
.seo-article h3 {
  font-size: 1.15rem;
  color: var(--accent-gold);
  margin: 14px 0 8px;
}
.seo-article p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.seo-article ul, .seo-article ol {
  color: var(--text-muted);
  padding-left: 20px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.seo-article li {
  margin-bottom: 6px;
}

/* FAQ Accordion */
.faq-box {
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  background: rgba(0, 0, 0, 0.25);
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-a {
  padding: 14px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.1);
  display: block;
}

/* Footer */
.site-footer {
  background: #060910;
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
  justify-content: center;
}
.footer-links a {
  color: var(--text-muted);
}
.footer-disclaimer {
  max-width: 800px;
  margin: 0 auto 16px;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.5;
}
.copyright {
  text-align: center;
}

/* Keyframes */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.75; }
  100% { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 1.5rem; }
  .nav-links { display: none; }
  .countdown-box { flex-direction: column; text-align: center; }
  .dream-item { grid-template-columns: 1fr 1fr; gap: 4px; }
  .community-banner { flex-direction: column; text-align: center; }
  .community-buttons { width: 100%; justify-content: center; }
}