:root {
  --bg: #0a0f1f;
  --card-bg: rgba(0, 150, 255, 0.06);
  --text: #e6f4ff;
  --muted: rgba(200, 230, 255, 0.7);
  --accent1: #00d4ff;
  --accent2: #0077ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

html {
  -webkit-tap-highlight-color: transparent;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
}

/* Background Glow */
body::before {
  content: "";
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(circle at 20% 30%, var(--accent1), transparent 35%),
    radial-gradient(circle at 80% 70%, var(--accent2), transparent 40%);
  filter: blur(160px);
  opacity: 0.25;
  z-index: -1;
}

/* Slider */
.slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  background: none;
  border: none;
  color: var(--accent1);
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
}

.arrow:hover {
  transform: translateY(-50%) scale(1.2);
}

.left { left: -70px; }
.right { right: -70px; }

/* Card Wrapper */
.card-wrapper {
  width: 520px;
  height: 420px;
  overflow: hidden;
  border-radius: 28px;
}

/* Track */
.card-track {
  display: flex;
  height: 100%;
}

/* Card */
.card {
  min-width: 100%;
  padding: 60px 55px;
  border-radius: 28px;
  background: var(--card-bg);
  backdrop-filter: blur(18px);
  box-shadow:
    0 40px 80px rgba(255,255,255,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.08);
  overflow-y: auto;
}

/* Hide scrollbar */
.card::-webkit-scrollbar { display: none; }
.card { scrollbar-width: none; }

.card h1 {
  font-size: 46px;
  font-weight: 900;
  color: var(--text);
}

.card h2 {
  margin-top: 10px;
  letter-spacing: 4px;
  font-size: 13px;
  color: var(--muted);
}

.divider {
  margin: 35px 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent1), transparent);
  opacity: 0.4;
}

.card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.card a {
  color: var(--accent1);
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
  margin-bottom: 6px;
}

.card a:hover {
  color: white;
  transform: translateX(6px);
}

/* Mobile */
@media (max-width: 768px) {

  .card-wrapper {
    width: 90vw;
    height: auto;
    min-height: 380px;
  }

  .card {
    padding: 40px 25px;
  }

  .card h1 {
    font-size: 30px;
  }

  .card h2 {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .card p {
    font-size: 14px;
  }

  .arrow {
    display: none;
  }
}
