@import url("https://fonts.googleapis.com/css2?family=Antonio:wght@100..700&family=Archivo:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --neon-yellow: #ffff00;
  --neon-cyan: #00ffff;
  --neon-pink: #ff00cc;
  --neon-purple: #9d00ff;
}

body.home-page {
  color: #fff;
  font-family: "Courier New", monospace;
  overflow-x: hidden;
  text-align: center;
  background-color: black;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: rgba(0, 0, 0, 0.2);
  padding-bottom: 20px;
}

.hero-logo {
  width: 1000px;
  margin-bottom: 20px;
}

.main-title {
  font-family: "Orbitron", sans-serif;
  font-size: 3rem;
  line-height: 1.2;
  margin-top: 20px;
}

.main-menu .welcome-text {
  font-size: 14px;
  color: #ffffff;
  text-shadow:
    0 0 5px #ffffff,
    0 0 10px #ffffff,
    0 0 20px #ffffff,
    0 0 40px #ff00cc,
    0 0 80px #ff00cc;
}

.tagline {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 20px auto;
  line-height: 1.5;
  color: #b3f0ff;
  text-shadow: 0 0 8px #00f0ff;
}

/* === NEWS TICKER === */
.news-ticker-wrapper {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  padding: 12px 0 10px;
  overflow: hidden;
  border-top: 2px solid var(--neon-yellow);
  border-bottom: 2px solid var(--neon-yellow);
  box-shadow:
    0 0 15px rgba(255, 255, 0, 0.4),
    inset 0 0 10px rgba(255, 255, 0, 0.1);
  position: relative;
  z-index: 1;
  margin-top: 80px;
}

.news-ticker-content {
  display: inline-flex;
  animation: scroll-left 90s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.news-ticker-link {
  text-decoration: none;
  display: inline-block;
  flex-shrink: 0;
}

.news-ticker-text {
  font-size: 16px;
  color: var(--neon-yellow);
  font-weight: bold;
  font-family: "Orbitron", monospace;
  text-shadow:
    0 0 10px var(--neon-yellow),
    0 0 20px rgba(255, 255, 0, 0.6);
  margin-right: 50px;
  display: inline-block;
  flex-shrink: 0;
  transition:
    text-shadow 0.3s ease,
    transform 0.2s ease;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.news-ticker-link:hover .news-ticker-text {
  text-shadow:
    0 0 15px var(--neon-yellow),
    0 0 20px var(--neon-yellow);
  transform: scale(1.05);
}

.news-ticker-link:active .news-ticker-text {
  text-shadow:
    0 0 15px var(--neon-yellow),
    0 0 20px var(--neon-yellow);
  transform: scale(0.98);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* === ABOUT BOX === */
.about-box {
  max-width: 800px !important;
  margin: 40px auto;
  padding: 40px 35px;
  background: black;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  position: relative;
  padding-top: 0px;
  margin-top: 0;
}

.about-heading {
  font-family: "Orbitron", sans-serif;
  font-size: 2.8rem;
  margin-bottom: 35px;
  position: relative;
  display: inline-block;
  letter-spacing: 2px;
}

.neon-gradient {
  background: linear-gradient(90deg, #ff00ff, #00ffff, #ff00ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s linear infinite;
  filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.8))
    drop-shadow(0 0 25px rgba(255, 0, 255, 0.6));
}

@keyframes gradientShift {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.title-underline {
  position: absolute;
  bottom: -8px;
  left: 10%;
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffcc00, transparent);
  box-shadow: 0 0 10px #ffcc00;
  animation: underlineFlicker 2s ease-in-out infinite;
}

@keyframes underlineFlicker {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.about-intro {
  font-family: "Lato";
  font-size: 1.1rem;
  line-height: 1.8em;
  color: #ffffff;
  margin: 25px auto;
  max-width: 95%;
  text-shadow: none;
}

/* Features List */
.features-list {
  margin: 35px auto;
  text-align: left;
  max-width: 800px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  padding: 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.feature-item:hover {
  background: rgba(0, 229, 255, 0.15);
  transform: translateX(8px);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
}

.feature-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  min-width: 40px;
  text-align: center;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 12px #00e5ff) drop-shadow(0 0 8px #00bfff);
  animation: iconPulse 3s ease-in-out infinite;
  color: #00e5ff;
  text-shadow:
    0 0 10px #00e5ff,
    0 0 20px rgba(0, 229, 255, 0.5);
}

.feature-content {
  font-family: "Lato";
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5em;
  text-align: left;
  color: #ffffff;
}

@keyframes iconPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 12px #00e5ff) drop-shadow(0 0 8px #00bfff);
  }
  50% {
    filter: drop-shadow(0 0 20px #00e5ff) drop-shadow(0 0 15px #00d0ff);
  }
}

.feature-item:hover .feature-icon {
  transform: scale(1.25);
  animation: none;
  filter: drop-shadow(0 0 20px #00ffff) drop-shadow(0 0 30px #00ffff);
}

.feature-title {
  color: #00e5ff;
  font-size: 1.05rem;
  font-weight: bold;
  text-shadow:
    0 0 10px #00e5ff,
    0 0 20px rgba(0, 229, 255, 0.7);
  transition: all 0.3s ease;
}

.feature-item:hover .feature-title {
  text-shadow:
    0 0 15px #00e5ff,
    0 0 30px #00e5ff,
    0 0 50px rgba(0, 229, 255, 0.8);
  color: #00ffff;
}

.feature-desc {
  color: #ffffff;
}

/* Dashboard Highlight */
.dashboard-highlight {
  margin: 35px auto;
  padding: 20px;
  background: rgba(0, 20, 50, 0.7);
  border: 2px solid #00e5ff;
  border-radius: 12px;
  box-shadow:
    0 0 25px rgba(0, 229, 255, 0.4),
    inset 0 0 20px rgba(0, 229, 255, 0.1);
  max-width: 90%;
  font-family: "Lato";
}

.dashboard-highlight p {
  font-size: 1rem;
  line-height: 1.8em;
  color: #00f0ff;
  margin: 0;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
  font-style: italic;
}

/* === CONTENT SECTION === */
.content-section {
  padding: 60px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 50px;
  justify-items: center;
}

/* Card Wrapper - Contains label and card */
.card-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* Individual Category Label - Above each card */
.individual-category-label {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  color: #00ffff;
  text-shadow:
    0 0 15px #00ffff,
    0 0 30px rgba(0, 255, 255, 0.7),
    0 0 40px rgba(0, 255, 255, 0.5);
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
}

/* Content Card with Image and Title Overlay - 6% smaller */
.content-card {
  position: relative;
  width: 94%;
  max-width: 376px;
  height: 423px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  border: 2px solid rgba(0, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.9);
}

.content-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 0 40px rgba(0, 255, 255, 0.6),
    0 0 60px rgba(255, 0, 204, 0.4),
    0 10px 40px rgba(0, 0, 0, 0.7);
  border-color: #ff00cc;
}

/* Card Image Container */
.card-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.4s ease;
}

.content-card:hover .card-image {
  transform: scale(1.1);
}

/* Dark Overlay for better text visibility */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

/* Title Overlay at the Top */
.card-title-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  z-index: 2;
  /*background: linear-gradient(*/
  /*  to bottom,*/
  /*  rgba(0, 0, 0, 0.9) 0%,*/
  /*  rgba(0, 0, 0, 0.6) 80%,*/
  /*  transparent 100%*/
  /*);*/
}

.card-title {
  font-family: "Lato", sans-serif;
  font-size: 1.2rem;
  color: #ffffff;
  text-shadow:
    0 0 5px rgba(0, 255, 255, 0.4),
    2px 2px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.4;
  margin: 0;
  font-weight: 600;
}

/* Content Details at Bottom */
.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px 20px;
  z-index: 2;
  /*background: linear-gradient(*/
  /*  to top,*/
  /*  rgba(0, 0, 0, 0.95) 0%,*/
  /*  rgba(0, 0, 0, 0.85) 70%,*/
  /*  transparent 100%*/
  /*);*/
}

.card-description {
  font-size: 0.95rem;
  color: #b3f0ff;
  line-height: 1.6;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.card-button {
  display: inline-block;
  padding: 10px 25px;
  background: rgba(0, 255, 255, 0.1);
  border: 2px solid #00ffff;
  color: #00ffff;
  border-radius: 8px;
  font-family: "Orbitron", sans-serif;
  font-size: 0.95rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.card-button:hover {
  background: rgba(0, 255, 255, 0.2);
  border-color: #ff00cc;
  color: #ff00cc;
  box-shadow: 0 0 20px rgba(255, 0, 204, 0.6);
  transform: scale(1.05);
}

/* Boost Badge */
.boost-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 0, 204, 0.2);
  border: 1px solid #ff00cc;
  border-radius: 5px;
  color: #ff00cc;
  font-size: 0.8rem;
  font-weight: bold;
  text-shadow: 0 0 5px #ff00cc;
  margin-left: 8px;
}

/* Loading State */
.loading-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #00ffff;
  font-family: "Orbitron", sans-serif;
  font-size: 1.1rem;
  text-shadow: 0 0 10px #00ffff;
}

/* Error State */
.error-message {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #ff00cc;
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  text-shadow: 0 0 10px #ff00cc;
  text-align: center;
  padding: 20px;
}

/* === Global Reset === */
* {
  box-sizing: border-box;
}

html {
  margin: 0;
  overflow: auto;
  background: black;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  width: 0px;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: black;
}

/* Animated Background */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.stage .rotate {
  position: absolute;
  width: 150%;
  height: 150%;
  left: -25%;
  top: -25%;
  transform: rotate(-30deg);
}

.stage span {
  position: absolute;
  border-radius: 10px;
  will-change: transform, opacity;
}

.page-content {
  position: relative;
  z-index: 1;
}

.stage span.s1 {
  background-color: rgb(0, 255, 255);
  box-shadow:
    0 0 5px rgba(0, 255, 255, 0.3),
    0 0 10px rgba(0, 255, 255, 0.3),
    0 0 20px rgba(0, 255, 255, 0.3),
    0 0 30px rgba(0, 255, 255, 0.3);
}

.stage span.s2 {
  background-color: rgb(128, 0, 128);
  box-shadow:
    0 0 5px rgba(128, 0, 128, 0.3),
    0 0 10px rgba(128, 0, 128, 0.3),
    0 0 20px rgba(128, 0, 128, 0.3),
    0 0 30px rgba(128, 0, 128, 0.3);
}

.stage span.s3 {
  background-color: rgb(139, 0, 0);
  box-shadow:
    0 0 5px rgba(139, 0, 0, 0.3),
    0 0 10px rgba(139, 0, 0, 0.3),
    0 0 20px rgba(139, 0, 0, 0.3),
    0 0 30px rgba(139, 0, 0, 0.3);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .content-card {
    max-width: 100%;
  }

  .individual-category-label {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 15px;
  }

  .hero-logo {
    width: 80%;
    max-width: 400px;
  }

  .tagline {
    font-size: 1rem;
    max-width: 90%;
    padding: 0 20px;
  }

  .content-section {
    padding: 40px 15px;
  }

  .content-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .content-card {
    height: 400px;
  }

  .features-list {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 600px;
  }

  .about-box {
    padding: 30px 25px;
    max-width: 90%;
  }

  .individual-category-label {
    font-size: 1.2rem;
    letter-spacing: 2px;
  }
}

@media (max-width: 450px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .individual-category-label {
    font-size: 1.1rem;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 40px 10px;
  }

  .hero-logo {
    width: 100%;
    max-width: 400px;
  }

  .tagline {
    font-size: 0.9rem;
    padding: 0 15px;
  }

  .content-section {
    padding: 30px 10px;
  }

  .content-card {
    height: 380px;
  }

  .card-category {
    font-size: 1.2rem;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-description {
    font-size: 0.9rem;
  }

  .about-box {
    padding: 25px 20px;
    max-width: 95%;
  }

  .individual-category-label {
    font-size: 1rem;
    letter-spacing: 1px;
  }
}
