/*
  Great Saqi Tips - Premium Betting Portal CSS
  Theme: Editorial Aesthetic (Editorial Serif & Midnight Slate)
*/

:root {
  --bg-dark: #0b101d;
  --bg-darker: #060a14;
  --bg-card: #121a2d;
  --bg-card-hover: #1a253f;
  --bg-card-light: #162138;
  --primary-green: #10b981;
  --primary-green-dark: #059669;
  --primary-green-glow: rgba(16, 185, 129, 0.25);
  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-gold-glow: rgba(245, 158, 11, 0.2);
  --accent-brass: #d97706;
  --text-white: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --border-color: rgba(255, 255, 255, 0.09);
  --border-gold: rgba(245, 158, 11, 0.35);
  --badge-red: #ef4444;
  --font-main: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans-heading: 'Outfit', 'Inter', system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 12px 32px -8px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.2);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Editorial Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-gold-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-padding {
  padding: 4.5rem 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--accent-gold) !important; }
.text-green { color: var(--primary-green) !important; }
.text-muted { color: var(--text-muted) !important; }

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
  z-index: 1000;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* Top Announcement Bar */
.top-bar {
  background: linear-gradient(90deg, #059669 0%, #0b132b 50%, #d97706 100%);
  color: #ffffff;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-right a {
  color: #ffffff;
  font-size: 0.85rem;
  opacity: 0.9;
}

.top-bar-right a:hover {
  opacity: 1;
  color: var(--accent-gold-light);
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: rgba(11, 19, 43, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  padding: 0.2rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--accent-gold);
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--accent-gold);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  list-style: none;
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text-white);
  font-size: 0.9rem;
  font-weight: 500;
}

.dropdown-item a:hover {
  background-color: var(--bg-card-hover);
  color: var(--primary-green);
  padding-left: 1.5rem;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
  color: #ffffff;
  box-shadow: 0 4px 15px var(--primary-green-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  color: #ffffff;
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), #d97706);
  color: #0b132b;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  color: #0b132b;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
}

.btn-outline:hover {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--accent-gold-light);
  border-color: var(--accent-gold);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Navigation Off-canvas */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 11, 24, 0.8);
  backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-card);
  z-index: 999;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.mobile-menu-drawer.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.mobile-close-btn {
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  color: var(--text-white);
  font-weight: 600;
  font-size: 1.05rem;
  display: block;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 5rem 0 6rem;
  background: radial-gradient(circle at 50% 20%, #1a2c5a 0%, var(--bg-dark) 70%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat-item h3 {
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Featured Hero Card */
.hero-card {
  background: linear-gradient(145deg, #182647, #0f1933);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.hero-card::before {
  content: "EXCLUSIVE OFFER";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gold);
  color: #0b132b;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
}

.hero-card-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-card-brand img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.promo-code-box {
  background: #060b18;
  border: 2px dashed var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.promo-code-text {
  font-family: monospace;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 2px;
}

.copy-btn {
  background: var(--accent-gold);
  color: #0b132b;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  background: var(--accent-gold-light);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem;
}

.section-tag {
  color: var(--accent-gold);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Cards Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
}

/* Bookmaker Card */
.bm-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.bm-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-green);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.bm-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.bm-logo-wrapper {
  height: 45px;
  display: flex;
  align-items: center;
}

.bm-logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.bm-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.95rem;
}

.bm-bonus-title {
  font-size: 1.2rem;
  color: var(--accent-gold-light);
  margin-bottom: 0.5rem;
}

.bm-promo-wrapper {
  background-color: var(--bg-darker);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0 1.5rem;
}

.bm-promo-code {
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-green);
}

.bm-card-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Comparison Table */
.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th {
  background-color: #0c152e;
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 1.2rem 1.5rem;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-color);
}

.custom-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-white);
  font-size: 0.95rem;
  vertical-align: middle;
}

.custom-table tr:hover {
  background-color: var(--bg-card-hover);
}

/* Category Tabs */
.category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.tab-btn {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
  background-color: var(--primary-green);
  color: #ffffff;
  border-color: var(--primary-green);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--accent-gold);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  display: none;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active {
  border-color: var(--border-gold);
}

/* Testimonial Card */
.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffff;
}

/* Blog / News Card */
.blog-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
}

.blog-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}

.blog-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.blog-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Newsletter Box */
.newsletter-box {
  background: linear-gradient(135deg, #13234d, #0b132b);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 550px;
  margin: 2rem auto 0;
  flex-wrap: wrap;
}

.form-input {
  flex: 1;
  min-width: 280px;
  padding: 0.9rem 1.25rem;
  background-color: var(--bg-darker);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-size: 0.95rem;
  outline: none;
}

.form-input:focus {
  border-color: var(--accent-gold);
}

/* Footer Styling */
.site-footer {
  background-color: #060b18;
  border-top: 1px solid var(--border-color);
  padding-top: 4.5rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-about p {
  margin-top: 1rem;
  font-size: 0.92rem;
}

.footer-title {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--accent-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 0.35rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-green);
  color: #ffffff;
  border-color: var(--primary-green);
}

.footer-bottom {
  background-color: #03060d;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  text-align: center;
}

.responsible-banner {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #fca5a5;
}

/* Copy Toast */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary-green);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Floating WhatsApp / Back To Top */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 850;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  transition: var(--transition);
  font-size: 1.25rem;
}

.float-whatsapp {
  background-color: #25d366;
}

.float-whatsapp:hover {
  transform: scale(1.1);
}

.float-backtotop {
  background-color: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
}

.float-backtotop.show {
  opacity: 1;
  visibility: visible;
}

/* Comprehensive Mobile Optimization Media Queries */

/* Tablet Breakpoint (<= 992px) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  div[style*="grid-template-columns: 2.2fr 1fr"],
  div[style*="grid-template-columns: 1.2fr 0.8fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Smartphone Landscape & Tablet Portrait (<= 768px) */
@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .top-bar {
    font-size: 0.8rem;
    padding: 0.4rem 0;
  }
  .top-bar .container {
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
  }
  .top-bar-right {
    gap: 0.75rem;
  }
  
  /* Category Tabs horizontal touch strip */
  .category-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem 0.25rem 0.75rem;
    margin-bottom: 1.75rem;
    scrollbar-width: none;
  }
  .category-tabs::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    flex-shrink: 0;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
  }

  /* Responsive Table touch scrolling */
  .table-responsive {
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
    margin: 0 -0.25rem;
  }
  .custom-table th, .custom-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  /* Prevent iOS zoom on input focus */
  .form-input, input, select, textarea {
    font-size: 16px !important;
  }
}

/* Standard Mobile Devices (<= 576px) */
@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  .section-padding {
    padding: 2.25rem 0;
  }
  .section-header {
    margin-bottom: 1.5rem;
  }

  /* Mobile Typography Sizing */
  h1, .hero-title {
    font-size: clamp(1.65rem, 5.5vw, 2.1rem);
    line-height: 1.25;
  }
  h2, .section-title {
    font-size: clamp(1.35rem, 4.8vw, 1.75rem);
    line-height: 1.3;
  }
  h3 {
    font-size: 1.15rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  /* Header & Logo */
  .header-inner {
    padding: 0.6rem 0;
  }
  .logo-img {
    height: 38px;
  }
  .logo-text {
    font-size: 1.15rem;
  }
  .header-actions .btn {
    display: none;
  }

  /* Mobile Menu Off-Canvas */
  .mobile-menu-drawer {
    width: 85vw;
    max-width: 300px;
    padding: 1.25rem 1rem;
  }
  .mobile-nav-link {
    font-size: 0.98rem;
    padding: 0.4rem 0;
  }

  /* Hero Section Mobile Polish */
  .hero-section {
    padding: 2.25rem 0 3rem;
  }
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    padding-top: 1.25rem;
    text-align: center;
  }
  .stat-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.1rem;
  }
  .stat-item p {
    font-size: 0.72rem;
    line-height: 1.2;
  }
  .hero-card {
    padding: 1.25rem 1rem;
  }

  /* Bookmakers & Cards */
  .bm-card {
    padding: 1.25rem 1rem;
  }
  .bm-card-actions {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .bm-card-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Calculator grid override on mobile */
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  /* Live Search Widget Mobile Flex */
  div[style*="display: flex"][style*="justify-content: space-between"] {
    flex-direction: column;
    align-items: stretch;
  }

  /* Newsletter Box Mobile */
  .newsletter-box {
    padding: 2.25rem 1.25rem;
  }
  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .newsletter-form .form-input,
  .newsletter-form .btn {
    width: 100%;
  }

  /* FAQ Accordion Mobile */
  .faq-question {
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
  }
  .faq-answer {
    padding: 0 1rem 0.9rem;
    font-size: 0.875rem;
    line-height: 1.5;
  }

  /* Footer Mobile */
  .site-footer {
    padding-top: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .social-links {
    justify-content: center;
  }
  .responsible-banner {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    gap: 0.5rem;
  }

  /* Floating Actions & Toast Mobile Positioning */
  .floating-actions {
    bottom: 1rem;
    left: 1rem;
    gap: 0.5rem;
  }
  .float-btn {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  .toast-notification {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    transform: translateY(100px);
    max-width: calc(100vw - 2rem);
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    text-align: center;
    border-radius: var(--radius-md);
  }
  .toast-notification.show {
    transform: translateY(0);
  }
}

/* Extra Small Phones (<= 400px) */
@media (max-width: 400px) {
  .promo-code-box {
    padding: 0.65rem;
    gap: 0.5rem;
    flex-direction: column;
    text-align: center;
  }
  .promo-code-text {
    font-size: 1.3rem;
  }
  .btn {
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
  }
  .logo-text {
    font-size: 1.05rem;
  }
  .logo-img {
    height: 34px;
  }
}

