:root {
  color-scheme: dark;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --bg: #05070f;
  --card: rgba(15, 23, 42, 0.72);
  --card-border: rgba(148, 163, 184, 0.2);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #34d399;
  --accent-2: #38bdf8;
  --accent-3: #a78bfa;
  --warning: #facc15;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.2), transparent 55%),
    radial-gradient(circle at 20% 20%, rgba(52, 211, 153, 0.2), transparent 40%),
    var(--bg);
  color: var(--text);
  position: relative;
  overflow-x: hidden;
}

.animated-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(130deg, rgba(15, 23, 42, 0.4), transparent 40%);
}

.animated-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(167, 139, 250, 0.15), transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(56, 189, 248, 0.12), transparent 45%);
  animation: pulseGlow 12s ease-in-out infinite;
  opacity: 0.8;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.45;
  mix-blend-mode: screen;
  animation: floatOrb 18s ease-in-out infinite;
}

.orb-one {
  width: 280px;
  height: 280px;
  top: 10%;
  left: 8%;
  background: radial-gradient(circle at 30% 30%, rgba(52, 211, 153, 0.6), transparent 65%);
}

.orb-two {
  width: 340px;
  height: 340px;
  bottom: 8%;
  right: 6%;
  background: radial-gradient(circle at 40% 40%, rgba(56, 189, 248, 0.6), transparent 65%);
  animation-delay: -6s;
}

.orb-three {
  width: 220px;
  height: 220px;
  top: 55%;
  right: 20%;
  background: radial-gradient(circle at 30% 30%, rgba(167, 139, 250, 0.6), transparent 65%);
  animation-delay: -12s;
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(20px, -30px, 0) scale(1.05);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.95;
  }
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.header {
  padding: 64px 0 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #a7f3d0;
  font-weight: 600;
  font-size: 0.85rem;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  margin-top: 20px;
  font-weight: 700;
}

h1 span {
  display: block;
  background: linear-gradient(90deg, #a7f3d0, #67e8f9, #60a5fa);
  -webkit-background-clip: text;
  color: transparent;
}

.subtitle {
  margin: 16px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.highlight-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  color: #dbeafe;
  backdrop-filter: blur(6px);
}

.main-grid {
  display: grid;
  gap: 32px;
  padding-bottom: 64px;
  position: relative;
  z-index: 1;
}

.category-grid {
  display: grid;
  gap: 24px;
  padding-bottom: 64px;
}

@media (min-width: 840px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.category-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  background: rgba(15, 23, 42, 0.75);
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
}

.category-label {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: #a5b4fc;
}

.category-cta {
  align-self: flex-start;
  background: rgba(56, 189, 248, 0.2);
  color: #bae6fd;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

@media (min-width: 992px) {
  .main-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.panel {
  background: linear-gradient(140deg, rgba(16, 185, 129, 0.12), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
}

.panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-header h2 {
  font-size: 1.8rem;
  margin-top: 8px;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

.tag.success {
  background: rgba(16, 185, 129, 0.2);
  color: #bbf7d0;
}

.tag.warning {
  background: rgba(250, 204, 21, 0.2);
  color: #fde68a;
}

.package-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.package-card {
  border-radius: 18px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  background: rgba(2, 6, 23, 0.7);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.package-card p {
  font-weight: 600;
}

.package-card span {
  font-size: 0.9rem;
  color: #a7f3d0;
  font-weight: 600;
}

.note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--muted);
}

.side-panel {
  background: rgba(15, 23, 42, 0.78);
  border-radius: 28px;
  border: 1px solid var(--card-border);
  padding: 24px;
  backdrop-filter: blur(8px);
}

.side-panel + .side-panel {
  margin-top: 20px;
}

.side-panel h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.list {
  display: grid;
  gap: 12px;
}

.list-item {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(2, 6, 23, 0.6);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.list-item span {
  font-weight: 600;
}

.list-item strong {
  color: #86efac;
}

.roblox-grid {
  display: grid;
  gap: 24px;
  padding-bottom: 64px;
}

.premium-grid {
  display: grid;
  gap: 24px;
  padding-bottom: 64px;
}

.detail-card {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(2, 6, 23, 0.6);
  padding: 16px;
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.detail-card span {
  color: #a7f3d0;
  font-weight: 600;
}

@media (min-width: 840px) {
  .roblox-grid,
  .premium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 32px 0 48px;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 999px;
  background: #34d399;
  color: #04110c;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(16, 185, 129, 0.45);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #bae6fd;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.small-text {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
}
