/* ==========================================================================
   Mostbet App Bangladesh 2026 - Premium Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #070f1e;
  --bg-secondary: #0b1629;
  --bg-tertiary: #11213c;
  --glass-bg: rgba(13, 27, 47, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.03);
  
  --color-orange: #ff5e00;
  --color-orange-hover: #ff7700;
  --color-orange-glow: rgba(255, 94, 0, 0.35);
  --gradient-orange: linear-gradient(135deg, #ff7700 0%, #ff4500 100%);
  
  --color-blue: #1e74ff;
  --color-blue-hover: #4590ff;
  --color-blue-glow: rgba(30, 116, 255, 0.35);
  --gradient-blue: linear-gradient(135deg, #1e74ff 0%, #004de6 100%);
  
  --color-text-white: #ffffff;
  --color-text-light: #cbd5e1;
  --color-text-muted: #8a9cb4;
  --color-success: #00e676;
  --color-border: #1e293b;

  /* Typography */
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Details */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.3);
  --shadow-lg: 0 15px 40px rgba(0,0,0,0.5);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--color-text-light);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-blue-hover);
}

ul {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-white);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-orange);
  border-radius: var(--radius-full);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 1rem;
}

/* Layout elements */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 5px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-blue);
}

/* Button & Badge components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  gap: 0.5rem;
}

.btn-primary {
  background: var(--gradient-orange);
  color: var(--color-text-white);
  box-shadow: 0 4px 15px var(--color-orange-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 94, 0, 0.5);
  background: var(--color-orange-hover);
  color: var(--color-text-white);
}

.btn-secondary {
  background: var(--gradient-blue);
  color: var(--color-text-white);
  box-shadow: 0 4px 15px var(--color-blue-glow);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 116, 255, 0.5);
  background: var(--color-blue-hover);
  color: var(--color-text-white);
}

.badge {
  background: rgba(255, 94, 0, 0.15);
  color: var(--color-orange);
  border: 1px solid rgba(255, 94, 0, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Glassmorphic Card */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(255, 94, 0, 0.25);
  transform: translateY(-3px);
}

/* Sticky Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 15, 30, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 0;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--color-text-white);
  text-transform: uppercase;
}

.logo-star {
  color: var(--color-orange);
  animation: spin 8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.nav-links {
  display: none;
  gap: 2rem;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

@media (max-width: 991px) {
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--glass-border);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
}

.nav-links a {
  color: var(--color-text-light);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-orange);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-text-white);
}

.nav-links a:hover::after {
  width: 100%;
}

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

.header-actions .btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
}

/* Mobile Menu Button */
.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

@media (min-width: 992px) {
  .menu-btn {
    display: none;
  }
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-text-white);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 70% 30%, rgba(30, 116, 255, 0.12) 0%, rgba(7, 15, 30, 0) 60%),
              radial-gradient(circle at 10% 80%, rgba(255, 94, 0, 0.08) 0%, rgba(7, 15, 30, 0) 50%);
  padding: 6rem 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
}

.hero-image:hover img {
  transform: translateY(-5px);
}

/* Table of Contents */
.toc-section {
  background-color: var(--bg-secondary);
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.toc-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  color: var(--color-text-light);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.toc-link:hover {
  background: rgba(255, 94, 0, 0.08);
  border-color: rgba(255, 94, 0, 0.3);
  color: var(--color-text-white);
  transform: translateX(3px);
}

.toc-link i {
  color: var(--color-orange);
  font-size: 1.1rem;
}

/* Screenshots Gallery */
.screenshots-section {
  background-color: var(--bg-primary);
}

.screenshots-slider-container {
  position: relative;
  margin-top: 2rem;
}

.screenshots-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0.5rem 2rem;
  scrollbar-width: thin;
}

.screenshot-slide {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.screenshot-slide:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  border-color: var(--color-blue);
}

.screenshot-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.screenshot-title {
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
}

/* Grid layout with left/right contents */
.info-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .info-row {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .info-row.reverse {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

.section-text p {
  margin-bottom: 1.5rem;
}

.section-text p:last-child {
  margin-bottom: 0;
}

/* Specification Tables */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  margin: 1.5rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--glass-bg);
}

th, td {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
}

th {
  background: var(--bg-tertiary);
  color: var(--color-text-white);
  font-weight: 600;
  border-bottom: 2px solid var(--glass-border);
}

td {
  border-bottom: 1px solid var(--glass-border);
  color: var(--color-text-light);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: var(--color-text-white);
}

/* Interactive Tabs Component */
.tab-container {
  margin-top: 2rem;
}

.tab-buttons {
  display: flex;
  gap: 1rem;
  border-bottom: 2px solid var(--glass-border);
  margin-bottom: 2.5rem;
  padding-bottom: 0.5rem;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.75rem 2rem;
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  position: relative;
  transition: color var(--transition-fast);
}

.tab-btn:hover {
  color: var(--color-text-white);
}

.tab-btn.active {
  color: var(--color-orange);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-orange);
  border-radius: var(--radius-full);
}

.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Step-by-Step Installation Guides */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.step-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .step-card {
    grid-template-columns: 1fr 1fr;
  }
  .step-card:nth-child(even) {
    direction: rtl;
  }
  .step-card:nth-child(even) .step-info {
    direction: ltr;
  }
}

.step-number {
  position: absolute;
  top: -10px;
  left: -10px;
  background: var(--gradient-orange);
  color: var(--color-text-white);
  font-size: 2rem;
  font-weight: 800;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 var(--radius-lg) 0;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.step-info h4 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-white);
}

.step-info p {
  color: var(--color-text-light);
}

.step-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  max-height: 350px;
  display: flex;
  justify-content: center;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Features Grid */
.feature-card {
  text-align: center;
  position: relative;
}

.feature-icon-wrapper {
  font-size: 2.5rem;
  color: var(--color-orange);
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 1rem;
  background: rgba(255, 94, 0, 0.1);
  border-radius: 50%;
  line-height: 1;
}

.feature-card img {
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

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

.faq-item:hover {
  border-color: rgba(30, 116, 255, 0.3);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-main);
}

.faq-header h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-light);
  transition: color var(--transition-fast);
}

.faq-item:hover .faq-header h4 {
  color: var(--color-text-white);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--color-blue);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-orange);
}

.faq-item.active {
  border-color: rgba(255, 94, 0, 0.3);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  background: rgba(0,0,0,0.15);
}

.faq-content-inner {
  padding: 1.5rem;
  border-top: 1px solid var(--glass-border);
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Footer Section */
footer {
  background-color: #030812;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--glass-border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand p {
  margin: 1.25rem 0;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--color-orange);
  color: var(--color-text-white);
  border-color: var(--color-orange);
  transform: translateY(-2px);
}

.footer-links h5 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-text-white);
  padding-left: 2px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.trust-badge-item {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
}

.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.payment-badge {
  background: #0d1e33;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--color-text-light);
  border: 1px solid var(--glass-border);
  font-size: 0.85rem;
}

/* Utility Classes */
.text-highlight-orange {
  color: var(--color-orange);
}

.text-highlight-blue {
  color: var(--color-blue);
}

.text-center {
  text-align: center;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Animations */
.pulse {
  animation: pulse-orange 2.5s infinite;
}

@keyframes pulse-orange {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 94, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 94, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 94, 0, 0);
  }
}
