:root {
  --background-light: #ffffff;
  --foreground-light: #0f172a;
  --muted-foreground-light: #64748b;
  --border-light: #e2e8f0;
  
  --background-dark: #121212;
  --foreground-dark: #f8fafc;
  --muted-foreground-dark: #94a3b8;
  --border-dark: #2a2a2a;
  
  --blue-glow: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(37,99,235,0.06) 50%, rgba(29,78,216,0) 100%);
  --orange-glow: radial-gradient(circle, rgba(249,115,22,0.15) 0%, rgba(234,88,12,0.06) 50%, rgba(194,65,12,0) 100%);
  --green-glow: radial-gradient(circle, rgba(34,197,94,0.15) 0%, rgba(22,163,74,0.06) 50%, rgba(21,128,61,0) 100%);
  --red-glow: radial-gradient(circle, rgba(239,68,68,0.15) 0%, rgba(220,38,38,0.06) 50%, rgba(185,28,28,0) 100%);
  
  --blue-color: #3b82f6;
  --orange-color: #f97316;
  --green-color: #22c55e;
  --red-color: #ef4444;
  
  --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
  --spring-transition: cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --cheatbreaker-red: #c94a5a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  transition: background-color 0.5s var(--transition-timing), 
              color 0.5s var(--transition-timing), 
              border-color 0.5s var(--transition-timing), 
              box-shadow 0.5s var(--transition-timing);
  cursor: none;
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  position: relative;
}

body.light-theme {
  background-color: var(--background-light);
  color: var(--foreground-light);
}

body.dark-theme {
  background-color: var(--background-dark);
  color: var(--foreground-dark);
}

/* Particles Background */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Custom Cursor */
.cursor {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: rgba(180, 180, 180, 0.8);
  border-radius: 50%;
  z-index: 9999;
  will-change: transform;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}

/* Header Logo */
.header-logo {
  position: fixed;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 100;
}

.header-logo .logo-img {
  height: 30px;
  width: auto;
}

.header-logo .logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--foreground-light);
}

body.dark-theme .header-logo .logo-text {
  color: var(--foreground-dark);
}

body.light-theme .header-logo .logo-img {
  filter: brightness(0) saturate(100%) invert(36%) sepia(31%) saturate(2636%) hue-rotate(322deg) brightness(91%) contrast(87%);
}

/* Theme Toggle */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 100;
  padding: 10px;
  border-radius: 30px;
  background: rgba(40, 40, 40, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.7s var(--spring-transition);
}

body.light-theme .theme-toggle {
  background: rgba(230, 230, 230, 0.7);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
  transform: scale(1.05);
}

.sun-icon, .moon-icon {
  transition: all 0.7s var(--spring-transition);
}

body.light-theme .sun-icon {
  color: var(--foreground-light);
  transform: scale(1) rotate(0);
}

body.light-theme .moon-icon {
  color: var(--muted-foreground-light);
  transform: scale(0.75) rotate(12deg);
}

body.dark-theme .sun-icon {
  color: var(--muted-foreground-dark);
  transform: scale(0.75) rotate(12deg);
}

body.dark-theme .moon-icon {
  color: var(--foreground-dark);
  transform: scale(1) rotate(0);
}

/* Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #555;
  transition: 0.4s;
}

body.light-theme .slider {
  background-color: #ccc;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: var(--cheatbreaker-red);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--cheatbreaker-red);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Content Section */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 1200px;
  padding: 0 1rem;
}

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  width: 100%;
  max-width: 800px;
  padding: 2rem;
}

.logo-container {
  margin-bottom: 1.5rem;
}

.hero-logo {
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
}

body.light-theme .hero-logo {
  filter: brightness(0) saturate(100%) invert(36%) sepia(31%) saturate(2636%) hue-rotate(322deg) brightness(91%) contrast(87%);
}

.title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--cheatbreaker-red);
}

.subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--foreground-light);
}

body.dark-theme .subtitle {
  color: var(--foreground-dark);
}

.highlight {
  font-weight: 700;
  color: var(--cheatbreaker-red);
}

.download-text {
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  opacity: 0.8;
  color: var(--foreground-light);
}

body.dark-theme .download-text {
  color: var(--foreground-dark);
}

.download-btn {
  background: var(--cheatbreaker-red);
  color: white;
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(201, 74, 90, 0.3);
  transition: all 0.5s var(--spring-transition);
  cursor: none;
  text-decoration: none;
}

.download-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(201, 74, 90, 0.4);
}

.download-icon {
  width: 32px;
  height: 32px;
  stroke-width: 2;
}

/* Download Section */
.download-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  width: 100%;
  padding: 4rem 2rem;
  text-align: center;
  margin-top: -2rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--cheatbreaker-red);
}

.section-subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: var(--foreground-light);
  opacity: 0.8;
}

body.dark-theme .section-subtitle {
  color: var(--foreground-dark);
}

.download-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  width: 100%;
  max-width: 1000px;
}

.platform-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s var(--spring-transition);
  text-decoration: none;
  color: var(--foreground-light);
  min-width: 250px;
}

body.dark-theme .platform-btn {
  background: rgba(30, 30, 30, 0.5);
  border-color: rgba(60, 60, 60, 0.3);
  color: var(--foreground-dark);
}

.platform-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(201, 74, 90, 0.2);
  border-color: var(--cheatbreaker-red);
}

.platform-icon {
  width: 24px;
  height: 24px;
  color: var(--cheatbreaker-red);
}

.platform-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.platform-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.platform-details {
  font-size: 0.8rem;
  opacity: 0.7;
}

.download-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 2rem;
}

.info-icon {
  width: 16px;
  height: 16px;
}

.text-link {
  color: var(--cheatbreaker-red);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.text-link:hover {
  opacity: 0.8;
}

/* Updates Section */
.updates-section {
  width: 100%;
  max-width: 1000px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.updates-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.updates-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.updates-title h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground-light);
}

body.dark-theme .updates-title h2 {
  color: var(--foreground-dark);
}

.news-icon {
  color: var(--cheatbreaker-red);
  width: 20px;
  height: 20px;
}

.date-tag {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.7;
}

.view-all {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cheatbreaker-red);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.view-all:hover {
  opacity: 0.8;
}

.arrow-icon {
  width: 16px;
  height: 16px;
}


.news-card {
  background-image: url('https://www.moonsworth.com/images/homepage.webp');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(60, 60, 60, 0.3);
  transition: transform 0.3s var(--spring-transition), box-shadow 0.3s ease;
  height: 250px; 
}


.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.news-content {
  padding: 2rem;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
}

.news-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.news-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.news-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* FAQ Section */
.faq-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 4rem 2rem;
  text-align: center;
}

.faq-container {
  width: 100%;
  max-width: 800px;
  margin-top: 2rem;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s var(--transition-timing);
}

body.light-theme .faq-item {
  background: rgba(240, 240, 240, 0.5);
  border-color: rgba(220, 220, 220, 0.5);
}

body.dark-theme .faq-item {
  background: rgba(30, 30, 30, 0.5);
  border-color: rgba(60, 60, 60, 0.3);
}

.faq-item.active {
  box-shadow: 0 10px 30px rgba(201, 74, 90, 0.15);
  border-color: var(--cheatbreaker-red);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: none;
  position: relative;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  color: var(--foreground-light);
}

body.dark-theme .faq-question h3 {
  color: var(--foreground-dark);
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  position: relative;
}

.icon-plus, .icon-minus {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  color: var(--cheatbreaker-red);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.icon-minus {
  opacity: 0;
  transform: rotate(-90deg);
}

.faq-item.active .icon-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.faq-item.active .icon-minus {
  opacity: 1;
  transform: rotate(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--transition-timing);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  text-align: left;
  line-height: 1.6;
  color: var(--foreground-light);
  opacity: 0.9;
}

body.dark-theme .faq-answer p {
  color: var(--foreground-dark);
}

.faq-answer ul {
  padding: 0 1.5rem 1.5rem 3rem;
  text-align: left;
  line-height: 1.6;
}

.faq-answer li {
  margin-bottom: 0.5rem;
  color: var(--foreground-light);
  opacity: 0.9;
}

body.dark-theme .faq-answer li {
  color: var(--foreground-dark);
}

/* Menu Bar */
.menu-bar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 0.5rem;
  border-radius: 16px;
  background: rgba(40, 40, 40, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(60, 60, 60, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

body.light-theme .menu-bar {
  background: rgba(230, 230, 230, 0.7);
  border-color: var(--border-light);
}

body.dark-theme .menu-bar {
  background: rgba(30, 30, 30, 0.7);
  border-color: var(--border-dark);
}

.menu-bar ul {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.menu-item {
  display: block;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  overflow: hidden;
  perspective: 600px;
}

body.light-theme .menu-item {
  color: var(--foreground-light);
}

body.dark-theme .menu-item {
  color: var(--muted-foreground-dark);
}

.menu-item:hover {
  color: var(--foreground-light);
}

body.dark-theme .menu-item:hover {
  color: var(--foreground-dark);
}

.front, .back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.5s var(--spring-transition);
  backface-visibility: hidden;
}

.back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateX(90deg);
  transform-origin: center top;
  opacity: 0;
}

.menu-item:hover .front {
  transform: rotateX(-90deg);
  transform-origin: center bottom;
  opacity: 0;
}

.menu-item:hover .back {
  transform: rotateX(0);
  opacity: 1;
}

.glow {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s var(--transition-timing), transform 0.5s var(--spring-transition);
  transform: scale(0.8);
}

.menu-item:hover .glow {
  opacity: 1;
  transform: scale(2);
}

.home-glow {
  background: var(--blue-glow);
}

.bell-glow {
  background: var(--orange-glow);
}

.settings-glow {
  background: var(--green-glow);
}

.user-glow {
  background: var(--red-glow);
}

.home-icon {
  color: var(--blue-color);
}

.faq-icon {
  color: var(--orange-color);
}

.download-nav-icon {
  color: var(--green-color);
}

.updates-icon {
  color: var(--red-color);
}

.icon {
  width: 20px;
  height: 20px;
}

/* Footer */
.footer {
  width: 100%;
  background-color: rgba(40, 40, 40, 0.3);
  backdrop-filter: blur(10px);
  padding: 2rem 0;
  margin-top: 4rem;
}

body.light-theme .footer {
  background-color: rgba(230, 230, 230, 0.3);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--cheatbreaker-red);
  transform: translateY(-3px);
}

.social-icon {
  width: 20px;
  height: 20px;
  color: var(--foreground-light);
}

body.dark-theme .social-icon {
  color: var(--foreground-dark);
}

.disclaimer {
  font-size: 0.9rem;
  opacity: 0.7;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: var(--foreground-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

body.dark-theme .footer-link {
  color: var(--foreground-dark);
}

.footer-link:hover {
  color: var(--cheatbreaker-red);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .menu-bar {
    width: 90%;
    overflow-x: auto;
  }
  
  .menu-bar ul {
    width: max-content;
  }
  
  .hero-section {
    padding: 1.5rem;
    margin-top: 80px;
  }
  
  .title {
    font-size: 2.5rem;
  }
  
  .subtitle {
    font-size: 1.2rem;
  }
  
  .download-options {
    flex-direction: column;
    align-items: center;
  }
  
  .platform-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .header-logo {
    top: 10px;
    left: 10px;
  }
  
  .header-logo .logo-img {
    height: 24px;
  }
  
  .header-logo .logo-text {
    font-size: 1rem;
  }
  
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .news-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .theme-toggle {
    top: 10px;
    right: 10px;
  }
  
  .menu-bar {
    top: 60px;
  }
  
  .hero-section {
    margin-top: 120px;
    padding: 1rem;
  }
  
  .title {
    font-size: 2rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .download-btn {
    width: 60px;
    height: 60px;
  }
  
  .download-icon {
    width: 24px;
    height: 24px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .footer-links {
    gap: 1rem;
  }
  
  .faq-question {
    padding: 1.2rem;
  }
  
  .news-card {
    margin: 0 -1rem;
  }
  
  .news-content {
    padding: 1.5rem;
  }
}

/* Fade-in animation for sections */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

body {
  overflow-y: scroll;           /* Ensures scrolling still works */
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE/Edge */
}

body::-webkit-scrollbar {
  display: none;                /* Chrome, Safari, Opera */
}
