/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #000000;
  --secondary-color: #FFD700;
  --accent-color: #D4AF37;
  --text-color: #1A1A1A;
  --light-text: #FFFFFF;
  --dark-bg: #121212;
  --light-bg: #FFFFFF;
  --gradient-bg: linear-gradient(360deg, #f2d63a 0%, #f7c51f 100%);
  --card-bg: rgba(255, 255, 255, 0.05);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  --border-radius: 10px;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: var(--light-bg);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.logo {
  background: url(./Qubestat_logo.png) center/cover no-repeat;
  width: 200px;
  height: 70px;
  object-fit:fill;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.section-header p {
  font-size: 18px;
  color: var(--text-color);
  max-width: 700px;
  margin: 0 auto;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition);
  text-align: center;
}

.btn.btn-primary {
  background-color: var(--secondary-color);
  color: var(--light-text);
  cursor: pointer;
}

.btn.btn-primary:hover {
  background-color: var(--accent-color) !important;
  transform: translateY(-3px);
}


.btn-secondary {
  background-color: transparent;
  color: var(--light-text);
  border: 2px solid var(--light-text);
}

.btn-secondary:hover {
  background-color: var(--light-text);
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Header Styles */
.header {
  background-color: var(--primary-color);
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

.nav-menu {
  display: flex;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  color: var(--light-text);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  color: var(--light-text);
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: url(./hero1.png) center/cover no-repeat;
  color: var(--light-text);
  padding: 150px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="2" cy="2" r="1" fill="white" opacity="0.1"/></svg>');
  background-size: 20px 20px;
  opacity: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  animation: float 4s ease-in-out infinite;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero h1 span {
  color: var(--accent-color);
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* Trust Banner */
.trust-banner {
  background-color: white;
  padding: 30px 0;
  box-shadow: var(--shadow);
}

.trust-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.trust-item img {
  width: 50px;
  height: 50px;
}

.trust-text h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
}

.trust-text p {
  font-size: 14px;
  color: var(--text-color);
}

/* Games Section */
.games-section {
  background-color: var(--light-bg);
  padding: 80px 0;
}

.game-category {
  margin-bottom: 50px;
}

.game-category h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.game-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.game-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 3px solid var(--secondary-color);
}

.game-card h4 {
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
}

/* Features Section */
.features-section {
 /* background: var(--gradient-bg);*/
  background-color: #ffd900e3;
  color: var(--light-text);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><rect x="0" y="0" width="10" height="10" fill="white" opacity="0.05"/></svg>');
  background-size: 30px 30px;
  opacity: 0.05;
}

.features-section .section-header h2,
.features-section .section-header p {
  color: var(--light-text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.feature-card {
  /*background-color: var(--card-bg);*/
  background-color:  #000000;
  padding: 30px;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.112);
}

.feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(81, 70, 5, 0.193);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: rgb(255, 255, 255);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  font-size: 28px;
  color: var(--accent-color);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-card p {
  font-size: 15px;
  opacity: 0.9;
}

/* Download Section */
.download-section {
  background-color: var(--light-bg);
  padding: 80px 0;
}

.download-section .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.download-content {
  flex: 1;
}

.download-image {
  flex: 1;
  text-align: center;
}

.download-image img {
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.download-content h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
}

.download-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.download-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 10px 20px;
  border-radius: 10px;
  transition: var(--transition);
}

.download-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.download-btn img {
  width: 24px;
}

.download-btn span {
  display: flex;
  flex-direction: column;
}

.download-btn small {
  font-size: 12px;
  opacity: 0.8;
}

.download-btn strong {
  font-size: 16px;
  font-weight: 600;
}

/* Backed By Section */
.backed-by-section {
  background-color: white;
  padding: 80px 0;
}

.investors-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.investor-item {
  max-width: 180px;
  text-align: center;
  opacity: 0.8;
  transition: var(--transition);
}

.investor-item:hover {
  opacity: 1;
  transform: scale(1.05);
}

.investor-item img {
  max-width: 100%;
  height: auto;
  filter: grayscale(70%);
  transition: var(--transition);
}

.investor-item:hover img {
  filter: grayscale(0%);
}

/* FAQ Section */
.faq-section {
  background-color: var(--light-bg);
  padding: 80px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(107, 30, 116, 0.05);
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(107, 30, 116, 0.1);
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background-color: var(--primary-color);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  transition: max-height 0.5s ease;
}

.faq-answer p {
  padding: 0 20px 20px;
  line-height: 1.6;
  color: var(--text-color);
  font-size: 16px;
}

/* Footer */
.footer {
  background: url(./footer2.png) center/cover no-repeat;
  color: var(--light-text);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about {
  grid-column: span 2;
}

.footer-logo {
  height: 40px;
  margin-bottom: 20px;
}

.footer-about p {
  font-size: 15px;
  margin-bottom: 20px;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-links h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  opacity: 0.7;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  opacity: 1;
  padding-left: 5px;
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 14px;
  opacity: 0.7;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Media Queries */
@media (max-width: 992px) {
  section {
    padding: 60px 0;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero .container,
  .download-section .container {
    flex-direction: column;
  }

  .hero-content,
  .download-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero h1 {
    font-size: 36px;
  }

  .trust-banner .container {
    justify-content: center;
  }

  .trust-item {
    width: 45%;
  }
}

@media (max-width: 768px) {

  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    background-color: var(--primary-color);
    width: 100%;
    flex-direction: column;
    padding: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow);
  }
  
  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 15px 0;
    text-align: center;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-about {
    grid-column: span 1;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-links {
    text-align: center;
  }

  .investor-item {
    max-width: 150px;
  }

  .faq-question h3 {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .game-card img {
    height: 120px;
  }

  .investors-grid {
    gap: 20px;
  }

  .investor-item {
    max-width: 120px;
  }

}
