/* Custom Font Settings */
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Roboto+Mono:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #00f2fe;
  --secondary-color: #4facfe;
  --dark-bg: #0a0a0a;
  --line-color: rgba(79, 172, 254, 0.3);
  --max-width: 1200px;
  --content-width: 1000px;
}

body {
  font-family: "Roboto Mono", monospace;
  background-color: var(--dark-bg);
  position: relative;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Orbitron", sans-serif;
}

/* Circuit Lines */
.circuit-lines {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
        90deg,
        transparent 49%,
        var(--line-color) 50%,
        transparent 51%
      )
      0 0 / 50px 100%,
    linear-gradient(
        0deg,
        transparent 49%,
        var(--line-color) 50%,
        transparent 51%
      )
      0 0 / 100% 50px;
}

/* Hero Background */
.hero-section {
  position: relative;
  background: url("../assets/images/cdt-banner.jpg") no-repeat center center;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 10, 10, 0.9) 0%,
    rgba(10, 10, 10, 0.7) 50%,
    rgba(10, 10, 10, 0.9) 100%
  );
}

/* Carousel Section */
.carousel-section {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.carousel-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

/* Carousel Line Decorations */
.carousel-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
        90deg,
        transparent 49%,
        var(--line-color) 50%,
        transparent 51%
      )
      0 0 / 100px 100%,
    linear-gradient(
        180deg,
        transparent 49%,
        var(--line-color) 50%,
        transparent 51%
      )
      0 0 / 100% 100px;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
}

.carousel-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-slide.active {
  display: block;
  opacity: 1;
}

.carousel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .carousel-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.carousel-content {
  padding: 1rem;
  position: relative;
}

.carousel-content::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  width: 60px;
  height: 60px;
  border-top: 2px solid var(--primary-color);
  border-left: 2px solid var(--primary-color);
  opacity: 0.7;
}

.carousel-content::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 60px;
  height: 60px;
  border-bottom: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
  opacity: 0.7;
}

.carousel-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 100%;
  min-height: 300px;
}

.carousel-image::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary-color), transparent 70%);
  border-radius: 14px;
  z-index: -1;
}

.carousel-image::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  border: 1px dashed rgba(0, 242, 254, 0.3);
  border-radius: 8px;
  z-index: 1;
  pointer-events: none;
}

.carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shadow-glow {
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid var(--line-color);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.carousel-dot::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-dot:hover::before,
.carousel-dot.active::before {
  opacity: 1;
}

.carousel-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* Navigation Styling */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(10, 10, 10, 0.8);
  border-bottom: 1px solid var(--line-color);
  transform: translateZ(0);
  position: relative;
}

.nav-container::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  opacity: 0.6;
}

.nav-container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
        -45deg,
        transparent 49.5%,
        var(--line-color) 49.8%,
        transparent 50.2%
      )
      0 0 / 24px 24px,
    linear-gradient(
        45deg,
        transparent 49.5%,
        var(--line-color) 49.8%,
        transparent 50.2%
      )
      0 0 / 24px 24px;
  mix-blend-mode: overlay;
  pointer-events: none;
  opacity: 0.05;
  z-index: 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  border-radius: 0 0 20px 20px;
  position: relative;
  z-index: 2;
}

.nav-wrapper::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--line-color),
    transparent,
    var(--line-color)
  );
  opacity: 0.3;
}

.nav-wrapper::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 5px;
  background: linear-gradient(
        90deg,
        transparent,
        var(--line-color),
        transparent
      )
      0 0 / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, var(--line-color) 20%, transparent 80%)
      0 2px / 80% 1px no-repeat,
    linear-gradient(90deg, transparent, var(--line-color) 40%, transparent 60%)
      0 4px / 60% 1px no-repeat;
  opacity: 0.4;
}

.nav-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-brand::after {
  content: "";
  position: absolute;
  right: -2rem;
  height: 24px;
  width: 1px;
  background: var(--line-color);
}

.nav-brand::before {
  content: "";
  position: absolute;
  left: -15px;
  top: -15px;
  width: 30px;
  height: 30px;
  border-top: 1px solid var(--primary-color);
  border-left: 1px solid var(--primary-color);
  opacity: 0.5;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  position: relative;
}

.nav-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -20px;
  right: -20px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line-color),
    transparent
  );
  opacity: 0.2;
}

.nav-menu::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: -20px;
  right: -20px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line-color),
    transparent
  );
  opacity: 0.2;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.nav-cta::before {
  content: "";
  position: absolute;
  right: -15px;
  top: -15px;
  width: 30px;
  height: 30px;
  border-top: 1px solid var(--primary-color);
  border-right: 1px solid var(--primary-color);
  opacity: 0.5;
}

/* Tech Card Design */
.tech-card {
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid var(--line-color);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.1);
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
}

.tech-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary-color));
}

/* Button Styling */
.tech-button {
  background: linear-gradient(45deg, var(--dark-bg), #1a1a1a);
  border: 1px solid var(--line-color);
  color: var(--primary-color);
  font-family: "Orbitron", sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.tech-button:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
  transform: translateY(-1px);
}

.tech-button::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(0, 242, 254, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: transform 0.6s ease;
}

.tech-button:hover::after {
  transform: rotate(45deg) translate(50%, 50%);
}

/* Stats Design */
.stat-box {
  border: 1px solid var(--line-color);
  background: rgba(15, 15, 15, 0.95);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
}

.stat-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color));
}

/* Text Glitch Effect */
.glitch-text {
  position: relative;
  text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
    -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
    0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  animation: glitch 3s infinite;
}

@keyframes glitch {
  0% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
      -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
      -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  15% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
      0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
      -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  49% {
    text-shadow: -0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
      0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  50% {
    text-shadow: none;
  }
  100% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
      -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
      -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
}

/* Meme-like Hover Effects */
.nav-link {
  position: relative;
  font-weight: 600;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--line-color);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container,
  .content-container {
    padding: 0 1rem;
  }

  .hero-section {
    padding: 80px 0;
  }

  .carousel-section {
    padding: 80px 0 40px;
  }

  .carousel-content {
    order: 2;
  }

  .carousel-image {
    order: 1;
    min-height: 200px;
  }

  .tech-button {
    transform: none;
  }

  .tech-button:hover {
    transform: translateY(-2px);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .showcase-section .grid {
    grid-template-columns: 1fr;
  }
}

/* Space Background Animation */
@keyframes twinkle {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000 url("../assets/stars.png") repeat;
  z-index: 0;
}

.twinkling {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent url("../assets/twinkling.png") repeat;
  z-index: 1;
  animation: twinkle 8s linear infinite;
}

/* Gradient Text Effect */
.gradient-text {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glass Effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

/* Custom Button Styles */
.btn-primary {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Features Grid Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid var(--line-color);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 242, 254, 0.1);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.feature-title {
  font-family: "Orbitron", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #a0aec0;
}

/* Showcase Section */
.showcase-section {
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.8), var(--dark-bg));
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.showcase-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line-color),
    transparent
  );
}

.showcase-card {
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid var(--line-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.1);
}

.showcase-icon {
  height: 180px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.9);
  overflow: hidden;
  position: relative;
}

.showcase-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 242, 254, 0.1),
    transparent 70%
  );
  z-index: 1;
  pointer-events: none;
}

.showcase-icon svg {
  width: 90%;
  height: 90%;
  z-index: 2;
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.5));
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.5));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.7));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.5));
  }
}

.showcase-image {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-image img {
  transform: scale(1.05);
}

.showcase-content {
  padding: 1.5rem;
}

.showcase-tag {
  display: inline-block;
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.showcase-title {
  font-family: "Orbitron", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: white;
}

.showcase-description {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #a0aec0;
  margin-bottom: 1.5rem;
}

.showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.showcase-link:hover {
  gap: 0.75rem;
}

.showcase-link svg {
  transition: transform 0.3s ease;
}

.showcase-link:hover svg {
  transform: translateX(5px);
}

/* Tech Line Decorations */
.tech-lines {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.tech-lines.top-left {
  top: 40px;
  left: 40px;
  width: 150px;
  height: 150px;
  border-top: 1px solid var(--primary-color);
  border-left: 1px solid var(--primary-color);
  opacity: 0.5;
}

.tech-lines.top-right {
  top: 40px;
  right: 40px;
  width: 100px;
  height: 100px;
  border-top: 1px solid var(--primary-color);
  border-right: 1px solid var(--primary-color);
  opacity: 0.5;
}

.tech-lines.bottom-left {
  bottom: 40px;
  left: 40px;
  width: 100px;
  height: 100px;
  border-bottom: 1px solid var(--primary-color);
  border-left: 1px solid var(--primary-color);
  opacity: 0.5;
}

.tech-lines.bottom-right {
  bottom: 40px;
  right: 40px;
  width: 150px;
  height: 150px;
  border-bottom: 1px solid var(--primary-color);
  border-right: 1px solid var(--primary-color);
  opacity: 0.5;
}

.line-corner {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 40%;
  height: 40%;
  max-width: 200px;
  max-height: 200px;
  pointer-events: none;
  z-index: 0;
}

.line-corner::before,
.line-corner::after {
  content: "";
  position: absolute;
  background: var(--line-color);
}

.line-corner::before {
  top: 0;
  left: 0;
  width: 30px;
  height: 1px;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

.line-corner::after {
  top: 0;
  left: 0;
  width: 1px;
  height: 30px;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

.tech-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
        45deg,
        transparent 48%,
        var(--line-color) 49%,
        transparent 51%
      )
      0 0 / 20px 20px,
    linear-gradient(
        -45deg,
        transparent 48%,
        var(--line-color) 49%,
        transparent 51%
      )
      0 0 / 20px 20px;
  mix-blend-mode: overlay;
  opacity: 0.2;
}

.controls-line {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  width: 40px;
  align-self: center;
}

.controls-line.left {
  margin-right: 10px;
}

.controls-line.right {
  margin-left: 10px;
}

/* Navigation Line Decorations */
.nav-line-decoration {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.nav-line-decoration.top-left {
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  border-left: 1px solid var(--line-color);
  border-top: 1px solid var(--line-color);
  opacity: 0.6;
}

.nav-line-decoration.top-right {
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  border-right: 1px solid var(--line-color);
  border-top: 1px solid var(--line-color);
  opacity: 0.6;
}

.brand-line {
  position: absolute;
  top: -10px;
  left: 0;
  width: 30px;
  height: 1px;
  background: var(--primary-color);
  opacity: 0.6;
  overflow: hidden;
}

.brand-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: white;
  animation: brand-line-pulse 3s ease-in-out infinite;
}

@keyframes brand-line-pulse {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.menu-line {
  height: 24px;
  width: 1px;
  background: var(--line-color);
  opacity: 0.4;
  position: relative;
  overflow: hidden;
}

.menu-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  animation: menu-line-pulse 4s ease-in-out infinite;
}

.menu-line.left::after {
  animation-delay: 0s;
}

.menu-line.right::after {
  animation-delay: 2s;
}

@keyframes menu-line-pulse {
  0% {
    top: -100%;
  }
  50% {
    top: 100%;
  }
  100% {
    top: 100%;
  }
}

.nav-circuit {
  position: absolute;
  bottom: 0;
  width: 150px;
  height: 40px;
  pointer-events: none;
  opacity: 0.3;
  z-index: 0;
}

.nav-circuit.left {
  left: 10%;
  background: linear-gradient(
        90deg,
        transparent 49%,
        var(--line-color) 50%,
        transparent 51%
      )
      0 0 / 8px 100%,
    linear-gradient(
        0deg,
        transparent 49%,
        var(--line-color) 50%,
        transparent 51%
      )
      0 0 / 100% 8px;
}

.nav-circuit.right {
  right: 10%;
  background: linear-gradient(
        90deg,
        transparent 49%,
        var(--line-color) 50%,
        transparent 51%
      )
      0 0 / 8px 100%,
    linear-gradient(
        0deg,
        transparent 49%,
        var(--line-color) 50%,
        transparent 51%
      )
      0 0 / 100% 8px;
}

/* Token Info Section */
.token-info-section {
  position: relative;
  margin-top: -40px;
  margin-bottom: 60px;
  z-index: 5;
}

.token-info-container {
  background: rgba(15, 15, 15, 0.9);
  border: 1px solid var(--line-color);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.token-info-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
}

.token-info-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      45deg,
      transparent 48%,
      var(--line-color) 49%,
      transparent 51%
    )
    0 0 / 30px 30px;
  opacity: 0.05;
  pointer-events: none;
}

.token-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .token-info-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.token-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 1.5rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid var(--line-color);
}

.token-info-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--primary-color);
  border-left: 2px solid var(--primary-color);
  opacity: 0.8;
}

.token-info-item::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
  opacity: 0.8;
}

.token-info-value {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.token-info-label {
  font-family: "Roboto Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a0aec0;
}

.token-address-container {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.token-address-label {
  font-family: "Orbitron", sans-serif;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: #a0aec0;
  text-transform: uppercase;
}

.token-address-box {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  width: 100%;
  max-width: 600px;
  position: relative;
  overflow: hidden;
}

.token-address {
  font-family: "Roboto Mono", monospace;
  font-size: 0.875rem;
  color: #fff;
  margin-right: 0.75rem;
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copy-button {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--line-color);
  color: var(--primary-color);
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  font-family: "Roboto Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-button:hover {
  background: rgba(0, 242, 254, 0.2);
  border-color: var(--primary-color);
}

.copy-button:active {
  transform: translateY(1px);
}

.copy-button svg {
  width: 14px;
  height: 14px;
}

.token-address-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 242, 254, 0.1),
    transparent
  );
  transform: translateX(-100%);
  animation: address-shine 5s infinite;
}

@keyframes address-shine {
  0% {
    transform: translateX(-100%);
  }
  20% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.copy-success {
  position: absolute;
  top: 0;
  right: -80px;
  background: rgba(16, 185, 129, 0.9);
  color: white;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateY(-10px);
}

.copy-success.show {
  opacity: 1;
  right: 0;
  transform: translateY(0);
}

/* Metrics Section with Charts */
.metrics-section {
  position: relative;
  padding: 6rem 0;
  margin-bottom: 3rem;
  background: radial-gradient(
    circle at center,
    rgba(20, 20, 35, 0.8),
    rgba(10, 10, 10, 0.95)
  );
  overflow: hidden;
  z-index: 1;
}

.metrics-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  opacity: 0.6;
  z-index: 0;
}

.metrics-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2300f2fe' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
  z-index: -1;
}

.metrics-container {
  position: relative;
  z-index: 2;
}

.metrics-heading {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.metrics-heading::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chart-card.large {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .chart-card.large {
    grid-column: span 2;
  }
}

.chart-card {
  background: rgba(15, 15, 20, 0.7);
  border: 1px solid var(--line-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chart-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.15);
}

.chart-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.05), transparent 80%);
  pointer-events: none;
}

.tech-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 1;
}

.tech-corner.top-left {
  top: 0;
  left: 0;
  border-top: 2px solid var(--primary-color);
  border-left: 2px solid var(--primary-color);
}

.tech-corner.top-right {
  top: 0;
  right: 0;
  border-top: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
}

.tech-corner.bottom-left {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid var(--primary-color);
  border-left: 2px solid var(--primary-color);
}

.tech-corner.bottom-right {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.chart-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chart-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.chart-icon svg {
  width: 18px;
  height: 18px;
}

.chart-title h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.chart-timeframe {
  display: flex;
  gap: 0.5rem;
}

.timeframe-btn {
  background: rgba(30, 30, 45, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  transition: all 0.2s ease;
}

.timeframe-btn:hover {
  background: rgba(40, 40, 60, 0.8);
  color: white;
}

.timeframe-btn.active {
  background: rgba(0, 242, 254, 0.2);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.chart-price,
.chart-metric {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.current-price,
.metric-value {
  font-family: "Orbitron", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(to right, #ffffff, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-change,
.metric-change {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.price-change.positive,
.metric-change.positive {
  background: rgba(16, 185, 129, 0.2);
  color: rgb(16, 185, 129);
}

.price-change.negative,
.metric-change.negative {
  background: rgba(239, 68, 68, 0.2);
  color: rgb(239, 68, 68);
}

.chart-container {
  height: 200px;
  width: 100%;
  margin: 0.5rem 0 1rem;
}

.chart-card.large .chart-container {
  height: 250px;
}

.chart-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.volume-value,
.update-time {
  color: white;
  font-weight: 500;
}

.distribution-legend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.legend-label {
  color: rgba(255, 255, 255, 0.7);
}

.legend-value {
  margin-left: auto;
  font-weight: 600;
}

/* Make ApexCharts more tech-styled */
.apexcharts-tooltip {
  background: rgba(15, 15, 20, 0.9) !important;
  border: 1px solid var(--line-color) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
  font-family: "Roboto Mono", monospace !important;
  backdrop-filter: blur(5px) !important;
}

.apexcharts-tooltip-title {
  background: rgba(0, 0, 0, 0.4) !important;
  border-bottom: 1px solid var(--line-color) !important;
  font-family: "Roboto Mono", monospace !important;
}

.apexcharts-xaxistooltip {
  background: rgba(15, 15, 20, 0.9) !important;
  border: 1px solid var(--line-color) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
  color: white !important;
  font-family: "Roboto Mono", monospace !important;
}

.apexcharts-xaxistooltip-bottom:before,
.apexcharts-xaxistooltip-bottom:after {
  border-bottom-color: var(--line-color) !important;
}

/* Custom Loading Animation for Charts */
@keyframes tech-loading {
  0% {
    transform: rotate(0deg);
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35;
  }
  100% {
    transform: rotate(360deg);
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124;
  }
}

.chart-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.chart-loading svg {
  width: 40px;
  height: 40px;
  animation: tech-loading 1.5s ease-in-out infinite;
}

.chart-loading circle {
  stroke: var(--primary-color);
  stroke-width: 4;
  fill: none;
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
}

/* Footer Styling */
.site-footer {
  position: relative;
  background: rgba(12, 12, 14, 0.95);
  padding: 4rem 0 2rem;
  overflow: hidden;
  border-top: 1px solid var(--line-color);
  margin-top: 3rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  opacity: 0.7;
}

.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      45deg,
      transparent 48%,
      var(--line-color) 49%,
      transparent 51%
    )
    0 0 / 30px 30px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 2fr;
  }
}

.footer-brand {
  position: relative;
}

.footer-brand::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  width: 30px;
  height: 30px;
  border-top: 1px solid var(--primary-color);
  border-left: 1px solid var(--primary-color);
  opacity: 0.7;
}

.footer-brand::after {
  content: "";
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  border-bottom: 1px solid var(--primary-color);
  border-right: 1px solid var(--primary-color);
  opacity: 0.7;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-logo::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
}

.footer-description {
  font-size: 0.8rem;
  line-height: 1.7;
  color: #a0aec0;
  max-width: 350px;
  position: relative;
  padding-left: 1rem;
}

.footer-description::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), transparent);
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  position: relative;
}

.footer-socials::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, var(--line-color), transparent);
}

.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-color);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--primary-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icon:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 242, 254, 0.2);
}

.social-icon::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary-color), transparent 70%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-icon:hover::before {
  opacity: 0.3;
}

.social-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.3), transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
}

.social-icon:hover::after {
  transform: translate(-50%, -50%) scale(1.5);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  position: relative;
}

@media (min-width: 576px) {
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-links::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--line-color),
    transparent,
    var(--line-color)
  );
  opacity: 0.3;
}

.footer-links::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line-color),
    transparent
  );
  opacity: 0.3;
}

.footer-links-section {
  position: relative;
}

.footer-links-section:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1rem;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--line-color),
    transparent
  );
  opacity: 0.3;
}

.footer-heading {
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 0.5rem;
  letter-spacing: 1px;
}

.footer-heading::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--primary-color);
  animation: footer-heading-pulse 3s ease-in-out infinite;
}

@keyframes footer-heading-pulse {
  0% {
    width: 20px;
  }
  50% {
    width: 40px;
  }
  100% {
    width: 20px;
  }
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 1rem;
  letter-spacing: 0.5px;
}

.footer-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 1px;
  background: var(--line-color);
  transition: width 0.3s ease, background 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-color);
  transform: translateX(3px);
}

.footer-link:hover::before {
  width: 8px;
  background: var(--primary-color);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line-color),
    transparent
  );
  opacity: 0.4;
}

.copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
  position: relative;
}

@media (min-width: 768px) {
  .copyright {
    margin-bottom: 0;
  }
}

.copyright::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, var(--line-color), transparent);
  opacity: 0.3;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-nav-link {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer-nav-link:hover {
  color: var(--primary-color);
}

.footer-nav-separator {
  color: var(--line-color);
  opacity: 0.5;
}

.tech-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 1;
}

.tech-corner.top-left {
  top: 0;
  left: 0;
  border-top: 2px solid var(--primary-color);
  border-left: 2px solid var(--primary-color);
}

.tech-corner.top-right {
  top: 0;
  right: 0;
  border-top: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
}

.tech-corner.bottom-left {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid var(--primary-color);
  border-left: 2px solid var(--primary-color);
}

.tech-corner.bottom-right {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
}

.tech-lines {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.tech-lines.top-left {
  top: 40px;
  left: 40px;
  width: 150px;
  height: 150px;
  border-top: 1px solid var(--primary-color);
  border-left: 1px solid var(--primary-color);
  opacity: 0.5;
}

.tech-lines.top-right {
  top: 40px;
  right: 40px;
  width: 100px;
  height: 100px;
  border-top: 1px solid var(--primary-color);
  border-right: 1px solid var(--primary-color);
  opacity: 0.5;
}

.tech-lines.bottom-left {
  bottom: 40px;
  left: 40px;
  width: 100px;
  height: 100px;
  border-bottom: 1px solid var(--primary-color);
  border-left: 1px solid var(--primary-color);
  opacity: 0.5;
}

.tech-lines.bottom-right {
  bottom: 40px;
  right: 40px;
  width: 150px;
  height: 150px;
  border-bottom: 1px solid var(--primary-color);
  border-right: 1px solid var(--primary-color);
  opacity: 0.5;
}

/* Circuit pattern overlay for footer */
.circuit-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      to right,
      transparent 49%,
      var(--line-color) 50%,
      transparent 51%
    ),
    linear-gradient(
      to bottom,
      transparent 49%,
      var(--line-color) 50%,
      transparent 51%
    );
  background-size: 40px 40px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* Animated line effects */
.footer-pulse-line {
  position: absolute;
  height: 1px;
  background: var(--primary-color);
  opacity: 0.6;
  overflow: hidden;
}

.footer-pulse-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  animation: footer-line-pulse 4s linear infinite;
}

.footer-pulse-line.top {
  top: 15px;
  left: 10%;
  width: 80%;
  animation-delay: 0s;
}

.footer-pulse-line.bottom {
  bottom: 15px;
  left: 30%;
  width: 40%;
  animation-delay: 2s;
}

@keyframes footer-line-pulse {
  0% {
    left: -50%;
  }
  100% {
    left: 100%;
  }
}

/* Additional horizontal bar at the very bottom */
.footer-tech-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  opacity: 0.7;
}

.footer-tech-bar::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 20%,
    var(--line-color) 30%,
    var(--line-color) 35%,
    transparent 45%,
    transparent 55%,
    var(--line-color) 65%,
    var(--line-color) 70%,
    transparent 80%
  );
  opacity: 0.3;
}

/* Partners Section */
.partners-section {
  position: relative;
  padding: 6rem 0;
  background-color: rgba(0, 242, 254, 0.02);
  overflow: hidden;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.partner-card {
  position: relative;
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid var(--line-color);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.partner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(0, 242, 254, 0.1),
    transparent
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.1);
}

.partner-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  position: relative;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

.partner-card:hover .partner-logo img {
  filter: brightness(1.1);
}

.partner-name {
  font-family: "Orbitron", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.partner-type {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.partner-card::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 242, 254, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.partner-card:hover::after {
  opacity: 1;
}

/* Token Visualization Section */
.token-visualization-section {
  position: relative;
  padding: 8rem 0;
  background: linear-gradient(to bottom, rgba(0, 242, 254, 0.05), transparent);
  overflow: hidden;
}

.visualization-container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

.unified-visualization-card {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid var(--line-color);
  border-radius: 16px;
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  transform-style: preserve-3d;
}

.unified-visualization-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(0, 242, 254, 0.1),
    transparent
  );
  pointer-events: none;
  z-index: 1;
}

#tokenCanvas {
  width: 100% !important;
  height: 600px !important;
  position: relative;
  z-index: 0;
}

.visualization-labels {
  position: absolute;
  bottom: 2rem;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  font-family: "Orbitron", sans-serif;
  z-index: 2;
  pointer-events: none;
}

.label {
  color: var(--primary-color);
  font-size: 0.9rem;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
  position: relative;
  padding-left: 1.5rem;
  background: rgba(10, 10, 10, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--line-color);
}

.label::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 10px var(--primary-color);
}

/* Mobile Navigation Styles */
.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: white;
  font-family: "Orbitron", sans-serif;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(0, 242, 254, 0.1);
  border-color: #00f2fe;
  color: #00f2fe;
}

.mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 1rem;
  z-index: 50;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  /* Hero Section */
  .carousel-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem;
  }

  .carousel-content {
    text-align: center;
    align-items: center;
  }

  .carousel-image {
    max-width: 100%;
    margin: 0 auto;
  }

  /* Token Info Section */
  .token-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .token-info-item {
    padding: 1rem;
  }

  .token-info-value {
    font-size: 1.25rem;
  }

  .token-address-box {
    flex-direction: column;
    gap: 1rem;
  }

  .token-address {
    font-size: 0.75rem;
    padding: 0.5rem;
  }

  /* Partners Section */
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
  }

  /* Features Section */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
  }

  /* Showcase Section */
  .showcase-card {
    padding: 1.5rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  /* Token Info Section */
  .token-info-grid {
    grid-template-columns: 1fr;
  }

  /* Partners Section */
  .partners-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-links {
    grid-template-columns: 1fr;
  }
}
