:root {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  line-height: 1.65;
  font-weight: 400;
  color: #fefbff;
  background-color: #000000;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #200000 0%, #000000 55%, #000000 95%);
  color: #fefbff;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(80, 0, 0, 0.4), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(0, 0, 0, 0.5), transparent 50%),
    linear-gradient(145deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.95));
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(transparent 96%, rgba(255, 255, 255, 0.04) 97%),
    linear-gradient(90deg, transparent 96%, rgba(255, 255, 255, 0.04) 97%);
  background-size: 140px 140px;
  opacity: 0.08;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: -1;
}

.container-fluid {
  max-width: 1360px;
  perspective: 1000px;
}

.jumbotron {
  background: linear-gradient(135deg, rgba(20, 0, 0, 0.95), rgba(0, 0, 0, 0.95));
  border: 1px solid rgba(80, 0, 0, 0.8);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(80, 0, 0, 0.2);
  color: inherit;
  position: relative;
  overflow: hidden;
}

.jumbotron::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(80, 0, 0, 0.3), transparent 45%);
  opacity: 0.7;
  z-index: 0;
}

.jumbotron > * {
  position: relative;
  z-index: 1;
}

.jumbotron,
.jumbotron .lead,
.jumbotron p,
.jumbotron span,
.jumbotron li {
  color: #fff;
}

.brand-mark {
  width: 138px;
  height: 138px;
  border-radius: 18px;
  background: linear-gradient(160deg, #500000, #000000 70%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  text-transform: uppercase;
  border: 2px solid rgba(80, 0, 0, 0.9);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.7);
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

/* Futuristic animated gradient background */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes borderGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(80, 0, 0, 0.6), 
                inset 0 0 30px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(60, 0, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 30px rgba(80, 0, 0, 0.8), 
                inset 0 0 40px rgba(0, 0, 0, 0.5),
                0 0 60px rgba(60, 0, 0, 0.7);
  }
}

@keyframes shapeMorph {
  0%, 100% {
    border-radius: 1.5rem 1.5rem 1.25rem 1.5rem;
    clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 95% 100%, 0% 100%);
  }
  50% {
    border-radius: 1.25rem 1.5rem 1.5rem 1.25rem;
    clip-path: polygon(0% 0%, 100% 0%, 98% 100%, 0% 100%);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotateX(0deg);
  }
  50% {
    transform: translateY(-5px) rotateX(2deg);
  }
}

.info-card {
  position: relative;
  background: linear-gradient(135deg, 
    rgba(20, 0, 0, 0.98) 0%, 
    rgba(0, 0, 0, 0.98) 50%,
    rgba(30, 0, 0, 0.98) 100%);
  background-size: 200% 200%;
  border: 2px solid rgba(80, 0, 0, 0.9);
  border-radius: 1.25rem;
  padding: 1.6rem;
  color: #fff;
  overflow: hidden;
  transition: none;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6),
              inset 0 0 30px rgba(80, 0, 0, 0.3);
}

.info-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, 
    rgba(80, 0, 0, 1),
    rgba(0, 0, 0, 0.9),
    rgba(60, 0, 0, 1),
    rgba(0, 0, 0, 0.9));
  background-size: 300% 300%;
  border-radius: 1.25rem;
  z-index: -1;
  opacity: 0;
  animation: gradientShift 3s ease infinite;
  transition: none;
}

.info-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(80, 0, 0, 0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%) rotate(45deg);
  animation: rotate 15s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.info-card:hover {
  /* Mouse animations disabled */
}

.info-card:hover::before {
  /* Mouse animations disabled */
}

.info-card * {
  color: #fff;
  position: relative;
  z-index: 1;
}

.info-card ol {
  margin-bottom: 0;
}

.cdnentry .item {
  position: relative;
  border: 2px solid rgba(80, 0, 0, 0.9);
  background: linear-gradient(135deg,
    rgba(20, 0, 0, 0.98) 0%,
    rgba(0, 0, 0, 0.98) 50%,
    rgba(30, 0, 0, 0.98) 100%);
  background-size: 200% 200%;
  color: #fff;
  border-radius: 1.25rem;
  padding: 1.6rem !important;
  transition: none;
  backdrop-filter: blur(8px);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6),
              inset 0 0 30px rgba(80, 0, 0, 0.3);
}

.cdnentry .item::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, 
    rgba(80, 0, 0, 0.9),
    rgba(0, 0, 0, 0.8),
    rgba(60, 0, 0, 0.9),
    rgba(0, 0, 0, 0.8));
  background-size: 300% 300%;
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  animation: gradientShift 4s ease infinite;
  transition: none;
}

.cdnentry .item::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(80, 0, 0, 0.4),
    transparent);
  transition: none;
  z-index: 0;
}

.cdnentry .item * {
  color: #fff;
  position: relative;
  z-index: 1;
}

.cdnentry .item .text-muted {
  color: #fff !important;
}

.cdnentry .item:hover {
  /* Mouse animations disabled */
}

.cdnentry .item:hover::before {
  /* Mouse animations disabled */
}

.cdnentry .item:hover::after {
  /* Mouse animations disabled */
}

.form-label {
  color: #ffe3eb;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.form-control {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 166, 186, 0.9);
  color: #fff;
  box-shadow: 0 0 0 0.18rem rgba(255, 166, 186, 0.4);
}

.btn-primary {
  background: linear-gradient(120deg, #500000, #000000);
  border: 1px solid rgba(80, 0, 0, 0.9);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.btn-primary:disabled {
  opacity: 0.6;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(120deg, #600000, #100000);
  border-color: rgba(80, 0, 0, 1);
}

.cdnentry button.btn-outline-light {
  border-color: rgba(80, 0, 0, 0.8);
  color: #fff;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}

.cdnentry button.btn-outline-light:hover {
  border-color: rgba(80, 0, 0, 1);
  background: rgba(80, 0, 0, 0.3);
}

#cache-info {
  min-height: auto;
  padding: 1.5rem 2rem !important;
  font-size: 0.875rem;
  max-width: 90%;
  margin: 2rem auto !important;
  border-radius: 1rem;
}

#cdns {
  margin-bottom: 1.5rem;
}

#cache-info-display-title {
  font-size: 0.875rem;
  margin-bottom: 1rem !important;
  font-weight: 600;
}

#cache-info-display {
  font-size: 0.8rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.alert-success,
.alert-warning,
.alert-danger {
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(80, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

.badge {
  font-size: 0.85rem;
}

.badge.bg-dark-subtle {
  background: rgba(80, 0, 0, 0.6) !important;
  color: #fff !important;
}

.badge.bg-secondary-subtle {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #fff6f7 !important;
}

/* Enhanced 3D transform styles */
.info-card,
.cdnentry .item {
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
}

/* Smooth entrance animation */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.info-card {
  animation: none;
}

.cdnentry .item {
  animation: none;
}

@media (max-width: 768px) {
  .brand-mark {
    width: 100px;
    height: 100px;
    font-size: 0.75rem;
  }

  .info-card {
    padding: 1.1rem;
  }

  .info-card:hover,
  .cdnentry .item:hover {
    /* Mouse animations disabled */
  }
}

