* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none !important;
}

:root {
  --primary-black: #0a0a0a;
  --carbon-dark: #121212;
  --carbon-medium: #1a1a1a;
  --carbon-light: #2a2a2a;
  --metal-dark: #3a3a3a;
  --metal-light: #4a4a4a;
  --accent-red: #ff3333;
  --accent-blue: #00a8ff;
  --accent-green: #00ff88;
  --accent-purple: #9945ff;
  --accent-cyan: #00ffff;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-dim: #808080;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Orbitron", "Rajdhani", sans-serif;
  background: var(--primary-black);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px
    ),
    linear-gradient(
      135deg,
      var(--primary-black) 0%,
      var(--carbon-dark) 25%,
      var(--carbon-medium) 50%,
      var(--carbon-dark) 75%,
      var(--primary-black) 100%
    );
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 51, 51, 0.05) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 51, 51, 0.05) 2px, transparent 2px);
  background-size: 150px 150px;
  animation: gridMove 20s linear infinite;
  z-index: -1;
  opacity: 0.5;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(150px, 150px);
  }
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--primary-black);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition:
    opacity 0.5s,
    visibility 0.5s;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  text-align: center;
}
.loader-Crypto {
  width: 100px;
  height: 100px;
  position: relative;
  margin: 0 auto 30px;
}
.Crypto-face {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  transform-origin: center;
  animation: CryptoRotate 3s linear infinite;
}
.Crypto-face:nth-child(1) {
  border-image: linear-gradient(45deg, var(--accent-red), var(--accent-blue)) 1;
  animation-delay: 0s;
}
.Crypto-face:nth-child(2) {
  border-image: linear-gradient(45deg, var(--accent-blue), var(--accent-green))
    1;
  transform: rotate(60deg);
  animation-delay: 0.2s;
}
.Crypto-face:nth-child(3) {
  border-image: linear-gradient(
      45deg,
      var(--accent-green),
      var(--accent-purple)
    )
    1;
  transform: rotate(120deg);
  animation-delay: 0.4s;
}
@keyframes CryptoRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(18, 18, 18, 0.98) 0%,
    rgba(18, 18, 18, 0.9) 50%,
    rgba(18, 18, 18, 0) 100%
  );
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}
.header.scrolled {
  background: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(30px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-icon {
  width: 45px;
  height: 45px;
  margin-right: 15px;
}
.logo-Crypto {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.Crypto-shape {
  width: 30px;
  height: 30px;
  position: relative;
  transform: rotate(45deg);
  background: linear-gradient(
    135deg,
    var(--accent-red) 0%,
    var(--accent-blue) 33%,
    var(--accent-green) 66%,
    var(--accent-purple) 100%
  );
  animation: CryptoShine 3s ease-in-out infinite;
}
@keyframes CryptoShine {
  0%,
  100% {
    filter: brightness(1) hue-rotate(0deg);
    transform: rotate(45deg) scale(1);
  }
  50% {
    filter: brightness(1.5) hue-rotate(10deg);
    transform: rotate(45deg) scale(1.1);
  }
}
.Crypto-shape::before,
.Crypto-shape::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  opacity: 0.5;
}
.Crypto-shape::before {
  transform: rotate(60deg);
}
.Crypto-shape::after {
  transform: rotate(-60deg);
}
.logo-text {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.logo-text .Crypto {
  background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-text .Lab {
  color: var(--text-secondary);
  font-weight: 300;
  margin-left: 5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 10px;
  align-items: center;
}
.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 12px 25px;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 14px;
}
.nav-menu a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  transition: width 0.3s ease;
}
.nav-menu a:hover {
  color: var(--text-primary);
}
.nav-menu a:hover::before,
.nav-menu a.active::before {
  width: 80%;
}
.nav-menu a.active {
  color: var(--accent-cyan);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}
.menu-toggle span {
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 20px 80px;
  background: radial-gradient(
    ellipse at center,
    rgba(153, 69, 255, 0.1) 0%,
    transparent 50%
  );
}
.carousel-container {
  width: 100%;
  max-width: 1600px;
  height: 650px;
  perspective: 1200px;
  position: relative;
  padding-top: 60px;
}
.carousel {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}
.carousel-item {
  position: absolute;
  width: 400px;
  height: 550px;
  left: 50%;
  top: 50%;
  transform-style: preserve-3d;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  transform-origin: center center;
}

.carousel-item .card {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--carbon-medium), var(--carbon-dark));
  border: 2px solid var(--metal-dark);
  border-radius: 20px;
  padding: 25px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.carousel-item .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: scanline 3s linear infinite;
  z-index: 1;
}

@keyframes scanline {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(550px);
  }
}

.card-number {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 60px;
  font-weight: 900;
  color: rgba(153, 69, 255, 0.08);
  font-family: "Orbitron", monospace;
  z-index: 0;
  pointer-events: none;
}

.card-image {
  width: 100%;
  height: 200px;
  background: var(--carbon-dark);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--metal-dark);
  flex-shrink: 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%) contrast(1.2);
  transition: all 0.5s ease;
}

.carousel-item:hover .card-image img {
  filter: grayscale(0%) contrast(1.3);
  transform: scale(1.1);
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(
    135deg,
    var(--text-primary),
    var(--accent-purple)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  flex-shrink: 0;
}

.card-description {
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  font-size: 12px;
  text-align: center;
  flex-grow: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.card-tech {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 15px;
  flex-shrink: 0;
}

.tech-badge {
  padding: 4px 10px;
  background: rgba(153, 69, 255, 0.1);
  border: 1px solid var(--accent-purple);
  border-radius: 20px;
  font-size: 10px;
  color: var(--accent-purple);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-cta {
  display: block;
  margin: 0 auto;
  text-align: center;
  width: fit-content;
  padding: 8px 22px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border: none;
  border-radius: 30px;
  color: var(--text-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(153, 69, 255, 0.3);
  font-size: 13px;
  flex-shrink: 0;
}

.card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(153, 69, 255, 0.5);
}

/* Responsive card sizes */
@media (max-width: 1024px) {
  .carousel-item {
    width: 350px;
    height: 480px;
  }

  .card-image {
    height: 170px;
  }

  .card-title {
    font-size: 18px;
  }

  .card-description {
    font-size: 11px;
  }

  .card-number {
    font-size: 50px;
  }
}

@media (max-width: 768px) {
  .carousel-item {
    width: 300px;
    height: 460px;
  }

  .card-image {
    height: 150px;
  }

  .card-title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .card-description {
    font-size: 10px;
    -webkit-line-clamp: 3;
  }

  .tech-badge {
    padding: 3px 8px;
    font-size: 9px;
  }

  .card-cta {
    padding: 6px 18px;
    font-size: 11px;
  }

  .card-number {
    font-size: 40px;
    top: 10px;
    right: 15px;
  }
}
.card-image {
  width: 100%;
  height: 250px;
  background: var(--carbon-dark);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--metal-dark);
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%) contrast(1.2);
  transition: all 0.5s ease;
}
.carousel-item:hover .card-image img {
  filter: grayscale(0%) contrast(1.3);
  transform: scale(1.1);
}
.card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(
    135deg,
    var(--text-primary),
    var(--accent-purple)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}
.card-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 14px;
  text-align: center;
}
.card-tech {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.tech-badge {
  padding: 5px 12px;
  background: rgba(153, 69, 255, 0.1);
  border: 1px solid var(--accent-purple);
  border-radius: 20px;
  font-size: 12px;
  color: var(--accent-purple);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.card-cta {
  display: block;
  margin: 15px auto 0 auto;
  text-align: center;
  width: fit-content;
  padding: 10px 25px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border: none;
  border-radius: 30px;
  color: var(--text-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(153, 69, 255, 0.3);
}
.card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(153, 69, 255, 0.5);
}
.carousel-controls {
  position: absolute;
  bottom: -85px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 100;
}
.carousel-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--carbon-medium), var(--carbon-dark));
  border: 2px solid var(--metal-dark);
  border-radius: 50%;
  color: var(--accent-purple);
  font-size: 24px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.carousel-btn:hover {
  border-color: var(--accent-purple);
  box-shadow:
    0 8px 25px rgba(153, 69, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}
.carousel-indicators {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 100;
}
.indicator {
  width: 12px;
  height: 12px;
  background: var(--metal-dark);
  border: 1px solid var(--metal-light);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.indicator.active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  box-shadow: 0 0 10px rgba(153, 69, 255, 0.5);
  transform: scale(1.3);
}

.philosophy-section {
  padding: 120px 30px;
  background: linear-gradient(
    180deg,
    var(--primary-black) 0%,
    rgba(153, 69, 255, 0.02) 50%,
    var(--primary-black) 100%
  );
  position: relative;
  overflow: hidden;
}
.philosophy-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.Crypto-line {
  width: 100%;
  height: 2px;
  margin: 0 auto 60px;
  position: relative;
  overflow: hidden;
  background: var(--carbon-medium);
}
.Crypto-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-red) 20%,
    var(--accent-blue) 40%,
    var(--accent-green) 60%,
    var(--accent-purple) 80%,
    transparent
  );
  animation: CryptoSweep 4s ease-in-out infinite;
}
@keyframes CryptoSweep {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
.philosophy-headline {
  font-size: 56px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 30px;
  line-height: 1.2;
  background: linear-gradient(
    135deg,
    var(--accent-cyan) 0%,
    var(--accent-purple) 25%,
    var(--accent-blue) 50%,
    var(--accent-green) 75%,
    var(--accent-cyan) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradientFlow 5s ease infinite;
}
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.philosophy-subheading {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 80px;
  line-height: 1.6;
  font-weight: 300;
}
.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}
.pillar {
  position: relative;
  padding: 40px 30px;
  background: linear-gradient(
    135deg,
    rgba(42, 42, 42, 0.2),
    rgba(26, 26, 26, 0.3)
  );
  border: 1px solid var(--metal-dark);
  border-radius: 20px;
  transition: all 0.4s ease;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-purple),
    var(--accent-blue),
    var(--accent-green)
  );
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.pillar:hover::before {
  transform: scaleX(1);
}
.pillar:hover {
  transform: translateY(-10px);
  border-color: var(--accent-purple);
  box-shadow: 0 20px 40px rgba(153, 69, 255, 0.2);
  background: linear-gradient(
    135deg,
    rgba(153, 69, 255, 0.05),
    rgba(26, 26, 26, 0.3)
  );
}
.pillar-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  position: relative;
}
.pillar-icon::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-radius: 50%;
  opacity: 0.2;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.1;
  }
}
.pillar-title {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  color: var(--text-primary);
}
.pillar-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.philosophy-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 20s infinite linear;
}
@keyframes float-particle {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

.skills-section {
  padding: 120px 30px;
  background: var(--carbon-dark);
  position: relative;
  overflow: hidden;
}
.skills-container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 80px;
}
.section-title {
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  background: linear-gradient(
    135deg,
    var(--text-primary),
    var(--accent-purple)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}
.skills-hexagon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
}
.skill-hexagon {
  width: 200px;
  height: 230px;
  position: relative;
  margin: 30px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.skill-hexagon:hover {
  transform: translateY(-10px);
}
.hexagon-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform: rotate(30deg);
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    var(--carbon-medium),
    var(--carbon-light)
  );
  border: 2px solid var(--metal-dark);
}
.skill-hexagon:hover .hexagon-inner {
  border-color: var(--accent-purple);
  box-shadow: 0 0 30px rgba(153, 69, 255, 0.5);
}
.hexagon-content {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform: rotate(-30deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.skill-icon-hex {
  font-size: 48px;
  margin-bottom: 15px;
  color: var(--accent-purple);
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.skill-name-hex {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 10px;
  text-align: center;
}
.skill-level {
  width: 100%;
  height: 4px;
  background: var(--carbon-dark);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.skill-level-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  border-radius: 2px;
  position: relative;
  animation: fillLevel 2s ease-out;
}
@keyframes fillLevel {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

.skill-percentage-hex {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
  font-weight: 600;
}
.skill-categories {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.category-tab {
  padding: 12px 30px;
  background: var(--carbon-medium);
  border: 1px solid var(--metal-dark);
  border-radius: 30px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}
.category-tab:hover {
  background: rgba(153, 69, 255, 0.1);
  border-color: var(--accent-purple);
  color: var(--text-primary);
}
.category-tab.active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-color: var(--accent-purple);
  color: var(--text-primary);
  box-shadow: 0 5px 20px rgba(153, 69, 255, 0.3);
}
.score {
  margin-top: 10px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}
.score-bar {
  width: 80%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  margin: 8px auto;
  border-radius: 10px;
  overflow: hidden;
}
.score-fill {
  height: 100%;
  background: linear-gradient(90deg, #00c6ff, #a044ff);
  border-radius: 10px;
}

.encryption-zone {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 100px 30px;
  padding-bottom: 220px;
  background: linear-gradient(
    180deg,
    var(--primary-black) 0%,
    rgba(153, 69, 255, 0.03) 30%,
    var(--carbon-dark) 70%,
    var(--primary-black) 100%
  );
  border-top: 1px solid rgba(153, 69, 255, 0.3);
  margin-bottom: -120px;
  margin-top: 120px;
  overflow: hidden;
}
.encryption-zone > *:not(.encryption-particles):not(.encryption-prism) {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.encryption-zone::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 2px,
      rgba(255, 255, 255, 0.02) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 2px,
      rgba(255, 255, 255, 0.02) 4px
    );
  pointer-events: none;
  z-index: 0;
}
.encryption-zone::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  animation: gridFloat 25s linear infinite;
}
@keyframes gridFloat {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}
.encryption-prism {
  width: 100%;
  height: 2px;
  margin: 0 auto 40px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  z-index: 2;
}
.encryption-prism::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-red) 20%,
    var(--accent-blue) 40%,
    var(--accent-green) 60%,
    var(--accent-purple) 80%,
    transparent
  );
  animation: CryptoSweep 4s ease-in-out infinite;
}
.encryption-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}
.encryption-header .section-title {
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  background: linear-gradient(
    135deg,
    var(--accent-cyan),
    var(--accent-purple),
    var(--accent-blue)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 6s ease infinite;
  background-size: 200% 200%;
  margin-bottom: 15px;
}
.input__container {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(15px);
  border: 1px solid var(--metal-dark);
  border-radius: 28px;
  padding: 35px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}
.input__container:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 0 40px rgba(153, 69, 255, 0.25);
}
.input__container::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  filter: blur(35px);
  border-radius: 28px;
  background:
    radial-gradient(at 47% 69%, rgba(153, 69, 255, 0.3), transparent 60%),
    radial-gradient(at 9% 32%, rgba(0, 168, 255, 0.3), transparent 60%);
}
.input__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
  color: var(--accent-cyan);
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.4);
}
.input__label::before {
  content: "🔒";
  display: inline-block;
  font-size: 28px;
  filter: drop-shadow(0 0 3px var(--accent-purple));
  animation: float 4s infinite ease-in-out;
}
.algo-selector {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.algo-selector-header {
  width: 100%;
  max-width: 1400px;
  margin: 7% auto -50px;
  padding: 0 30px;
}

.algo-selector-container {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.9),
    rgba(18, 18, 18, 0.95)
  );
  border: 1px solid var(--metal-dark);
  border-radius: 20px;
  padding: 20px 30px;
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  flex-wrap: wrap;
  justify-content: center;
  border-color: var(--accent-purple);
  box-shadow: 0 10px 40px rgba(153, 69, 255, 0.2);
}

.algo-selector-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
  white-space: nowrap;
}

.algo-label-icon {
  font-size: 24px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.algo-dropdown {
  flex: 1;
  min-width: 250px;
  background: var(--carbon-dark);
  border: 2px solid var(--metal-dark);
  border-radius: 15px;
  padding: 14px 20px;
  color: var(--text-primary);
  font-family: "Orbitron", monospace;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%239945ff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 50px;
}

.algo-dropdown:hover {
  border-color: var(--accent-purple);
  background-color: black;
  box-shadow: 0 0 20px rgba(153, 69, 255, 0.2);
}

.algo-dropdown:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 25px rgba(153, 69, 255, 0.4);
  background: var(--carbon-medium);
}

.algo-dropdown option {
  background: var(--carbon-dark);
  color: var(--text-primary);
  font-family: "Orbitron", monospace;
  font-size: 14px;
  padding: 12px;
  border: none;
}

.algo-dropdown option:hover,
.algo-dropdown option:checked {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  color: white;
}

.algorithms::before {
  display: none;
}

@media (max-width: 768px) {
  .algo-selector-header {
    padding: 0 15px;
    margin-bottom: 30px;
  }

  .algo-selector-container {
    flex-direction: column;
    padding: 15px 20px;
    gap: 15px;
  }

  .algo-selector-label {
    font-size: 16px;
  }

  .algo-dropdown {
    width: 100%;
    min-width: unset;
    font-size: 14px;
    padding: 12px 15px;
    background-position: right 15px center;
  }
}

.crypto-select {
  background: var(--carbon-dark);
  border: 1px solid var(--metal-light);
  border-radius: 40px;
  padding: 12px 20px;
  color: var(--text-primary);
  font-family: "Orbitron", monospace;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
}
.crypto-select:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(153, 69, 255, 0.3);
}
.key-params-panel {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  padding: 15px;
  margin-bottom: 20px;
  border-left: 3px solid var(--accent-purple);
}
.param-group {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.param-group label {
  font-size: 13px;
  color: var(--text-secondary);
}
.param-input {
  background: var(--carbon-dark);
  border: 1px solid var(--metal-light);
  border-radius: 20px;
  padding: 8px 15px;
  color: var(--text-primary);
  font-family: monospace;
  width: 100px;
  text-align: center;
}
.param-input:focus {
  outline: none;
  border-color: var(--accent-purple);
}
.input {
  width: 100%;
  background: var(--carbon-dark);
  border: 1px solid var(--metal-light);
  border-radius: 20px;
  padding: 16px 22px;
  font-family: "Orbitron", monospace;
  font-size: 16px;
  color: var(--text-primary);
  transition: all 0.25s;
  margin-bottom: 20px;
}
.input:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 15px rgba(153, 69, 255, 0.5);
  background: var(--carbon-medium);
  outline: none;
}
.input__description {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 5px;
}
.crypto-buttons {
  display: flex;
  gap: 15px;
}
.crypto-btn {
  padding: 10px 28px;
  background: linear-gradient(135deg, var(--carbon-medium), var(--carbon-dark));
  border: 1px solid var(--metal-dark);
  border-radius: 40px;
  font-family: "Orbitron", monospace;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
}
.crypto-btn:hover {
  border-color: var(--accent-purple);
  color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 198, 255, 0.3);
  transform: translateY(-2px);
}
#encryptBtn {
  background: linear-gradient(
    135deg,
    rgba(153, 69, 255, 0.2),
    rgba(0, 168, 255, 0.2)
  );
  border-color: var(--accent-purple);
  color: var(--accent-purple);
}
#encryptBtn:hover {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  color: white;
}
#decryptBtn {
  background: rgba(255, 51, 51, 0.08);
  border-color: rgba(255, 51, 51, 0.4);
  color: #ff8888;
}
#decryptBtn:hover {
  background: rgba(255, 51, 51, 0.2);
  border-color: var(--accent-red);
  color: var(--accent-red);
}
.crypto-output {
  margin-top: 25px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  color: var(--accent-green);
  word-break: break-all;
  border-top: 1px dashed var(--metal-dark);
  padding-top: 18px;
  display: none;
}
.code-section {
  margin-top: 20px;
  text-align: center;
}
.code-toggle-btn {
  background: var(--carbon-medium);
  border: 1px solid var(--metal-dark);
  border-radius: 30px;
  padding: 8px 20px;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: "Orbitron", monospace;
  font-size: 12px;
  transition: all 0.3s;
}
.code-toggle-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}
.algorithm-code-panel {
  margin-top: 15px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 16px;
  padding: 15px;
  text-align: left;
  overflow-x: auto;
  border: 1px solid var(--metal-dark);
}
.code-snippet {
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: #ccffcc;
  white-space: pre-wrap;
  word-break: break-word;
}
.encryption-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.particle-dot {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent-cyan);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle 18s infinite linear;
  box-shadow: 0 0 4px var(--accent-cyan);
}
@keyframes floatParticle {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

.footer {
  padding: 60px 30px 30px;
  padding-top: 150px;
  background: var(--primary-black);
  border-top: 1px solid var(--metal-dark);
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.footer-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 14px;
}
.footer-social {
  display: flex;
  gap: 15px;
}
.social-icon {
  width: 40px;
  height: 40px;
  background: var(--carbon-medium);
  border: 1px solid var(--metal-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}
.social-icon:hover {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-color: var(--accent-purple);
  color: var(--text-primary);
  transform: translateY(-3px);
}
.footer-section h4 {
  color: var(--accent-purple);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 10px;
  text-shadow: 0 0 8px rgba(0, 198, 255, 0.5);
}
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--metal-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.copyright {
  color: var(--text-dim);
  font-size: 14px;
}
.name-pulse:hover {
  animation: smooth-pulse 10s ease-in-out infinite 0s;
}
@keyframes smooth-pulse {
  15% {
    color: rgba(100, 200, 255, 1);
    text-shadow:
      0 0 10px rgba(100, 200, 255, 1),
      0 0 15px rgba(100, 200, 255, 1);
    margin-left: 10px;
  }
  30% {
    color: var(--accent-purple);
    text-shadow:
      0 0 10px var(--accent-purple),
      0 0 15px var(--accent-purple),
      0 0 20px var(--accent-purple);
    margin-left: 0px;
  }
  50% {
    color: rgba(255, 105, 180, 1);
    text-shadow:
      0 0 10px rgba(255, 105, 180, 1),
      0 0 15px rgba(255, 105, 180, 1);
    margin-left: 10px;
  }
  70% {
    color: #ffffff;
    text-shadow:
      0 0 10px #fff,
      0 0 15px #fff,
      0 0 20px #fff;
    margin-left: 0px;
  }
  85% {
    color: rgba(0, 150, 255, 0.4);
    text-shadow:
      0 0 10px rgba(0, 150, 255, 0.5),
      0 0 15px rgba(0, 150, 255, 0.5);
    margin-left: 10px;
  }
  100% {
    color: var(--accent-purple);
    text-shadow: 0 0 10px var(--accent-purple);
    margin-left: 0px;
  }
}
.footer-heading {
  margin-right: 100px;
}
.cursor {
  pointer-events: none;
}
.cursor__ball {
  position: fixed;
  top: 0;
  left: 0;
  mix-blend-mode: difference;
  z-index: 9999;
}
.cursor__ball circle {
  fill: #ffffff;
}
.cursor__ball--big {
  width: 30px;
  height: 30px;
}
.cursor__ball--small {
  width: 10px;
  height: 10px;
}
@media (max-width: 1024px) {
  .carousel-item {
    width: 350px;
    height: 480px;
  }
  .philosophy-pillars {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 85px;
    flex-direction: column;
    background: rgba(18, 18, 18, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 40px 0;
    border-bottom: 1px solid var(--metal-dark);
  }
  .nav-menu.active {
    left: 0;
  }
  .carousel-item {
    width: 300px;
    height: 460px;
  }
  .philosophy-headline {
    font-size: 36px;
  }
  .section-title {
    font-size: 32px;
  }
  .skill-hexagon {
    width: 150px;
    height: 170px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
  .encryption-zone {
    padding: 80px 20px;
  }
  .encryption-header .section-title {
    font-size: 32px;
  }
  .input__container {
    padding: 20px;
  }
  .input__description {
    flex-direction: column;
    text-align: center;
  }
  .crypto-buttons {
    justify-content: center;
  }
}

.caesar-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  background: radial-gradient(
    ellipse at center,
    rgba(153, 69, 255, 0.1) 0%,
    transparent 50%
  );
}

.caesar-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

.cipher-wheel-section {
  background: linear-gradient(135deg, var(--carbon-medium), var(--carbon-dark));
  border: 1px solid var(--metal-dark);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.3s ease,
    border-color 0.3s,
    opacity 0.3s ease;
  width: 100%;
  max-width: 500px;
}

.encryption-box {
  background: linear-gradient(135deg, var(--carbon-medium), var(--carbon-dark));
  border: 1px solid var(--metal-dark);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.3s ease,
    border-color 0.3s,
    width 0.4s ease,
    max-width 0.4s ease;
  width: 200%;
  max-width: 1200px;
  margin: 0 auto;
}

.caesar-container:has(.cipher-wheel-section[style*="display: block"])
  .encryption-box,
.caesar-container.wheel-visible .encryption-box {
  width: 100%;
  max-width: 600px;
}

.caesar-container.single-column {
  grid-template-columns: 1fr;
}

.cipher-wheel-section:hover,
.encryption-box:hover {
  border-color: var(--accent-purple);
  transform: translateY(-5px);
}

.cipher-wheel-section h2,
.encryption-box h2 {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cipher {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#canvas {
  display: flex;
  justify-content: center;
  width: 100%;
}

#canvas svg {
  width: min(100%, 400px);
  height: auto;
  cursor: grab;
  transition: filter 0.2s;
}

#canvas svg:active {
  cursor: grabbing;
}

.actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.actions input {
  background: var(--carbon-dark);
  border: 1px solid var(--metal-dark);
  color: var(--text-primary);
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 16px;
  width: 90px;
  text-align: center;
  font-family: "Orbitron", monospace;
}

.actions button {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border: none;
  padding: 10px 25px;
  border-radius: 30px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.actions button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(153, 69, 255, 0.5);
}

.wheel-hint {
  text-align: center;
  color: var(--accent-cyan);
  font-size: 13px;
  margin-top: 10px;
  letter-spacing: 1px;
}

.input-group {
  margin-bottom: 25px;
  width: 100%;
}

.input-group label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 1px;
  text-align: left;
}

.input-group textarea {
  width: 100%;
  padding: 12px;
  background: var(--carbon-dark);
  border: 1px solid var(--metal-dark);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: "Orbitron", monospace;
  resize: vertical;
  font-size: 14px;
}

.input-group textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(153, 69, 255, 0.3);
}

.output {
  background: var(--carbon-dark);
  border: 1px solid var(--metal-dark);
  border-radius: 10px;
  padding: 15px;
  min-height: 100px;
  word-break: break-word;
  color: var(--accent-green);
  font-family: "Orbitron", monospace;
  font-size: 14px;
  line-height: 1.5;
  width: 100%;
}

.algorithms {
  margin: 0 auto;
  margin-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  max-width: 100%;
  flex-wrap: wrap;
  width: 100%;
}

.copy-btn {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Orbitron", monospace;
  white-space: nowrap;
  height: fit-content;
  display: block;
  margin: 15px auto;
}
@media (max-width: 1024px) {
  .caesar-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .cipher-wheel-section {
    max-width: 500px;
    width: 100%;
  }

  .encryption-box {
    width: 90%;
    max-width: 700px;
  }

  .caesar-container.wheel-visible .encryption-box {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .encryption-box {
    width: 95%;
    padding: 20px;
  }

  .caesar-container.wheel-visible .encryption-box {
    width: 100%;
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .actions input {
    width: 100%;
  }
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(42, 42, 42, 0.5);
  padding: 10px 20px;
  border-radius: 40px;
  border: 1px solid var(--metal-dark);
}

.slider-container input {
  flex: 1;
  height: 4px;
  -webkit-appearance: none;
  background: var(--metal-dark);
  border-radius: 2px;
  outline: none;
}

.slider-container input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px var(--accent-purple);
}

#shiftValue {
  font-family: "Orbitron", monospace;
  font-size: 20px;
  font-weight: bold;
  min-width: 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#wheelCanvas {
  display: flex;
  justify-content: center;
  width: 100%;
}
#wheelCanvas svg {
  width: min(100%, 400px);
  height: auto;
  cursor: grab;
}
#wheelCanvas svg:active {
  cursor: grabbing;
}

.random-btn {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border: none;
  padding: 10px 25px;
  border-radius: 30px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Orbitron", monospace;
  font-size: 17px;
}
.random-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(153, 69, 255, 0.5);
}

.copy-btn {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  margin-left: 20px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Orbitron", monospace;
  white-space: nowrap;
  height: fit-content;
}
.copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(153, 69, 255, 0.5);
}
.copy-btn.copied {
  background: var(--accent-green);
  color: var(--primary-black);
}

.mode-toggle {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 25px;
}
.mode-btn {
  background: var(--carbon-dark);
  border: 1px solid var(--metal-dark);
  padding: 8px 25px;
  border-radius: 30px;
  color: var(--text-secondary);
  font-family: "Orbitron", monospace;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}
.mode-btn.active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-color: var(--accent-purple);
  color: white;
  box-shadow: 0 0 15px rgba(153, 69, 255, 0.3);
}
.mode-btn:hover:not(.active) {
  border-color: var(--accent-purple);
  color: var(--accent-cyan);
}

.mode-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--carbon-dark);
  border: 1px solid var(--metal-dark);
  padding: 8px 20px;
  border-radius: 30px;
  color: var(--text-secondary);
  font-family: "Orbitron", monospace;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mode-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}

.mode-btn.active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-color: var(--accent-purple);
  color: white;
  box-shadow: 0 0 15px rgba(153, 69, 255, 0.3);
}

.mode-btn.active .mode-icon {
  filter: brightness(1);
}

.mode-btn:hover:not(.active) .mode-icon {
  filter: brightness(1);
}

.no-event {
  pointer-events: none;
}

.algorithms {
  margin: 0 auto;
  margin-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  max-width: 1000px;
  flex-wrap: wrap;
}

.algorithms::before {
  content: "";
  width: 100%;
  background-color: var(--accent-purple);
  height: 2px;
  margin-bottom: 10px;
  margin-top: 10px;
  box-shadow: var(--accent-purple) 5px 0px 10px;
}

.algorithm {
  display: inline;
  background: var(--carbon-dark);
  border: 1px solid var(--metal-dark);
  padding: 8px 25px;
  border-radius: 30px;
  color: var(--text-secondary);
  font-family: "Orbitron", monospace;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 10px;
}

.algorithm.active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-color: var(--accent-purple);
  color: white;
  box-shadow: 0 0 15px rgba(153, 69, 255, 0.3);
}

.algorithm:hover:not(.active) {
  border-color: var(--accent-purple);
  color: var(--accent-cyan);
}

.dynamic-input {
  width: 100%;
  padding: 12px;
  background: var(--carbon-dark);
  border: 1px solid var(--metal-dark);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: "Orbitron", monospace;
  font-size: 14px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  margin-top: 5px;
}
.dynamic-input:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(153, 69, 255, 0.3);
}
