* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: #f7faff;
  color: #102957;
  padding-bottom: 84px;
}

/* =========================
   TOP BAR
   ========================= */

.topbar {
  height: 82px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5%;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 14px #153b6912;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #102957;
}

.brand-icon {
  font-size: 42px;
}

.brand b {
  font-size: 29px;
  letter-spacing: -1.2px;
}

.brand b span {
  color: #08a7f5;
}

.brand small {
  display: block;
  color: #7184a6;
  font-weight: 600;
}

/* =========================
   SEARCH
   ========================= */

.search-wrap {
  display: flex;
  align-items: center;
  background: #eef5ff;
  border-radius: 30px;
  padding: 4px 8px 4px 18px;
  width: min(390px, 42vw);
}

.search-wrap input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-size: 16px;
  color: #19365f;
}

.search-wrap button {
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: #173a70;
}

/* =========================
   PAGE
   ========================= */

.page {
  max-width: 1200px;
  margin: auto;
  padding: 24px 4%;
}

.hidden {
  display: none !important;
}

/* =========================
   HERO SLIDER
   ========================= */

.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
}

/* Only active hero is visible */
.hero-slider .hero {
  display: none !important;
  width: 100%;
  margin: 0;
}

.hero-slider .hero.active {
  display: flex !important;
  animation: heroSlide 0.5s ease both;
}

/* Hero slide animation */
@keyframes heroSlide {
  from {
    opacity: 0;
    transform: translateX(25px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================
   HERO
   ========================= */

.hero {
  min-height: 260px;
  height: 260px;
  border-radius: 24px;
  padding: 35px 5%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  overflow: hidden;

  background: linear-gradient(
    120deg,
    #0878f9,
    #09b8ee 55%,
    #6939ed
  );

  color: #fff;

  box-shadow: 0 15px 35px #2476d32e;
}

.eyebrow {
  font-weight: 800;
  letter-spacing: 1.4px;
  margin: 0 0 8px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.03;
  margin: 0;
}

.hero h1 strong {
  color: #ffe01a;
}

.hero p:not(.eyebrow) {
  font-size: 18px;
  margin: 12px 0;
}

.primary {
  border: 0;
  border-radius: 30px;

  background: #ffd51b;
  color: #132d61;

  font-weight: 900;
  font-size: 17px;

  padding: 15px 25px;

  cursor: pointer;

  box-shadow: 0 6px 0 #d6a900;
}

.primary:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #d6a900;
}

.hero-art {
  font-size: 120px;
  position: relative;
  transform: rotate(-8deg);
  filter: drop-shadow(0 15px 10px #0003);
}

.hero-art span {
  font-size: 50px;
  position: absolute;
  top: -20px;
  left: 55px;
}

/* =========================
   HERO ARROWS REMOVED
   ========================= */

.hero-arrow {
  display: none !important;
}

/* =========================
   HERO DOTS
   ========================= */

.hero-dots {
  position: absolute;

  left: 50%;
  bottom: 8px;

  transform: translateX(-50%);

  display: flex;
  gap: 5px;

  z-index: 10;
}

.hero-dots button {
  width: 6px;
  height: 6px;

  padding: 0;
  border: 0;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.55);

  cursor: pointer;

  transition: 0.25s ease;
}

.hero-dots button.active {
  width: 18px;

  border-radius: 8px;

  background: #fff;
}

/* =========================
   SECTIONS
   ========================= */

.section {
  margin-top: 35px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 15px;
}

.section-title h2,
.page-heading h1 {
  margin: 0;
  font-size: 28px;
}

.section-title button {
  border: 0;
  background: none;

  color: #0878f9;

  font-weight: 800;
  font-size: 15px;

  cursor: pointer;
}

/* =========================
   GAME GRID
   ========================= */

.game-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.game-item {
  position: relative;

  text-align: center;

  background: transparent;

  min-width: 0;
}

.game-link {
  display: block;

  text-decoration: none;

  color: #102957;

  cursor: pointer;
}

.game-logo {
  width: 100%;
  aspect-ratio: 1 / 1;

  background: #fff;

  border-radius: 18px;

  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 5px 20px #173a7010;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.game-link:hover .game-logo {
  transform: translateY(-4px);

  box-shadow: 0 10px 25px #173a7020;
}

.game-logo img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}

.emoji-logo {
  font-size: 70px;
}

.game-link h3 {
  margin: 10px 3px 0;

  font-size: 16px;

  font-weight: 800;

  line-height: 1.25;
}

/* =========================
   FAVORITE HEART
   ========================= */

.favorite-btn {
  position: absolute;

  right: 7px;
  top: 7px;

  z-index: 5;

  width: 30px;
  height: 30px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.95);

  color: #102957;

  font-size: 16px;
  line-height: 1;

  cursor: pointer;

  box-shadow: 0 3px 9px #0002;
}

.favorite-btn.active {
  color: #ff3d73;
}

/* =========================
   CATEGORIES
   ========================= */

.category-grid {
  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 15px;
}

.category-card {
  border: 0;

  border-radius: 18px;

  padding: 20px 12px;

  background: #fff;

  box-shadow: 0 5px 20px #173a700d;

  font-weight: 800;

  color: #173a70;

  cursor: pointer;

  font-size: 16px;
}

.category-card span {
  display: block;

  font-size: 38px;

  margin-bottom: 8px;
}

.category-large {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 16px;
}

.category-large .category-card {
  min-height: 125px;
}

/* =========================
   PAGE HEADING
   ========================= */

.page-heading {
  padding: 20px 0;
}

.page-heading p {
  color: #7184a6;
}

/* =========================
   EMPTY STATE
   ========================= */

.game-grid .empty-state {
  grid-column: 1 / -1;

  width: 100%;
  min-width: 0;

  min-height: 260px;

  padding: 45px 20px;

  background: #fff;

  border-radius: 20px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  color: #7184a6;
}

.game-grid .empty-state div {
  font-size: 55px;

  margin-bottom: 15px;
}

.game-grid .empty-state h3 {
  margin: 0 0 12px;

  color: #102957;

  font-size: 22px;

  line-height: 1.25;
}

.game-grid .empty-state p {
  max-width: 320px;

  margin: 0;

  font-size: 16px;

  line-height: 1.45;
}

/* =========================
   BOTTOM NAV
   ========================= */

.bottom-nav {
  position: fixed;

  bottom: 0;
  left: 0;
  right: 0;

  height: 72px;

  background: #fff;

  border-top: 1px solid #e8eef8;

  display: flex;

  justify-content: center;

  gap: min(18vw, 180px);

  z-index: 30;
}

.bottom-nav button {
  width: 100px;

  border: 0;

  background: none;

  color: #6c7f9e;

  font-weight: 700;

  font-size: 24px;

  cursor: pointer;
}

.bottom-nav button span {
  display: block;

  font-size: 13px;

  margin-top: 3px;
}

.bottom-nav button.active {
  color: #0878f9;
}

/* =========================
   TOAST
   ========================= */

.toast {
  position: fixed;

  left: 50%;
  bottom: 92px;

  transform: translateX(-50%) translateY(20px);

  background: #102957;

  color: #fff;

  padding: 11px 18px;

  border-radius: 25px;

  opacity: 0;

  pointer-events: none;

  transition: 0.25s;

  z-index: 50;
}

.toast.show {
  opacity: 1;

  transform: translateX(-50%) translateY(0);
}

/* =========================
   TABLET
   ========================= */

@media (max-width: 850px) {

  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-large {
    grid-template-columns: repeat(3, 1fr);
  }

}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 600px) {

  /* TOP BAR */

  .topbar {
    height: auto;

    min-height: 76px;

    padding: 10px 4%;

    flex-wrap: wrap;

    gap: 9px;
  }

  .brand {
    gap: 8px;
  }

  .brand b {
    font-size: 23px;
  }

  .brand small {
    font-size: 11px;
  }

  .brand-icon {
    font-size: 34px;
  }

  /* SEARCH */

  .search-wrap {
    order: 3;

    width: 100%;

    height: 54px;
  }

  .search-wrap input {
    font-size: 16px;
  }

  /* PAGE */

  .page {
    padding: 12px 4%;
  }

  /* =====================
     SMALL MOBILE HERO
     ===================== */

  .hero-slider {
    width: 100% !important;

    height: 180px !important;

    min-height: 180px !important;

    max-height: 180px !important;

    margin: 0 !important;

    padding: 0 !important;

    overflow: hidden !important;

    border-radius: 20px !important;
  }

  .hero-slider .hero {
    width: 100% !important;

    height: 180px !important;

    min-height: 180px !important;

    max-height: 180px !important;

    padding: 18px 6% !important;

    margin: 0 !important;

    border-radius: 20px !important;

    overflow: hidden !important;

    align-items: center !important;
  }

  .hero-slider .hero h1 {
    font-size: 26px !important;

    line-height: 1.02 !important;

    margin: 0 !important;
  }

  .hero-slider .hero p:not(.eyebrow) {
    font-size: 12px !important;

    line-height: 1.25 !important;

    margin: 7px 0 10px !important;
  }

  .hero-slider .eyebrow {
    font-size: 11px !important;

    letter-spacing: 0.8px !important;

    margin-bottom: 5px !important;
  }

  .hero-slider .primary {
    font-size: 12px !important;

    padding: 8px 14px !important;

    box-shadow: 0 3px 0 #d6a900 !important;
  }

  .hero-slider .hero-art {
    display: none !important;
  }

  /* ARROWS COMPLETELY HIDDEN */

  .hero-arrow {
    display: none !important;
  }

  /* HERO DOTS */

  .hero-dots {
    bottom: 7px;
  }

  .hero-dots button {
    width: 6px;
    height: 6px;
  }

  .hero-dots button.active {
    width: 18px;
  }

  /* =====================
     SECTIONS
     ===================== */

  .section {
    margin-top: 25px;
  }

  .section-title {
    margin-bottom: 11px;
  }

  .section-title h2 {
    font-size: 23px;
  }

  .section-title button {
    font-size: 14px;
  }

  /* =====================
     3 GAMES PER ROW
     ===================== */

  .game-grid {
    display: grid;

    grid-template-columns:
      repeat(3, minmax(0, 1fr));

    gap: 13px 9px;

    overflow: visible;

    padding: 0;
  }

  .game-item {
    min-width: 0;

    width: 100%;
  }

  .game-logo {
    width: 100%;

    height: auto;

    aspect-ratio: 1 / 1;

    border-radius: 12px;
  }

  .game-link h3 {
    font-size: 12px;

    line-height: 1.2;

    margin: 7px 1px 0;
  }

  .emoji-logo {
    font-size: 50px;
  }

  /* =====================
     SMALL HEART
     ===================== */

  .favorite-btn {
    width: 27px;

    height: 27px;

    right: 5px;

    top: 5px;

    font-size: 15px;

    box-shadow: 0 2px 7px #0002;
  }

  /* =====================
     CATEGORY
     ===================== */

  .category-grid {
    display: flex;

    overflow-x: auto;

    padding-bottom: 6px;

    -webkit-overflow-scrolling: touch;
  }

  .category-grid::-webkit-scrollbar {
    display: none;
  }

  .category-grid .category-card {
    min-width: 105px;
  }

  .category-large {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-large .category-card {
    min-height: 105px;
  }

  /* =====================
     EMPTY FAVORITES
     ===================== */

  .game-grid .empty-state {
    grid-column: 1 / -1 !important;

    width: 100% !important;

    min-width: 100% !important;

    min-height: 300px;

    padding: 40px 20px;

    border-radius: 20px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
  }

  .game-grid .empty-state div {
    font-size: 55px;

    margin-bottom: 15px;
  }

  .game-grid .empty-state h3 {
    font-size: 22px;

    line-height: 1.25;

    margin: 0 0 12px;
  }

  .game-grid .empty-state p {
    max-width: 280px;

    margin: 0;

    font-size: 16px;

    line-height: 1.45;
  }

  /* =====================
     BOTTOM NAV
     ===================== */

  .bottom-nav {
    height: 72px;

    gap: 18vw;
  }

  .bottom-nav button {
    font-size: 22px;
  }

  .bottom-nav button span {
    font-size: 13px;
  }

}

/* =========================
   VERY SMALL PHONES
   ========================= */

@media (max-width: 380px) {

  .brand b {
    font-size: 21px;
  }

  .brand-icon {
    font-size: 30px;
  }

  /* Smaller Hero */

  .hero-slider {
    height: 165px !important;

    min-height: 165px !important;

    max-height: 165px !important;
  }

  .hero-slider .hero {
    height: 165px !important;

    min-height: 165px !important;

    max-height: 165px !important;

    padding: 16px 7% !important;
  }

  .hero-slider .hero h1 {
    font-size: 23px !important;
  }

  .hero-slider .hero p:not(.eyebrow) {
    font-size: 11px !important;
  }

  .hero-slider .eyebrow {
    font-size: 10px !important;
  }

  .hero-slider .primary {
    font-size: 11px !important;

    padding: 7px 12px !important;
  }

  /* Games */

  .game-grid {
    gap: 11px 7px;
  }

  .game-link h3 {
    font-size: 11px;
  }

  /* Heart */

  .favorite-btn {
    width: 25px;

    height: 25px;

    font-size: 14px;
  }

  /* Empty state */

  .game-grid .empty-state {
    min-height: 270px;
  }

}

/* =========================
   FINAL ARROW SAFETY FIX
   ========================= */

.hero-arrow,
.hero-arrow.prev,
.hero-arrow.next {
  display: none !important;
  }
/* =========================
   GAMEWITHFUN INFO SECTIONS
   ========================= */

.info-section {
  width: 100%;
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 4%;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border: 1px solid #e7edf7;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(20, 60, 120, 0.07);
}

.info-icon {
  width: 58px;
  height: 58px;
  min-width: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef6ff;
  border-radius: 16px;
  font-size: 29px;
}

.info-content {
  flex: 1;
}

.info-content h2 {
  margin: 0 0 10px;
  color: #102957;
  font-size: 24px;
}

.info-content p {
  margin: 0;
  color: #52627a;
  font-size: 15px;
  line-height: 1.75;
}


/* =========================
   HOW TO PLAY
   ========================= */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f8ff;
  padding: 12px;
  border-radius: 12px;
  color: #243b63;
  font-size: 13px;
}

.step span {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0878f9;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
}


/* =========================
   WHY GAMEWITHFUN
   ========================= */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.features div {
  background: #f5f8ff;
  padding: 13px 15px;
  border-radius: 11px;
  color: #243b63;
  font-size: 14px;
}


/* =========================
   MOBILE INFO SECTIONS
   ========================= */

@media (max-width: 600px) {

  .info-section {
    margin: 25px auto;
    padding: 0 4%;
  }

  .info-card {
    padding: 19px;
    gap: 13px;
    border-radius: 17px;
  }

  .info-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 13px;
    font-size: 23px;
  }

  .info-content h2 {
    font-size: 20px;
  }

  .info-content p {
    font-size: 14px;
    line-height: 1.65;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .step {
    padding: 10px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .features div {
    padding: 11px 13px;
  }

}
/* =========================
   FOOTER
   ========================= */

.site-footer {
  margin-top: 45px;
  padding: 30px 5% 100px;
  background: #ffffff;
  border-top: 1px solid #e7edf7;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer-links a {
  color: #52627a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover {
  color: #0878f9;
}

.site-footer p {
  margin: 18px 0 0;
  color: #8a99b2;
  font-size: 13px;
}

@media (max-width: 600px) {

  .site-footer {
    padding: 25px 5% 95px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .footer-links a {
    font-size: 13px;
  }

}
/* ==================================================
   COMPACT HEADER
================================================== */

.topbar {
  width: 100%;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 10px 14px;

  background: #0878f9;

  position: relative;
  z-index: 100;
}


/* LOGO */

.brand {
  display: flex;
  align-items: center;

  flex-shrink: 0;

  text-decoration: none;
  color: white;

  gap: 6px;
}


.brand-icon {
  font-size: 28px;
  line-height: 1;
}


.brand-name {
  font-size: 20px;
  white-space: nowrap;
}


.brand-name b {
  color: white;
}


.brand-name b span {
  color: #38bdf8;
}


/* SEARCH */

.search-wrap {
  flex: 1;

  display: flex;
  align-items: center;

  height: 42px;

  background: white;

  border-radius: 22px;

  overflow: hidden;

  min-width: 0;
}


.search-wrap input {
  flex: 1;

  min-width: 0;

  height: 100%;

  border: none;
  outline: none;

  padding: 0 12px;

  font-size: 15px;

  color: #111827;

  background: transparent;
}


.search-wrap input::placeholder {
  color: #6b7280;
}


.search-wrap button {
  width: 45px;
  height: 100%;

  border: none;

  background: transparent;

  font-size: 20px;

  cursor: pointer;

  color: #0878f9;
}


/* MOBILE */

@media (max-width: 480px) {

  .topbar {
    padding: 9px 10px;
    gap: 8px;
  }

  .brand-icon {
    font-size: 24px;
  }

  .brand-name {
    font-size: 17px;
  }

  .search-wrap {
    height: 38px;
  }

  .search-wrap input {
    font-size: 14px;
    padding: 0 9px;
  }

  .search-wrap button {
    width: 38px;
    font-size: 18px;
  }

}
/* =========================
   GAMEWITHFUN LOGO
========================= */

.site-logo {
  width: 115px;
  height: 42px;

  object-fit: contain;

  display: block;
}

.brand {
  display: flex;
  align-items: center;

  flex-shrink: 0;

  text-decoration: none;
}


/* MOBILE */

@media (max-width: 480px) {

  .site-logo {
    width: 105px;
    height: 40px;
  }

}
.site-logo {
  width: 125px !important;
  height: 45px !important;
  object-fit: contain;
  display: block;
}

@media (max-width: 480px) {
  .site-logo {
    width: 125px !important;
    height: 50px !important;
  }
}

/* ==================================================
   BOTTOM NAVIGATION - MOBILE FIX
================================================== */

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  width: 100%;
  height: 72px;

  background: #ffffff;

  display: flex;
  align-items: center;
  justify-content: space-around;

  padding: 4px 5px;

  z-index: 99999;

  box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.10);
}


/* ALL NAV BUTTONS */

.bottom-nav .nav-item {
  flex: 1;

  min-width: 0;
  max-width: 25%;

  height: 64px;

  border: none;
  outline: none;

  background: transparent;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 3px;

  padding: 3px 1px;

  color: #52627a;

  font-family: Inter, Arial, sans-serif;

  font-size: 11px;
  font-weight: 600;

  white-space: nowrap;

  cursor: pointer;
}


/* ICON */

.bottom-nav .nav-icon {
  font-size: 22px;
  line-height: 24px;
}


/* ACTIVE */

.bottom-nav .nav-item.active {
  color: #0878f9;
}


/* CLICK EFFECT */

.bottom-nav .nav-item:active {
  transform: scale(0.95);
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 600px) {

  .bottom-nav {
    height: 70px;
    padding: 3px 2px;
  }

  .bottom-nav .nav-item {
    height: 62px;
    font-size: 10px;
  }

  .bottom-nav .nav-icon {
    font-size: 20px;
  }

}


/* ==================================================
   SMALL PHONE
================================================== */

@media (max-width: 380px) {

  .bottom-nav .nav-item {
    font-size: 9px;
  }

  .bottom-nav .nav-icon {
    font-size: 18px;
  }

}
/* =========================================
   GAMEWITHFUN - MODERN ARTICLE DESIGN
   ========================================= */

.gamewithfun-long-article {
  width: min(1100px, calc(100% - 24px));
  margin: 35px auto 45px;
  padding: 34px 32px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  color: #222;
  line-height: 1.8;
  overflow: hidden;
}

/* Article Header */

.gamewithfun-long-article h1 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-align: center;
  background: linear-gradient(90deg, #6c5ce7, #00b894);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Main Headings */

.gamewithfun-long-article h2 {
  margin: 42px 0 16px;
  padding: 12px 16px;
  border-left: 5px solid #6c5ce7;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(108, 92, 231, 0.10),
    rgba(0, 184, 148, 0.04)
  );
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  font-weight: 800;
  color: #242424;
}

/* Small Headings */

.gamewithfun-long-article h3 {
  margin: 28px 0 12px;
  font-size: 21px;
  line-height: 1.4;
  font-weight: 750;
  color: #333;
}

/* Paragraph */

.gamewithfun-long-article p {
  margin: 0 0 17px;
  font-size: 16px;
  color: #555;
}

/* First Paragraph */

.gamewithfun-long-article h1 + p {
  max-width: 850px;
  margin: 0 auto 28px;
  text-align: center;
  font-size: 17px;
  color: #666;
}

/* Strong Text */

.gamewithfun-long-article strong {
  color: #222;
  font-weight: 750;
}

/* Lists */

.gamewithfun-long-article ul,
.gamewithfun-long-article ol {
  margin: 15px 0 24px;
  padding-left: 25px;
}

.gamewithfun-long-article li {
  margin: 9px 0;
  padding-left: 5px;
  color: #555;
}

.gamewithfun-long-article li::marker {
  color: #6c5ce7;
  font-weight: bold;
}

/* Links */

.gamewithfun-long-article a {
  color: #6c5ce7;
  font-weight: 700;
  text-decoration: none;
}

.gamewithfun-long-article a:hover {
  text-decoration: underline;
}

/* =========================================
   GAME INFORMATION CARDS
   ========================================= */

.gamewithfun-long-article .article-card {
  margin: 22px 0;
  padding: 22px;
  background: #f8f9ff;
  border: 1px solid rgba(108, 92, 231, 0.12);
  border-radius: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gamewithfun-long-article .article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

/* =========================================
   GAME LIST / FEATURE BOX
   ========================================= */

.gamewithfun-long-article .game-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 28px;
}

.gamewithfun-long-article .game-list > div {
  padding: 15px 17px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 15px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.gamewithfun-long-article .game-list > div strong {
  display: block;
  margin-bottom: 4px;
  color: #6c5ce7;
}

/* =========================================
   HIGHLIGHT BOX
   ========================================= */

.gamewithfun-long-article .highlight {
  margin: 25px 0;
  padding: 20px 22px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(108, 92, 231, 0.10),
    rgba(0, 184, 148, 0.08)
  );
  border: 1px solid rgba(108, 92, 231, 0.15);
}

.gamewithfun-long-article .highlight p:last-child {
  margin-bottom: 0;
}

/* =========================================
   CATEGORY BADGES
   ========================================= */

.gamewithfun-long-article .category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 25px;
}

.gamewithfun-long-article .category-list span {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 999px;
  background: #f1efff;
  color: #5b4bd8;
  font-size: 14px;
  font-weight: 700;
}

/* =========================================
   FAQ SECTION
   ========================================= */

.gamewithfun-long-article .faq-item {
  margin: 14px 0;
  padding: 18px 20px;
  background: #fafafa;
  border: 1px solid #e9e9e9;
  border-radius: 15px;
}

.gamewithfun-long-article .faq-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #252525;
}

.gamewithfun-long-article .faq-item p {
  margin: 0;
  color: #666;
}

/* =========================================
   TABLE
   ========================================= */

.gamewithfun-long-article table {
  width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #eee;
}

.gamewithfun-long-article th,
.gamewithfun-long-article td {
  padding: 13px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.gamewithfun-long-article th {
  background: #f3f1ff;
  color: #4d3ec7;
  font-weight: 750;
}

.gamewithfun-long-article td {
  color: #555;
  background: #fff;
}

/* =========================================
   ARTICLE SEPARATOR
   ========================================= */

.gamewithfun-long-article hr {
  margin: 35px 0;
  border: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #ddd,
    transparent
  );
}

/* =========================================
   FINAL ARTICLE BOX
   ========================================= */

.gamewithfun-long-article .article-end {
  margin-top: 40px;
  padding: 28px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    #f5f3ff,
    #effffb
  );
  border: 1px solid rgba(108, 92, 231, 0.12);
}

.gamewithfun-long-article .article-end h2 {
  border: 0;
  padding: 0;
  background: none;
  margin: 0 0 10px;
}

/* =========================================
   MOBILE RESPONSIVE
   ========================================= */

@media (max-width: 768px) {

  .gamewithfun-long-article {
    width: calc(100% - 16px);
    margin: 22px auto 30px;
    padding: 24px 18px;
    border-radius: 19px;
    line-height: 1.7;
  }

  .gamewithfun-long-article h1 {
    font-size: 29px;
    margin-bottom: 15px;
  }

  .gamewithfun-long-article h2 {
    margin-top: 32px;
    padding: 10px 13px;
    font-size: 22px;
  }

  .gamewithfun-long-article h3 {
    font-size: 19px;
  }

  .gamewithfun-long-article p {
    font-size: 15px;
  }

  .gamewithfun-long-article .game-list {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .gamewithfun-long-article .article-card {
    padding: 17px;
    border-radius: 15px;
  }

  .gamewithfun-long-article .highlight {
    padding: 17px;
  }

  .gamewithfun-long-article table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .gamewithfun-long-article th,
  .gamewithfun-long-article td {
    padding: 11px 12px;
  }
}

/* =========================================
   SMALL PHONE
   ========================================= */

@media (max-width: 420px) {

  .gamewithfun-long-article {
    padding: 20px 14px;
  }

  .gamewithfun-long-article h1 {
    font-size: 25px;
  }

  .gamewithfun-long-article h2 {
    font-size: 20px;
  }

  .gamewithfun-long-article p {
    font-size: 14.5px;
  }

  .gamewithfun-long-article .category-list {
    gap: 7px;
  }

  .gamewithfun-long-article .category-list span {
    padding: 7px 12px;
    font-size: 13px;
  }
}
