:root {
  --primary-color: #630000;
  --secondary-color: #9e0000;
  --accent-color: #3498db;
  --text-color: #333;
  --light-text: #f1f1f1;
  --bg-color: #f9f9f9;
  --card-bg: #ffffff;
  --border-color: #ddd;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --whatsapp-color: #25d366;
  --telegram-color: #0088cc;
  --livechat-color: #ff5722;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%; /* 10px = 1rem */
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  background-image: url("../img/background.jpg"); /* Placeholder for background image */
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow-x: hidden;
}

/* Add overlay to make text readable over background image */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: var(--accent-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

/* ===== STICKY CONTACT SIDEBAR ===== */
.sticky-contact-sidebar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}

.contact-icons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  background-color: #fff;
  color: #333;
  font-size: 2.2rem;
  border-radius: 0 8px 8px 0;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: all 0.3s ease;
}

.contact-icon:hover {
  width: 6rem;
}

.contact-icon.whatsapp {
  color: var(--whatsapp-color);
}

.contact-icon.telegram {
  color: var(--telegram-color);
}

.contact-icon.livechat {
  color: var(--livechat-color);
}

.tooltip {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  background-color: #333;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 1.4rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-left: 10px;
}

.tooltip::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent #333 transparent transparent;
}

.contact-icon:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

/* ===== HEADER STYLES ===== */
header {
  background-color: var(--primary-color);
  color: var(--light-text);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  max-width: 150px;
}

.menu-button button {
  background: transparent;
  color: var(--light-text);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.menu-button button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.auth-buttons {
  display: flex;
  gap: 1rem;
}

.btn-login {
  background-color: transparent;
  color: var(--light-text);
  border: 1px solid var(--light-text);
}

.btn-login:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
}

.btn-register {
  background-color: var(--secondary-color);
  color: var(--light-text);
}

.btn-register:hover {
  background-color: #d35400;
}

.main-navigation {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100vh;
  background-color: var(--primary-color);
  z-index: 1001;
  transition: var(--transition);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.main-navigation.active {
  left: 0;
}

.main-navigation ul {
  margin-top: 2rem;
}

.main-navigation ul li {
  margin-bottom: 1.5rem;
}

.main-navigation ul li a {
  color: var(--light-text);
  font-size: 1.8rem;
  font-weight: 500;
  display: block;
  padding: 1rem 0;
  transition: var(--transition);
}

.main-navigation ul li a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.close-menu {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: none;
  color: var(--light-text);
  font-size: 2.2rem;
  cursor: pointer;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: none;
}

.overlay.active {
  display: block;
}

.mobile-menu-toggle {
  display: none;
}

/* Running Text Styles - SLOWED DOWN */
.running-text-container {
  background-color: var(--secondary-color);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.running-text {
  animation: scrollText 40s linear infinite; /* Slowed down from 20s to 40s */
  display: inline-block;
}

.running-text span {
  font-size: 1.6rem;
  font-weight: 500;
}

@keyframes scrollText {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ===== BANNER SECTION ===== */
.banner-section {
  padding: 3rem 0;
}

.banner-slider {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.banner-slide {
  display: none;
  position: relative;
}

.banner-slide.active {
  display: block;
  animation: fadeIn 1s;
}

.banner-slide img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.banner-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--light-text);
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

.banner-caption h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.slider-controls {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}

.prev-slide,
.next-slide {
  background: rgba(0, 0, 0, 0.5);
  color: var(--light-text);
  border: none;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-slide:hover,
.next-slide:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slider-dots {
  display: flex;
  gap: 1rem;
}

.dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--secondary-color);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== PREDICTIONS SECTION ===== */
.predictions-section {
  padding: 5rem 0;
  background-color: rgba(0, 0, 0, 0); /* Semi-transparent background */
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.section-header p {
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
}

.section-header li {
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.disclaimer {
  font-style: italic;
  color: #666;
  font-size: 1.4rem;
  margin: 1rem auto;
  max-width: 700px;
}

.countdown-timer {
  text-align: center;
  margin-bottom: 3rem;
  padding: 1.5rem;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: var(--border-radius);
  max-width: 500px;
  margin: 0 auto 3rem;
}

.countdown-timer p {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

#countdown {
  font-weight: 700;
  color: var(--secondary-color);
}

.next-update {
  font-size: 1.6rem;
}

#nextUpdateTime {
  font-weight: 700;
  color: #3498db;
}

.predictions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.prediction-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.prediction-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.prediction-title {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 1rem;
}

.prediction-date {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.prediction-numbers {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.number {
  width: 4.5rem;
  height: 4.5rem;
  background-color: var(--secondary-color);
  color: var(--light-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.8rem;
}

.prediction-info {
  color: #666;
  font-size: 1.4rem;
}

/* ===== ARTICLES SECTION ===== */
.articles-section {
  padding: 5rem 0;
  background-color: rgba(0, 0, 0, 0.527); /* Semi-transparent background */
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.article-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 3rem;
}

.article-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.article-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-content {
  padding: 2rem;
}

.article-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.article-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  color: #666;
  font-size: 1.3rem;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--secondary-color);
  font-weight: 600;
}

.read-more:hover {
  color: var(--primary-color);
}

/* ===== DEPOSIT SECTION ===== */
.deposit-section {
  padding: 5rem 0;
  background-color: rgba(0, 0, 0, 0); /* Semi-transparent background */
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.deposit-methods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 5rem;
}

.deposit-method {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
}

.deposit-method:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.deposit-icon {
  font-size: 3.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.deposit-method h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.bank-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.bank-logos img {
  height: 3rem;
  width: auto;
  object-fit: contain;
}

.deposit-method p {
  color: #666;
  font-size: 1.4rem;
}

.contact-support {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 3rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.contact-support h3 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.contact-support p {
  margin-bottom: 2rem;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.contact-button {
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.6rem;
  font-weight: 500;
  transition: var(--transition);
  color: var(--light-text);
}

.contact-button.whatsapp {
  background-color: var(--whatsapp-color);
}

.contact-button.telegram {
  background-color: var(--telegram-color);
}

.contact-button.livechat {
  background-color: var(--livechat-color);
}

.contact-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  color: var(--light-text);
}

/* ===== FOOTER STYLES ===== */
footer {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 5rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo p {
  font-size: 1.6rem;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links ul li {
  margin-bottom: 1rem;
}

.footer-links ul li a {
  color: var(--light-text);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
}

.social-icons a {
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media screen and (max-width: 992px) {
  html {
    font-size: 60%;
  }

  .banner-caption h2 {
    font-size: 2.2rem;
  }

  .deposit-methods {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .menu-button {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu-toggle button {
    background: transparent;
    border: none;
    color: var(--light-text);
    font-size: 2.2rem;
    cursor: pointer;
  }

  .auth-buttons .btn {
    padding: 0.6rem 1.2rem;
    font-size: 1.4rem;
  }

  .banner-caption {
    padding: 1.5rem;
  }

  .banner-caption h1 {
    font-size: 2rem;
  }

  .banner-caption h2 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2.4rem;
  }

  .predictions-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .article-container {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  .deposit-methods {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 3rem;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .sticky-contact-sidebar {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
  }

  .contact-icons {
    flex-direction: row;
    justify-content: center;
    background-color: var(--primary-color);
    padding: 1rem;
  }

  .contact-icon {
    border-radius: var(--border-radius);
  }

  .tooltip {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 55%;
  }

  .header-content {
    padding: 1rem 0;
  }

  .logo {
    max-width: 120px;
  }

  .auth-buttons .btn-login {
    display: none;
  }

  .banner-caption h2 {
    font-size: 1.8rem;
  }

  .banner-caption p {
    font-size: 1.4rem;
  }

  .slider-controls {
    bottom: 10px;
  }

  .prev-slide,
  .next-slide {
    width: 3.5rem;
    height: 3.5rem;
  }

  .dot {
    width: 1rem;
    height: 1rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.pulse-animation {
  animation: pulse 2s infinite;
}

/* Additional Styles for AMP Compatibility */
.amp-img {
  max-width: 100%;
}

/* Add loading="lazy" attribute to images for better performance */
img {
  loading: lazy;
}
