/* Theme-specific CSS (no inline styles). */

/* Base typography */
body { font-family: 'Inter', sans-serif; }

/* Dark transparent scrollbar */
.scrollbar-dark::-webkit-scrollbar { width: 6px; }
.scrollbar-dark::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); border-radius: 3px; }
.scrollbar-dark::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.5); border-radius: 3px; }
.scrollbar-dark::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.6); }
.scrollbar-dark { scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.5) rgba(0,0,0,0.2); }

/* Logos */
.custom-logo-link { display: block; }
.custom-logo { height: auto; max-height: 2.5rem; width: auto; object-fit: contain; }
.logo-card .custom-logo { max-height: 3.5rem; }

/* Nav links */
.mobile-top-nav a { display: inline-block; padding: 0.375rem 0.75rem; border-radius: 0.375rem; font-size: 0.75rem; font-weight: 500; color: #cbd5e1; transition: color 0.15s, background-color 0.15s; }
.mobile-top-nav a:hover { color: #fbbf24; background-color: rgba(51,65,85,0.5); }
.desktop-primary-nav a { display: inline-block; padding: 0.5rem 1rem; border-radius: 0.375rem; font-size: 0.875rem; font-weight: 500; color: #e2e8f0; transition: color 0.15s, background-color 0.15s; }
.desktop-primary-nav a:hover { color: #fbbf24; background-color: rgba(51,65,85,0.5); }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Home banner carousel (scroll-snap, no Swiper) */
.funin-banner-carousel { width: 100%; max-width: 100%; box-sizing: border-box; margin: 0; padding: 0; }
.funin-banner-track { width: 100%; overflow: hidden; }
.funin-banner-track-inner { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.funin-banner-track-inner::-webkit-scrollbar { display: none; }
.funin-banner-track-inner { scrollbar-width: none; }
.funin-banner-slide { flex: 0 0 100%; min-width: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.funin-banner-slide > a { display: block; width: 100%; }
.funin-banner-slide img { width: 100%; height: 100%; object-fit: cover; display: block; vertical-align: top; }

/* Left block enhancements */
.left-block-header { background: linear-gradient(180deg, rgba(30,41,59,0.95) 0%, rgba(15,23,42,0.98) 100%); backdrop-filter: blur(8px); }
.left-block-news { background: linear-gradient(90deg, rgba(251,191,36,0.08) 0%, transparent 50%); border-left: 3px solid rgba(251,191,36,0.6); }
.left-block-promo-card { background: linear-gradient(135deg, rgba(251,191,36,0.15) 0%, rgba(245,158,11,0.08) 50%, rgba(15,23,42,0.9) 100%); border: 1px solid rgba(251,191,36,0.25); }
.left-block-game-tile { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.left-block-game-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 25px -5px rgba(0,0,0,0.3); }
.left-block-highlight-row:hover { background: rgba(51,65,85,0.6); border-left: 3px solid rgba(251,191,36,0.5); }
.left-block-trust-dot { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; animation: left-block-pulse 2s ease-in-out infinite; }
@keyframes left-block-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.left-block-vip-bar { background: linear-gradient(90deg, rgba(251,191,36,0.4) 0%, rgba(251,191,36,0.2) 100%); }

/* Right block sections */
.right-block-section { scroll-margin-top: 1rem; }
.right-block-game-pill { min-width: 6rem; }
.funin-content-section { position: relative; }

/* Featured Games (custom tiles) */
.funin-featured-tile{
  flex: 0 0 auto;
  width: 200px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(30,41,59,0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 18px 45px -28px rgba(0,0,0,0.85);
  transition: transform .15s ease, border-color .15s ease, filter .15s ease;
  text-decoration: none;
}
.funin-featured-tile:hover{
  transform: translateY(-2px);
  border-color: rgba(251,191,36,0.45);
  filter: brightness(1.04);
}
.funin-featured-tile__media{
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(2,6,23,0.35);
}
.funin-featured-tile__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  background: radial-gradient(700px 220px at 30% 10%, rgba(56,189,248,0.14), transparent 55%),
              radial-gradient(700px 220px at 70% 90%, rgba(251,191,36,0.10), transparent 55%);
}
.funin-featured-tile__shade{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,0.00) 35%, rgba(2,6,23,0.75) 82%, rgba(2,6,23,0.92) 100%);
}
.funin-featured-tile__text{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 14px 14px;
  display: grid;
  gap: 6px;
}
.funin-featured-tile__title{
  color: rgba(248,250,252,0.96);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.funin-featured-tile__cta{
  color: rgba(251,191,36,0.98);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
  opacity: 0.95;
  transition: transform .15s ease, opacity .15s ease;
}
.funin-featured-tile:hover .funin-featured-tile__cta{
  transform: translateX(2px);
  opacity: 1;
}
@media (min-width: 1024px){
  .funin-featured-tile{ width: 240px; }
  .funin-featured-tile__title{ font-size: 15px; }
}

/* Landscape slider */
.funin-landscape-track-inner { -webkit-overflow-scrolling: touch; }
.funin-landscape-track-inner::-webkit-scrollbar { display: none; }
.funin-landscape-track-inner { scrollbar-width: none; }
.funin-landscape-slide-link { display: flex; align-items: center; justify-content: center; }
.funin-landscape-slide-img { object-fit: contain; display: block; }

/* Blog post content typography */
.funin-post-content { max-width: 65ch; line-height: 1.7; color: #cbd5e1; }
.funin-post-content > * + * { margin-top: 1.25em; }
.funin-post-content p { margin-bottom: 0; }
.funin-post-content h1, .funin-post-content h2, .funin-post-content h3, .funin-post-content h4, .funin-post-content h5, .funin-post-content h6 {
  color: #f8fafc; font-weight: 700; line-height: 1.3; margin-top: 1.5em; margin-bottom: 0.5em;
}
.funin-post-content h1 { font-size: 1.75rem; }
.funin-post-content h2 { font-size: 1.5rem; border-bottom: 1px solid rgba(148, 163, 184, 0.3); padding-bottom: 0.25em; }
.funin-post-content h3 { font-size: 1.25rem; }
.funin-post-content h4, .funin-post-content h5, .funin-post-content h6 { font-size: 1.125rem; }
.funin-post-content a { color: #fbbf24; text-decoration: none; }
.funin-post-content a:hover { text-decoration: underline; }
.funin-post-content ul, .funin-post-content ol { padding-left: 1.5em; margin: 0.75em 0; }
.funin-post-content li { margin: 0.35em 0; }
.funin-post-content ul { list-style-type: disc; }
.funin-post-content ol { list-style-type: decimal; }
.funin-post-content blockquote {
  border-left: 4px solid rgba(251, 191, 36, 0.6); padding-left: 1rem; margin: 1.25em 0;
  color: #94a3b8; font-style: italic;
}
.funin-post-content img { max-width: 100%; height: auto; border-radius: 0.5rem; margin: 1em 0; display: block; }
.funin-post-content strong { color: #e2e8f0; font-weight: 600; }
.funin-post-content hr { border: 0; border-top: 1px solid rgba(148, 163, 184, 0.3); margin: 1.5em 0; }
.funin-post-content pre, .funin-post-content code { background: rgba(30, 41, 59, 0.8); color: #e2e8f0; padding: 0.2em 0.4em; border-radius: 0.25rem; font-size: 0.9em; }
.funin-post-content pre { padding: 1rem; overflow-x: auto; margin: 1em 0; }
.funin-post-content pre code { padding: 0; background: none; }

/* Homepage layout (stable on live, no inline CSS) */
.funin-left-shell { display: none; }
@media (min-width: 1024px) {
  .funin-left-shell { display: flex; }
  .funin-home-main { margin-left: 460px; }
}
@media (min-width: 1280px) {
  .funin-home-main { margin-left: 500px; }
}

/* Editable marketing H2 blocks */
.funin-article {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(135deg, rgba(15,23,42,0.78), rgba(2,6,23,0.62));
  box-shadow: 0 30px 70px -45px rgba(0,0,0,0.95);
  backdrop-filter: blur(10px);
}
.funin-article:before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(900px 260px at 10% 0%, rgba(251,191,36,0.14), transparent 55%),
    radial-gradient(700px 260px at 80% 100%, rgba(56,189,248,0.12), transparent 60%);
  pointer-events:none;
}
.funin-article__inner { position: relative; z-index: 1; }
.funin-article h2 {
  color: #f8fafc;
  font-weight: 800;
  line-height: 1.25;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.85rem;
}
.funin-article h2:after{
  content:"";
  display:block;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  margin-top: 10px;
  background: linear-gradient(90deg, rgba(251,191,36,0.95), rgba(56,189,248,0.75));
  opacity: 0.9;
}
.funin-article .funin-article-body {
  color: rgba(226,232,240,0.88);
  font-size: 13px;
  line-height: 1.75;
  max-width: 75ch;
}
.funin-article .funin-article-body > * + * { margin-top: 0.9em; }
.funin-article a { color: rgba(251,191,36,0.95); text-decoration: none; }
.funin-article a:hover { text-decoration: underline; }
.funin-article strong { color: rgba(248,250,252,0.96); font-weight: 700; }
.funin-article ul, .funin-article ol { padding-left: 1.25rem; margin: 0.65rem 0; }
.funin-article li { margin: 0.35rem 0; }
.funin-article .funin-article-body ul:not(.funin-diamond-ul) {
  list-style: none;
  padding-left: 0;
  margin: 0.75rem 0;
  display: grid;
  gap: 10px;
}
.funin-article .funin-article-body ul:not(.funin-diamond-ul) > li {
  position: relative;
  padding-left: 32px;
  margin: 0;
  color: rgba(226,232,240,0.9);
}
.funin-article .funin-article-body ul:not(.funin-diamond-ul) > li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  color: rgba(251,191,36,0.98);
  background: rgba(251,191,36,0.10);
  border: 1px solid rgba(251,191,36,0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.funin-diamond-ul { list-style: none; padding-left: 0; margin: 0.75rem 0; display: grid; gap: 10px; }
.funin-diamond-ul li { position: relative; padding-left: 1.65rem; }
.funin-diamond-ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.55rem;
  height: 0.55rem;
  background: rgba(56,189,248,0.95);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.16);
  transform: rotate(45deg);
  border-radius: 0.08rem;
}
@media (min-width: 1024px) {
  .funin-article h2 { font-size: 1.35rem; }
  .funin-article .funin-article-body { font-size: 13.5px; }
}

/* Card 1 hero styles */
.funin-hero { width: 100%; }
.funin-hero__inner { max-width: 1100px; margin: 0 auto; padding: 48px 24px; }
.funin-hero__grid { display: flex; align-items: center; justify-content: space-between; gap: 80px; }
.funin-hero__left { flex: 1; min-width: 0; max-width: 560px; }
.funin-hero__title { margin: 0; color: #fff; font-weight: 800; font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; }
.funin-hero__body { margin-top: 12px; color: rgba(226,232,240,0.9); font-size: 13px; line-height: 1.6; max-width: 58ch; }
.funin-hero__cta { display: inline-flex; align-items: center; justify-content: center; margin-top: 16px; height: 42px; padding: 0 18px; border-radius: 12px; background: #f59e0b; color: #0b1220; font-weight: 800; letter-spacing: 0.06em; font-size: 11px; text-transform: uppercase; box-shadow: 0 10px 25px -12px rgba(245,158,11,0.65); text-decoration: none; }
.funin-hero__cta:hover { filter: brightness(1.05); }
.funin-hero__right { flex: 0 0 auto; width: var(--funin-hero-image-width, 420px); max-width: 40vw; }
.funin-hero__imageFrame { border-radius: 22px; overflow: hidden; background: rgba(0,0,0,0.18); box-shadow: 0 40px 90px -45px rgba(0,0,0,0.9); }
.funin-hero__image { display: block; width: 100%; height: auto; }
@media (max-width: 980px) {
  .funin-hero__inner { padding: 36px 18px; }
  .funin-hero__grid { gap: 28px; }
  .funin-hero__right { width: 360px; max-width: 45vw; }
  .funin-hero__title { font-size: 28px; }
}
@media (max-width: 820px) {
  .funin-hero__grid { flex-direction: column; align-items: stretch; }
  .funin-hero__right { width: 100%; max-width: 520px; margin: 0 auto; }
}

/* Card 2/3 feature styles */
.funin-feature { width: 100%; }
.funin-feature__inner { width: 100%; max-width: none; margin: 0; padding: 0 0 18px; }
.funin-feature__panel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(56,189,248,0.25);
  background: linear-gradient(135deg, rgba(2,6,23,0.80), rgba(12,74,110,0.22));
  box-shadow: 0 35px 80px -55px rgba(0,0,0,0.95);
}
.funin-feature__panel:before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(900px 260px at 20% 0%, rgba(56,189,248,0.18), transparent 55%),
              radial-gradient(700px 260px at 70% 100%, rgba(14,165,233,0.10), transparent 60%);
  pointer-events:none;
}
.funin-feature__grid { position: relative; z-index: 1; display: flex; align-items: stretch; gap: 18px; padding: 18px; }
.funin-feature__media {
  flex: 0 0 var(--funin-feature-image-width, 260px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.funin-feature__img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.funin-feature__img-fallback { width: 100%; height: 100%; display: block; background: rgba(56,189,248,0.10); }
.funin-feature__content { flex: 1; min-width: 0; padding: 4px 10px 8px; }
.funin-feature__title { margin: 0; color: #fff; font-weight: 800; font-size: 16px; line-height: 1.25; letter-spacing: -0.01em; }
.funin-feature__body { margin-top: 10px; color: rgba(226,232,240,0.88); font-size: 12.5px; line-height: 1.6; max-width: 70ch; }
.funin-feature__actions { margin-top: 12px; display: flex; align-items: center; gap: 10px; }
.funin-feature__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(56,189,248,0.35);
  background: rgba(2,6,23,0.25);
  color: rgba(186,230,253,0.92);
  font-weight: 700;
  font-size: 12px;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
  text-decoration: none;
}
.funin-feature__link:hover { filter: brightness(1.08); transform: translateY(-1px); background: rgba(14,165,233,0.10); }
.funin-feature__chev { width: 16px; height: 16px; opacity: 0.9; }
.funin-feature__bullets { margin-top: 14px; padding: 0; list-style: none; display: grid; gap: 10px; }
.funin-feature__bullet { display: flex; gap: 10px; align-items: flex-start; color: rgba(226,232,240,0.85); font-size: 12px; line-height: 1.45; }
.funin-feature__bullet-dot { width: 18px; height: 18px; border-radius: 999px; flex: 0 0 18px; margin-top: 1px; background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.35); display: grid; place-items: center; color: #fbbf24; font-size: 11px; }
@media (max-width: 980px) {
  .funin-feature__inner { padding: 0 0 16px; }
  .funin-feature__media { flex-basis: min(var(--funin-feature-image-width, 260px), 220px); }
}
@media (max-width: 820px) {
  .funin-feature__grid { flex-direction: column; }
  .funin-feature__media { flex-basis: auto; }
  .funin-feature__img { aspect-ratio: 16 / 9; }
}

