:root {
  --bg: #0f1724;
  --glass: rgba(255, 255, 255, 0.06);
  --text: #e6eef8;
  --muted: #9fb3cc;
  --radius: 12px;
  --instagram: linear-gradient(
    0deg,
    #feda75 0%,
    #fa7e1e 25%,
    #d62976 50%,
    #962fbf 75%,
    #4f5bd5 100%
  );
  --program-input-bg: #e6eef8;
  --program-input-color: #000000;
  --program-input-border: rgba(151, 243, 255, 0.626);
  --program-output-bg: var(--bg);
  --program-output-color: #e6eef8;
  --program-output-border: rgba(151, 243, 255, 0.626);
  --footer-bg: rgb(21, 32, 52);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #e8edf6;
  --glass: rgba(15, 23, 36, 0.05);
  --text: #0f1724;
  --muted: #4f6075;
  --program-input-bg: #ffffff;
  --program-input-color: #000000;
  --program-input-border: rgba(15, 23, 36, 0.18);
  --program-output-bg: #ffffff;
  --program-output-color: #000000;
  --program-output-border: rgba(15, 23, 36, 0.14);
  --footer-bg: #d6deee;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    "Helvetica Neue",
    Arial;
  /* Base background color that all sections build upon */
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.35;
  overflow-x: hidden;
}

body[data-theme="light"] {
  background-color: var(--bg);
  color: var(--text);
}

.container-all {
  min-width: 100%;
  overflow-x: hidden;
}

/* Achievement notification styling */
.achievement {
  display: none;
}

#achievements-list {
  height: 0;
  width: 0;
  padding: 0;
  margin: 0;
}

.achievement.show-achievement {
  display: flex;
  flex-direction: column;
  width: clamp(200px, 200px, 300px);
  height: min-content;
  background-color: rgba(0, 0, 0, 0.861);
  color: #ffffff;
  border-radius: 12px;
  border: 2px solid rgb(0, 0, 0);
  padding: 10px;
  box-shadow: -5px 10px 15px rgba(0, 0, 0, 0.229);
  text-align: center;
  align-items: center;
  justify-content: center;
}

.achievement.show-achievement h2 {
  font-size: 20px;
  margin-bottom: 10px;
  margin: 0;
}

.achievement.show-achievement p {
  font-size: 14px;
  margin: 0;
}

#achievement-toast-root {
  position: fixed;
  top: 60px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  z-index: 999;
}

#achievement-toast-root .achievement {
  position: relative;
  top: 0;
  right: 0;
  pointer-events: auto;
}

.simple-grad {
  background: radial-gradient(#0000003b, #00000088);
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: visible;
  margin: 0;
  padding: 10px;
}

/* Primary navigation pinned to the top */
header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 24px;
  background-color: var(--footer-bg);
}

.nav {
  width: min(1100px, 94%);
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  position: relative;
}

textarea {
  resize: none;
}

p {
  margin: 0 0 16px;
  text-wrap: balance;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

button {
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.logo {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffd87a 0%, #ff8a8a 50%, #7afcff 100%);
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  font-size: 12px;
  line-height: 10px;
  text-align: center;
  color: var(--bg);
  letter-spacing: -0.5px;
}

nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav a.btn {
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition:
    transform 0.5s ease,
    box-shadow 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav a.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.6);
}

.menu-toggle {
  display: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
}

/* Hero section with animated gradients */
.hero {
  min-height: auto;
  display: grid;
  place-items: center;
  padding: 140px 20px 40px;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

@media (max-width: 720px) {
  .hero {
    padding: 180px 20px 40px;
  }
}

.hero .grad {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: none;
  z-index: 0;
  width: 100%;
}

.hero .grad::before {
  content: "";
  position: absolute;
  width: 100%;
  inset: -20%;
  border-radius: inherit;
  background: conic-gradient(
    from 100deg,
    var(--bg),
    rgb(122, 252, 255),
    var(--bg),
    rgb(255, 216, 122),
    var(--bg),
    rgb(237, 174, 255),
    var(--bg),
    rgb(255, 138, 138),
    var(--bg)
  );

  filter: blur(65px);
  opacity: 0.78;
  transform: scale(1.25);
  transform-origin: 50% 50%;
  animation: hero-spin 4s ease-out forwards;
  will-change: transform;
}

.hero.hero-static .grad::before {
  animation: none;
  transform: scale(5.5) rotate(300deg);
}

@media (max-width: 700px) {
  .hero .grad::before {
    opacity: 0.6;
    inset: 0;
    background: conic-gradient(
      from 100deg,
      var(--bg),
      rgb(122, 252, 255),
      var(--bg),
      rgb(255, 216, 122),
      var(--bg),
      rgb(237, 174, 255),
      var(--bg),
      rgb(255, 138, 138),
      var(--bg)
    );
    animation: hero-spin-mobile 8s ease-out forwards;
    transform: scale(0.7);
  }

  .hero.hero-static .grad::before {
    animation: none;
    transform: scale(1.5) rotate(210deg);
    opacity: 0.78;
    inset: 0;
  }
}

@keyframes hero-spin {
  to {
    transform: scale(5.5) rotate(300deg);
  }
}
@keyframes hero-spin-mobile {
  to {
    transform: scale(1) rotate(214deg);
  }
}

@keyframes moveBg {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 800px 800px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: center;
}

.intro {
  padding: 28px;
  border-radius: 14px;
  background: rgba(18, 26, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 8px 40px rgba(2, 6, 23, 0.5);
}

.intro.firstintro {
  background: var(--bg);
  border: 2px inset #7afcff;
}

body[data-theme="light"] .intro,
body[data-theme="light"] .card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 36, 0.12);
  color: var(--text);
  box-shadow: 0 8px 30px rgba(15, 23, 36, 0.12);
}

body[data-theme="light"] .intro.firstintro,
body[data-theme="light"] .card.firstcard {
  background: #ffffff;
  border-color: rgba(122, 252, 255, 0.4);
}

h1 {
  font-size: 44px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 28px;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 20px;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

h4 {
  font-size: 18px;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.sub {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 16px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta {
  background: linear-gradient(90deg, #7afcff 0%, #7affc7 40%, #ffd87a 100%);
  color: #042032;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(7, 22, 35, 0.6);
  transition:
    background 500ms ease,
    box-shadow 500ms ease,
    transform 500ms ease;
}

.cta:hover {
  background: linear-gradient(
    90deg,
    #7afcff 0%,
    #7affc7 40%,
    #ffd87a 80%,
    #7afcff 100%
  );
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-size: 200% 200%;
  animation: moveBg 6s linear infinite;
  transform: translateY(-2px);
}

.subtle-grad {
  background: linear-gradient(
    90deg,
    #7afcff80 0%,
    #7affc780 40%,
    #ffd87a80 80%,
    #7afcff80 100%
  );
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: moveBg 6s linear infinite;
}

.center-hero {
  padding-top: 36px;
  padding-bottom: 36px;
}

.center-hero .hero-content {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: left;
}

.center-hero .intro {
  max-width: 820px;
  padding: 18px;
}

.center-hero .grid {
  max-width: 720px;
  margin: 0 auto;
  gap: 12px;
}

.center-hero .tile:hover {
  background-color: var(--bg);
}

.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 500;
  transition:
    background 500ms ease,
    box-shadow 500ms ease,
    transform 500ms ease;
}

.ghost:hover {
  background: var(--glass);
  transform: translateY(-2px);
  cursor: pointer;
}

body[data-theme="light"] .ghost {
  border: 1px solid rgba(15, 23, 36, 0.18);
}

body[data-theme="light"] .ghost:hover {
  background: rgba(15, 23, 36, 0.05);
}

.btn-instagram {
  background: var(--instagram);
  border: none;
  color: #fff;
  font-weight: 500;
  transition:
    background 500ms ease,
    box-shadow 500ms ease,
    transform 500ms ease;
}

.btn-instagram:hover {
  background: linear-gradient(
    180deg,
    #feda75 0%,
    #fa7e1e 25%,
    #d62976 50%,
    #962fbf 75%,
    #4f5bd5 100%
  );
  box-shadow: 0 10px 20px rgba(75, 91, 213, 0.28);
  transform: translateY(-2px);
}

.btn-linkedin {
  background-color: #0077b5;
  border: none;
  color: #fff;
  font-weight: 500;
  transition:
    background-color 500ms ease,
    transform 500ms ease;
}
.btn-linkedin:hover {
  background-color: #005582;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(75, 91, 213, 0.28);
}

.btn-youtube {
  background-color: #cc0000;
  border: none;
  color: #fff;
  font-weight: 600;
  transition:
    background-color 500ms ease,
    transform 500ms ease;
}
.btn-youtube:hover {
  background-color: #a30101;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(242, 9, 21, 0.28);
}

.btn-github {
  background-color: #333;
  border: none;
  color: #fff;
  border: 1px solid #fff;
  font-weight: 500;
  transition:
    background-color 500ms ease,
    transform 500ms ease;
}
.btn-github:hover {
  background-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(241, 237, 237, 0.28);
}

/* Reusable card pattern used for profile/sidebar content */
.card {
  border-radius: 14px;
  padding: 18px;
  background: rgba(18, 26, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.card.firstcard {
  background: var(--bg);
}

.meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.horizontal {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
}

.PS {
  border-radius: 12px;
  display: block;
  border: 2px inset rgb(142, 201, 227);
}

.about-wrapper {
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-copy .horizontal {
  justify-content: flex-start;
}

.conic-grad {
  position: relative;
  display: inline-flex;
  align-self: flex-start;
  border-radius: 12px;
  line-height: 0;
  overflow: hidden;
}

.conic-grad::before {
  content: "";
  position: absolute;
  inset: -40%;
  border-radius: inherit;
  background: conic-gradient(
    from 135deg,
    #c255b07e,
    #3b0c5a7e,
    #20bbbd7e,
    #20bbbd7e,
    #3b0c5a7e,
    #c255af7e
  );
  animation: rotate 6s linear infinite;
  transform-origin: center;
  z-index: 0;
  filter: blur(60px) opacity(0.8) contrast(0.8);
}

.conic-grad img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.small {
  color: var(--muted);
  font-size: 13px;
}

section {
  padding: 72px 20px;
  padding-bottom: 30px;
}

.container {
  width: min(1100px, 94%);
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tile {
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--glass), rgba(126, 131, 146, 0.096));
  border: 1px solid rgba(118, 118, 118, 0.288);
}

.tile:hover {
  background-color: var(--bg);
  cursor: pointer;
}

body[data-theme="light"] .tile {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95),
    rgba(228, 235, 246, 0.9)
  );
  border: 1px solid rgba(15, 23, 36, 0.12);
}

body[data-theme="light"] .tile:hover {
  background-color: #ffffff;
}

footer {
  padding: 36px 20px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  background-color: var(--footer-bg);
}

.footer-color {
  background: linear-gradient(#7afcff 0%, #7affc7 40%, #ffd87a);
  border-top: 2px solid var(--bg);
  padding: 20px 20px;
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  margin-top: 60px;
  text-align: center;
}

@media (max-width: 880px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .nav a.btn {
    padding: 10px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
  }

  /* Reveals the stacked menu when the toggle button runs */
  nav ul.show-mobile {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 200px;
    background: var(--bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.35);
    z-index: 25;
  }

  nav ul.show-mobile > li {
    width: 100%;
  }

  nav ul.show-mobile {
    background-color: var(--footer-bg);
  }

  nav ul.show-mobile a.btn {
    width: 100%;
    justify-content: center;
    background-color: var(--bg);
  }
}

@media (max-width: 880px) {
  body[data-theme="light"] nav ul.show-mobile {
    background: var(--footer-bg);
    border: 1px solid rgba(15, 23, 36, 0.14);
    box-shadow: 0 18px 38px rgba(15, 23, 36, 0.12);
  }
}

/* Hero background for the interactive code page */
#heroImage {
  width: 100%;
  background-image: url("../Assets/jpeg.jpg");
  background-size: cover;
}

@media (min-width: 900px) {
  h1 {
    font-size: 70px;
  }
}

/* Typing indicator container sizing */
#typing {
  white-space: nowrap;
  overflow: hidden;
  max-width: 480px;
}

.inner-texts {
  justify-content: center;
  max-width: 300px;
  padding: 10px;
}

.inner-texts p {
  color: var(--muted);
}

/* HTML and CSS only gallery accordion */

.wrapper-carousel {
  width: 90%;
  padding: 36px 0 64px;
  display: flex;
  justify-content: center;
  justify-self: center;
  margin-top: 80px;
}

.container-carousel {
  display: flex;
  align-items: stretch;
  gap: clamp(12px, 2vw, 20px);
  width: min(1140px, 94vw);
  margin: 0 auto;
  position: relative;
}

.card-carousel {
  position: relative;
  flex: 0 0 70px;
  min-width: 70px;
  max-width: 120px;
  height: clamp(280px, 55vh, 440px);
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #ffffff;
  transition:
    flex 0.6s cubic-bezier(0.28, -0.03, 0, 0.99),
    transform 0.6s cubic-bezier(0.28, -0.03, 0, 0.99),
    box-shadow 0.6s ease;
}

.card-carousel-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.card-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 15, 25, 0.114) 6%,
    rgba(8, 15, 25, 0.995) 100%
  );
  transition: opacity 0.3s ease;
  opacity: 0.85;
}

body[data-theme="light"] .card-carousel::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15) 6%,
    rgba(8, 15, 25, 0.75) 100%
  );
}

.card-carousel:hover {
  transform: translateY(-6px);
}

.card-carousel:hover::before {
  opacity: 0.72;
}

.card-carousel > .row-carousel {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 28px;
  width: 100%;
}

.card-carousel > .row-carousel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 65%;
  background: linear-gradient(
    180deg,
    rgba(12, 21, 34, 0) 0%,
    rgba(8, 12, 24, 0.8) 100%
  );
  pointer-events: none;
  z-index: 1;
}

body[data-theme="light"] .card-carousel > .row-carousel::after {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(8, 12, 24, 0.45) 100%
  );
}

.card-carousel > .row-carousel > .icon-carousel {
  background: rgba(10, 16, 33, 0.68);
  color: #ffffff;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 22px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

body[data-theme="light"] .card-carousel > .row-carousel > .icon-carousel {
  background: rgba(255, 255, 255, 0.85);
  color: #0f1724;
  border: 2px solid rgba(15, 23, 36, 0.18);
}

.card-carousel > .row-carousel > .description-carousel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  max-width: clamp(220px, 58vw, 520px);
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.description-carousel h4 {
  letter-spacing: 0.08em;
  margin: 0;
  color: #ffffff;
}

.description-carousel p {
  color: #ffffff;
  margin: 0;
}

.wrapper-carousel input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wrapper-carousel input[type="radio"]:checked + label .card-carousel-link {
  pointer-events: auto;
}

.wrapper-carousel input[type="radio"]:focus-visible + label {
  outline: 2px solid rgba(122, 252, 255, 0.8);
  outline-offset: 4px;
}

.wrapper-carousel input[type="radio"]:checked + label {
  flex: 1 1 clamp(360px, 60vw, 620px);
  min-width: clamp(280px, 56vw, 620px);
}

.wrapper-carousel input[type="radio"]:checked + label::before {
  opacity: 0.55;
}

.wrapper-carousel input[type="radio"]:checked + label .description-carousel {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

@supports (background: conic-gradient(from 0deg at 50% 50%, red, blue)) {
  @property --border-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
  }
}

.wrapper-carousel input[type="radio"]:checked + label::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 5px;
  background: conic-gradient(
    from var(--border-angle),
    transparent 85%,
    #7afcff 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-spin 3s linear infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes border-spin {
  to {
    --border-angle: 360deg;
  }
}

.card-carousel[for="c1"] {
  background-image: url("../Assets/cv.jpg");
}

.card-carousel[for="c2"] {
  background-image: url("../Assets/liquid-glass.jpg");
}

.card-carousel[for="c3"] {
  background-image: url("../Assets/CSS.png");
}

.card-carousel[for="c4"] {
  background-image: url("../Assets/JavaScript.png");
}

.card-carousel[for="c5"] {
  background-image: url("../Assets/Hero\ Picture\ Or\ dont\ 18.jpg");
}

@media (max-width: 900px) {
  .container-carousel {
    width: min(100%, 96vw);
  }

  .card-carousel {
    height: clamp(240px, 48vh, 380px);
  }
}

@media (max-width: 720px) {
  .wrapper-carousel {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
  }

  .wrapper-carousel .inner-texts {
    width: 100%;
    text-align: center;
    margin: 0;
  }

  .wrapper-carousel .inner-texts .prex {
    margin: 0;
  }

  .container-carousel {
    flex-direction: column;
    gap: 18px;
  }

  .card-carousel,
  .wrapper-carousel input[type="radio"]:checked + label {
    flex: none;
    width: 100%;
    min-width: 100%;
    transition:
      background 500ms ease,
      transform 500ms ease;
  }

  .card-carousel {
    max-width: 100%;
    height: 120px;
    transition:
      height 0.6s cubic-bezier(0.28, -0.03, 0, 0.99),
      transform 0.6s cubic-bezier(0.28, -0.03, 0, 0.99);
  }

  .card-carousel:not(:last-of-type) {
    margin-bottom: 0;
  }

  .card-carousel::before {
    opacity: 0.7;
  }

  .card-carousel > .row-carousel {
    padding: 24px;
    align-items: center;
  }

  .card-carousel > .row-carousel > .icon-carousel {
    width: 56px;
    height: 56px;
    font-size: 20px;
  }

  .card-carousel > .row-carousel > .description-carousel {
    opacity: 1;
    transform: none;
    transition: none;
    max-width: 100%;
  }

  .wrapper-carousel input[type="radio"]:checked + label {
    height: 300px;
  }
}

#contactForm input,
#contactForm textarea {
  background-color: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.04);
  outline: transparent;
  caret-color: var(--text);
}

#contactForm input:focus,
#contactForm textarea:focus {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

body[data-theme="light"] #contactForm input,
body[data-theme="light"] #contactForm textarea {
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 36, 0.18);
  color: var(--text);
}

body[data-theme="light"] #contactForm input:focus,
body[data-theme="light"] #contactForm textarea:focus {
  border-color: rgba(15, 23, 36, 0.34);
}

#contactForm input:-webkit-autofill,
#contactForm input:-webkit-autofill:hover,
#contactForm input:-webkit-autofill:focus,
#contactForm input:-webkit-autofill:active,
#contactForm textarea:-webkit-autofill,
#contactForm textarea:-webkit-autofill:hover,
#contactForm textarea:-webkit-autofill:focus,
#contactForm textarea:-webkit-autofill:active {
  transition:
    background-color 9999s ease-out,
    color 9999s ease-out;
  background-color: transparent !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset;
  -webkit-text-fill-color: var(--text);
}

#contactForm input:autofill,
#contactForm textarea:autofill {
  background-color: transparent;
  color: var(--text);
}

/* Dark mode toggle switch */
#checkbox {
  display: none;
}

.switch {
  margin-top: 5px;
  margin-bottom: 5px;
  position: relative;
  width: 70px;
  height: 70px;
  background-color: rgb(99, 99, 99);
  border-radius: 50%;
  z-index: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(64, 107, 112, 0.72);
  box-shadow: 0px 0px 3px rgb(2, 2, 2) inset;
}
.switch svg {
  width: 1.2em;
}
.switch svg path {
  fill: rgba(151, 243, 255, 0.626);
}
#checkbox:checked + .switch {
  box-shadow:
    0px 0px 1px rgb(151, 243, 255) inset,
    0px 0px 2px rgb(151, 243, 255) inset,
    0px 0px 10px rgb(151, 243, 255) inset,
    0px 0px 40px rgb(151, 243, 255),
    0px 0px 100px rgb(151, 243, 255),
    0px 0px 5px rgb(151, 243, 255);
  border: 2px solid rgb(255, 255, 255);
  background-color: rgb(146, 180, 184);
}
#checkbox:checked + .switch svg {
  filter: drop-shadow(0px 0px 5px rgb(151, 243, 255));
}
#checkbox:checked + .switch svg path {
  fill: rgb(255, 255, 255);
}

input::placeholder,
textarea::placeholder {
  color: #000;
  opacity: 1;
}

.scroll-watcher {
  position: fixed;
  height: 1px;
  width: 100%;
  top: 94px;
  left: 0;
  transform: scaleX(0);
  background: linear-gradient(90deg, #7afcff, #7affc7, #ffd87a);
  transform-origin: left;
  z-index: 2;
  animation: scroll-watcher linear forwards;
  animation-timeline: scroll();
  border-radius: 0 0 4px 4px;
  box-shadow: 0 0 3px rgba(122, 252, 255, 0.4);
  filter: drop-shadow(0 1px 3px rgba(122, 252, 255, 0.5));
}
@keyframes scroll-watcher {
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 600px) {
  .scroll-watcher {
    top: 114px;
  }
}

* {
  box-sizing: border-box;
}

.swiper-container {
  display: flex;
  justify-content: center;
}

.swiper-section {
  display: flex;
  flex-direction: row;
  text-align: center;
  align-items: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  height: clamp(300px, 50vh, 500px);
  margin-bottom: 60px;
  margin-top: 30px;
  max-width: 1200px;
}
.swiper-section > * {
  flex: 0 0 auto;
  scroll-snap-align: center;
}
.swiper-section::-webkit-scrollbar {
  display: none;
}

.swiper-section > :nth-child(2) {
  width: 85cqw;
  padding: 20px 30px;
  scroll-snap-align: center;
}

.swiper-section.hold > *:first-child {
  scroll-snap-align: start;
  background-image: url("../Assets/casino.png");
  background-size: cover;
  background-position: center;
  height: clamp(300px, 50vh, 500px);
  width: 85cqw;
  border-radius: 35px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.swiper-section.hold > *:last-child {
  scroll-snap-align: end;
  background-image: url("../Assets/pattern-memory-game.png");
  background-size: cover;
  background-position: center;
  height: clamp(300px, 50vh, 500px);
  width: 85cqw;
  border-radius: 35px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.desktop-swipe-text {
  display: none;
}

@media (min-width: 800px) {
  .swiper-section.hold > *:last-child {
    width: 25cqw;
  }
  .swiper-section.hold > *:first-child {
    width: 25cqw;
  }
  .swiper-section > :nth-child(2) {
    width: 25cqw;
  }
  .desktop-swipe-text {
    display: block;
  }
  .mobile-swipe-text {
    display: none;
  }
}

.swiper-section.hold > *:last-child::after,
.swiper-section.hold > *:first-child::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.658), transparent);
  border-radius: 35px;
  pointer-events: none;
  z-index: 1;
}

.swiper-span {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
  text-align: center;
  pointer-events: none;
}

/*
@keyframes scroll_hold {
  to {
    scroll-snap-align: start;
  }
  }

  .swiper-section::-webkit-scrollbar {
    display: none;
  }
*/

/* Home page specific styles (moved from home.html) */
:root {
  --primary-orange: #4a9eff;
  --primary-dark: #3380e6;
  --primary-light: #6bb3ff;
  --secondary-orange: #5eb8ff;
  --accent-yellow: #7dc8ff;
  --white: #ffffff;
  --text-primary: #e6eef8;
  --text-secondary: #9fb3cc;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

body.home-page input::placeholder,
body.home-page textarea::placeholder {
  color: var(--muted);
}

body.home-page section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.home-page .section-header {
  margin-bottom: var(--spacing-lg);
}

.home-page .faq .card {
  display: grid;
  gap: 12px;
}

.home-page .faq .small {
  margin: 0 0 2px;
}

.home-page .faq details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  background: rgba(15, 23, 36, 0.45);
}

body[data-theme="light"] .home-page .faq details {
  border-color: rgba(15, 23, 36, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.home-page .faq details + details {
  margin-top: 6px;
}

.home-page .faq summary {
  list-style: none;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  display: flex;
  align-items: center;
}

.home-page .faq summary::before {
  content: "▸";
  color: var(--primary-orange);
  margin-right: 16px;
  font-size: 1.05rem;
  line-height: 1;
}

.home-page .faq details[open] > summary::before {
  content: "▾";
}

.home-page .faq details p {
  margin: 6px 0 2px;
  color: var(--muted);
  font-size: 0.95rem;
  padding-left: 32px;
}

.home-page .about .section-header {
  margin-bottom: var(--spacing-sm);
}

.home-page .section-tag {
  display: inline-block;
  background: linear-gradient(
    135deg,
    rgba(74, 158, 255, 0.1),
    rgba(94, 184, 255, 0.1)
  );
  color: var(--primary-orange);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-sm);
}

.home-page .hero-content {
  justify-items: center;
}

.home-page .intro.firstintro {
  width: min(820px, 100%);
  margin: 0 auto;
}

.home-page .hero-content,
.home-page .hero-content > * {
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 880px) {
  .home-page .hero-content {
    width: 100%;
    margin: 0 auto;
    padding: 0 12px;
    justify-items: center;
    min-width: 0;
  }

  .home-page .intro.firstintro,
  .home-page .card.firstcard {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    min-width: 0;
  }

  .home-page .hero-content h1,
  .home-page .hero-content p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

.home-page .geometric-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.home-page .shape-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    var(--primary-orange),
    var(--secondary-orange)
  );
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.home-page .shape-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    var(--accent-yellow),
    var(--primary-orange)
  );
  bottom: 100px;
  left: -50px;
  animation-delay: 5s;
}

.home-page .shape-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    var(--primary-light),
    var(--accent-yellow)
  );
  top: 50%;
  left: 50%;
  animation-delay: 10s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* --- About Section --- */
.home-page .about {
  background: var(--bg);
  position: relative;
}

.home-page .about::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(74, 158, 255, 0.08), transparent);
  border-radius: 50%;
  z-index: 0;
}

.home-page .about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: start;
  position: relative;
  z-index: 1;
}

.home-page .about-image {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.home-page .image-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-auto-rows: 140px;
  gap: var(--spacing-sm);
  max-width: 420px;
  margin: 0 auto;
}

.home-page .grid-img-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  width: 100%;
  height: 300px;
}

.home-page .grid-img-2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  width: 100%;
  height: 140px;
}

.home-page .grid-img-3 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  width: 100%;
  height: 140px;
}

.home-page .about-text .lead {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

.home-page .about-text p {
  color: var(--text-primary);
  line-height: 1.6;
}

body[data-theme="light"].home-page .about-text .lead,
body[data-theme="light"].home-page .about-text p {
  color: var(--text);
}

.home-page .stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.home-page .stat-item {
  text-align: center;
  padding: var(--spacing-md);
  background: linear-gradient(
    135deg,
    rgba(74, 158, 255, 0.05),
    rgba(94, 184, 255, 0.05)
  );
  border-radius: var(--radius-md);
  border: 1px solid rgba(74, 158, 255, 0.18);
  transition: transform var(--transition-fast);
}

.home-page .stat-item.light-stat {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(74, 158, 255, 0.05),
    rgba(94, 184, 255, 0.05)
  );
  border: 1.5px solid rgba(249, 199, 79, 0.65);
  box-shadow:
    0 0 0 1px rgba(244, 132, 95, 0.25),
    0 6px 16px rgba(249, 199, 79, 0.12);
}

.home-page .stat-item.light-stat::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: calc(var(--radius-md) - 6px);
  border: 1px dashed rgba(249, 199, 79, 0.35);
  pointer-events: none;
}

.home-page .stat-item-wide {
  grid-column: span 2;
}

.home-page .stat-item:hover {
  transform: translateY(-5px);
}

.home-page .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--secondary-orange)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.home-page .stat-label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: var(--spacing-xs);
}

/* Responsive design for about section */
@media (max-width: 768px) {
  .home-page .about-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .home-page .about-image,
  .home-page .image-grid {
    max-width: 340px;
  }

  .home-page .image-grid {
    grid-auto-rows: 120px;
  }

  .home-page .grid-img-1 {
    height: 260px;
  }

  .home-page .grid-img-2,
  .home-page .pattern-overlay {
    height: 120px;
  }

  .home-page .stats {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .home-page .stat-item {
    padding: var(--spacing-sm);
  }

  .home-page .stat-item-wide {
    grid-column: auto;
  }

  .home-page .stat-number {
    font-size: 2rem;
  }
}

@media (min-width: 900px) {
  .home-page .stat-item-wide {
    grid-column: span 2;
  }
}

.home-page .brand-title {
  font-weight: 700;
}

.home-page .brand-subtitle {
  font-size: 12px;
  color: var(--muted);
}

.home-page .nav-item-stacked {
  flex-direction: column;
  line-height: 0.8;
}

.home-page .nav-item-subtext {
  font-size: 10px;
  line-height: 0.1;
  color: #ffcc00;
}

.home-page .case-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin: 24px 0 0;
}

.home-page .highlight-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

body[data-theme="light"] .home-page .highlight-item {
  background: rgba(15, 23, 36, 0.04);
  border-color: rgba(15, 23, 36, 0.12);
}

.home-page .highlight-number {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-page .highlight-label {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
}

.home-page .hero-content-padded {
  padding-bottom: 50px;
}

.home-page .hero-title {
  line-height: 1;
}

.home-page .intro-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.home-page .intro-note-link {
  color: var(--muted);
  text-decoration: none;
}

.home-page .intro-note-highlight {
  font-weight: 700;
}

.home-page .heading-strong {
  font-weight: 700;
}

.home-page .meta-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.home-page .section-gap-sm {
  margin-bottom: 10px;
  margin-top: 20px;
}

.home-page .heading-sm {
  font-size: 14px;
}

.home-page .social-row {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.home-page .carousel-title {
  margin-top: 0;
}

.home-page .stats-section {
  margin-top: -100px;
}

.home-page .section-header-tight {
  margin-bottom: -60px;
}

.home-page .container-spaced {
  margin-top: 50px;
  margin-bottom: 50px;
}

.home-page .horizontal-centered-wide {
  gap: 30px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.home-page .text-muted-sm {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.home-page .story-copy {
  max-width: 460px;
  margin-top: -30px;
}

.home-page .horizontal-tight {
  gap: 10px;
}

.home-page .conic-wrap {
  margin-top: 50px;
  width: clamp(200px, 100%, 500px);
}

.home-page .ps-width {
  width: clamp(200px, 100%, 500px);
}

.home-page .contact-title {
  margin-top: 0;
}

.home-page .contact-form {
  max-width: 700px;
}

.home-page .contact-grid {
  display: grid;
  gap: 10px;
}

.home-page .contact-field {
  padding: 12px;
  border-radius: 10px;
}

.home-page .contact-actions {
  display: flex;
  gap: 10px;
}

.home-page .contact-status {
  color: var(--muted);
  font-size: 13px;
}

.home-page .design-section {
  margin-bottom: 30px;
}

.home-page .intro-pad-sm {
  padding: 5px;
}

.home-page .intro-bg {
  background-color: var(--bg);
}

.home-page .home-text-center {
  text-align: center;
}

.home-page .tile-center {
  text-align: center;
  text-wrap: balance;
}

.home-page .link-muted {
  color: var(--muted);
}

.home-page .footer-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 30px;
  margin-bottom: 30px;
}

.home-page .footer-toggle {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-page .achievement-icon {
  vertical-align: middle;
}

.guides-page .footer-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 30px;
  margin-bottom: 30px;
}

.guides-page .footer-toggle {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: center;
  align-items: center;
}

.guides-page .achievement-icon {
  vertical-align: middle;
}
/* ===== GUIDES PAGE STYLES ===== */

.guides-page input::placeholder,
.guides-page textarea::placeholder {
  color: var(--muted);
}

.guides-page .brand-title {
  font-weight: 700;
}

.guides-page .brand-subtitle {
  font-size: 12px;
  color: var(--muted);
}

.guides-page section {
  padding: 72px 20px;
}

.guides-page .section-header {
  margin-bottom: 48px;
  text-align: center;
}

@media (min-width: 881px) {
  .guides-page .hero-content {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .guides-page .intro.firstintro {
    width: min(820px, 100%);
    margin: 0 auto;
  }
}

.guides-page .section-header h2 {
  font-size: clamp(28px, 5vw, 48px);
  margin: 12px 0;
  font-weight: 800;
}

.guides-page .section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.1), rgba(94, 184, 255, 0.1));
  color: #5eb8ff;
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

/* Filter Section */
.guides-filter-section {
  padding: 40px 20px;
  background: linear-gradient(180deg, rgba(122, 252, 255, 0.05) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.guides-filter-section .section-header {
  margin-bottom: 24px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.chip-btn {
  padding: 10px 18px;
  border-radius: 24px;
  background: rgba(122, 252, 255, 0.1);
  border: 1px solid rgba(122, 252, 255, 0.3);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 300ms ease;
  cursor: pointer;
  display: inline-block;
}

.chip-btn:hover {
  background: rgba(122, 252, 255, 0.2);
  border-color: rgba(122, 252, 255, 0.6);
  transform: translateY(-2px);
}

/* Featured Guides Section */
.featured-guides {
  padding: 72px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(122, 252, 255, 0.03) 100%);
}

.featured-guides .section-header {
  margin-bottom: 48px;
}

.featured-guides .sub {
  margin-top: 12px;
  font-size: 16px;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.featured-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

/* Guide Card */
.guide-card {
  border-radius: 14px;
  padding: 24px;
  background: rgba(18, 26, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all 300ms ease;
  height: 100%;
}

.guide-card:hover {
  background: rgba(18, 26, 38, 0.9);
  border-color: rgba(122, 252, 255, 0.3);
  transform: translateY(-4px);
}

body[data-theme="light"] .guide-card {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(15, 23, 36, 0.1);
}

body[data-theme="light"] .guide-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(122, 252, 255, 0.5);
}

.guide-card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.guide-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  color: var(--text);
}

.guide-description {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}

.guide-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 16px;
  background: rgba(122, 252, 255, 0.1);
  color: rgba(122, 252, 255, 0.8);
  font-size: 12px;
  font-weight: 500;
}

body[data-theme="light"] .tag {
  background: rgba(74, 158, 255, 0.1);
  color: rgba(74, 158, 255, 0.9);
}

.btn-read {
  align-self: flex-start;
  color: #7afcff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 300ms ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-read:hover {
  gap: 12px;
  color: #7affc7;
}

/* Category Sections */
.guides-category {
  padding: 72px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.guides-category .section-header {
  text-align: left;
  margin-bottom: 48px;
}

.guides-category h2 {
  font-size: clamp(24px, 4vw, 40px);
  margin: 12px 0 0;
  font-weight: 700;
}

.guides-category .sub {
  font-size: 16px;
  max-width: 600px;
  margin-top: 12px;
}

/* Recruiter Section */
.recruiter-section {
  padding: 72px 20px;
  background: linear-gradient(180deg, rgba(122, 252, 255, 0.05) 0%, transparent 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.recruiter-section .section-header {
  margin-bottom: 48px;
}

.recruiter-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px;
  background: rgba(18, 26, 38, 0.8);
  border: 1px solid rgba(122, 252, 255, 0.2);
  border-radius: 14px;
}

.recruiter-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* Contact Form */
.guides-page .contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-field {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(18, 26, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 14px;
  transition: all 300ms ease;
}

body[data-theme="light"] .contact-field {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(15, 23, 36, 0.1);
}

.contact-field:focus {
  outline: none;
  border-color: rgba(122, 252, 255, 0.5);
  background: rgba(122, 252, 255, 0.05);
}

.contact-actions {
  display: flex;
  gap: 12px;
}

.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 300ms ease;
}

.ghost:hover {
  border-color: rgba(122, 252, 255, 0.8);
  color: #7afcff;
}

/* Responsive */
@media (max-width: 880px) {
  .guides-page section {
    padding: 48px 20px;
  }

  .guides-page .section-header {
    margin-bottom: 32px;
  }

  .guides-page .section-header h2 {
    font-size: 28px;
  }

  .filter-chips {
    gap: 8px;
  }

  .chip-btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .guides-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .guides-category h2 {
    font-size: 24px;
  }

  .recruiter-card {
    padding: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
/*
@keyframes scroll_hold {
  to {
    scroll-snap-align: start;
  }
  }

  .swiper-section::-webkit-scrollbar {
    display: none;
  }
*/
