@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Noto+Sans+Bengali:wght@400;500;600;700&display=swap');

:root {
  --framee1440-ink: #0e1621;
  --framee1440-night: #111c2a;
  --framee1440-panel: #182638;
  --framee1440-panel-alt: #203247;
  --framee1440-copper: #a0522d;
  --framee1440-coral: #f08080;
  --framee1440-cream: #fff4e7;
  --framee1440-muted: #b9c6d2;
  --framee1440-line: rgba(255, 244, 231, .14);
  --framee1440-success: #b7e5c1;
  --framee1440-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  --framee1440-radius-small: 10px;
  --framee1440-radius-large: 26px;
  --framee1440-safe-bottom: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; background: var(--framee1440-ink); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--framee1440-cream);
  background:
    radial-gradient(circle at 10% 0%, rgba(160, 82, 45, .28), transparent 34rem),
    radial-gradient(circle at 100% 24%, rgba(240, 128, 128, .12), transparent 28rem),
    var(--framee1440-ink);
  font-family: 'Noto Sans Bengali', sans-serif;
  line-height: 1.72;
}
body.framee1440-lock-scroll { overflow: hidden; }
button, a { font: inherit; }
a { color: var(--framee1440-coral); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:focus-visible { color: #ffd0c2; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--framee1440-coral); outline-offset: 3px; }
img { display: block; max-width: 100%; }

.framee1440-topbar {
  position: fixed;
  z-index: 30;
  top: 0;
  width: 100%;
  background: rgba(14, 22, 33, .94);
  border-bottom: 1px solid var(--framee1440-line);
  backdrop-filter: blur(18px);
}
.framee1440-topbar-inner { width: min(100%, 980px); min-height: 66px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.framee1440-brand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; color: var(--framee1440-cream); font-family: 'Barlow Condensed', sans-serif; font-size: 1.45rem; font-weight: 800; letter-spacing: .03em; text-decoration: none; }
.framee1440-brand img { width: 38px; height: 38px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 2px rgba(240, 128, 128, .22); }
.framee1440-actions { display: flex; align-items: center; gap: 6px; }
.framee1440-action, .framee1440-menu-button { min-height: 44px; border: 1px solid rgba(240, 128, 128, .45); border-radius: 9px; color: var(--framee1440-cream); background: transparent; cursor: pointer; transition: background .2s ease, transform .2s ease, border-color .2s ease; }
.framee1440-action { padding: 5px 10px; font-family: 'Barlow Condensed', sans-serif; font-size: .92rem; font-weight: 700; }
.framee1440-action:first-child { color: var(--framee1440-ink); background: var(--framee1440-coral); border-color: var(--framee1440-coral); }
.framee1440-menu-button { width: 46px; padding: 0; font-size: 1.35rem; line-height: 1; }
.framee1440-action:hover, .framee1440-menu-button:hover { background: var(--framee1440-copper); border-color: var(--framee1440-coral); transform: translateY(-2px); }
.framee1440-action:first-child:hover { background: #ffaaa1; }

.framee1440-menu-panel { position: fixed; z-index: 25; inset: 66px 0 0; visibility: hidden; opacity: 0; padding: 22px 16px 100px; overflow-y: auto; background: rgba(14, 22, 33, .98); transform: translateY(-12px); transition: visibility .25s ease, opacity .25s ease, transform .25s ease; }
.framee1440-menu-open .framee1440-menu-panel { visibility: visible; opacity: 1; transform: translateY(0); }
.framee1440-menu-lead { width: min(100%, 620px); margin: 0 auto 18px; color: var(--framee1440-muted); }
.framee1440-menu-grid { width: min(100%, 620px); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.framee1440-menu-grid a { display: flex; min-height: 54px; align-items: center; padding: 10px 12px; border: 1px solid var(--framee1440-line); border-radius: 12px; color: var(--framee1440-cream); background: var(--framee1440-panel); text-decoration: none; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.framee1440-menu-grid a:hover, .framee1440-menu-grid a:focus-visible { border-color: var(--framee1440-coral); background: var(--framee1440-copper); transform: translateY(-2px); }

.framee1440-main { width: min(100%, 980px); margin: 0 auto; padding: 94px 14px var(--framee1440-safe-bottom); }
.framee1440-hero { position: relative; overflow: hidden; padding: 26px 20px 24px; border: 1px solid rgba(240, 128, 128, .28); border-radius: 18px 34px 18px 34px; background: linear-gradient(135deg, rgba(160, 82, 45, .72), rgba(24, 38, 56, .94) 62%); box-shadow: var(--framee1440-shadow); }
.framee1440-hero::after { content: ''; position: absolute; width: 150px; height: 150px; right: -58px; top: -58px; border: 22px solid rgba(240, 128, 128, .18); border-radius: 50%; }
.framee1440-kicker { position: relative; z-index: 1; margin: 0 0 7px; color: #ffd0c2; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--framee1440-cream); font-family: 'Barlow Condensed', 'Noto Sans Bengali', sans-serif; line-height: 1.13; }
h1 { position: relative; z-index: 1; max-width: 720px; margin-bottom: 12px; font-size: clamp(2.25rem, 9vw, 4.9rem); letter-spacing: -.02em; }
h2 { margin-bottom: 10px; font-size: clamp(1.55rem, 5vw, 2.45rem); }
h3 { margin-bottom: 7px; font-size: 1.35rem; }
p { margin: 0 0 14px; }
.framee1440-hero > p:not(.framee1440-kicker) { position: relative; z-index: 1; max-width: 680px; color: #fff0e5; }
.framee1440-hero-cta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.framee1440-cta, .framee1440-outline-cta { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; border-radius: 9px; font-weight: 700; text-decoration: none; cursor: pointer; }
.framee1440-cta { border: 1px solid var(--framee1440-coral); color: var(--framee1440-ink); background: var(--framee1440-coral); }
.framee1440-outline-cta { border: 1px solid rgba(255, 244, 231, .5); color: var(--framee1440-cream); background: rgba(14, 22, 33, .25); }
.framee1440-cta:hover, .framee1440-outline-cta:hover { color: var(--framee1440-ink); background: #ffd0c2; }

.framee1440-carousel { position: relative; margin: 18px 0 22px; overflow: hidden; border-radius: 16px; border: 1px solid var(--framee1440-line); background: var(--framee1440-panel); }
.framee1440-slide { display: none; position: relative; min-height: 190px; }
.framee1440-slide.is-active { display: block; animation: framee1440-fade-in .48s ease both; }
.framee1440-slide button { width: 100%; min-height: 190px; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.framee1440-slide img { width: 100%; height: 220px; object-fit: cover; opacity: .72; }
.framee1440-slide button::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 22, 33, .92), rgba(14, 22, 33, .18)); }
.framee1440-slide-caption { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 28px; display: grid; gap: 4px; }
.framee1440-slide-caption strong { max-width: 640px; font-family: 'Barlow Condensed', sans-serif; font-size: clamp(1.55rem, 6vw, 2.7rem); line-height: 1.05; }
.framee1440-slide-caption span { color: #ffe4d9; font-size: .88rem; }
.framee1440-dots { position: absolute; z-index: 2; right: 16px; bottom: 13px; display: flex; gap: 7px; }
.framee1440-dot { width: 13px; height: 13px; padding: 0; border: 1px solid var(--framee1440-cream); border-radius: 50%; background: transparent; cursor: pointer; }
.framee1440-dot.is-active { background: var(--framee1440-coral); border-color: var(--framee1440-coral); box-shadow: 0 0 0 3px rgba(240, 128, 128, .2); }

.framee1440-statline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 27px; }
.framee1440-stat { padding: 13px 8px; border-left: 3px solid var(--framee1440-coral); background: rgba(32, 50, 71, .62); }
.framee1440-stat b, .framee1440-stat span { display: block; }
.framee1440-stat b { color: var(--framee1440-coral); font-family: 'Barlow Condensed', sans-serif; font-size: 1.7rem; line-height: 1; }
.framee1440-stat span { margin-top: 5px; color: var(--framee1440-muted); font-size: .74rem; }
.framee1440-section { margin: 0 0 30px; scroll-margin-top: 84px; }
.framee1440-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--framee1440-line); }
.framee1440-section-heading h2 { margin-bottom: 0; }
.framee1440-section-heading p { flex: 0 0 auto; margin: 0; color: var(--framee1440-coral); font-size: .78rem; font-weight: 700; }
.framee1440-section-intro { max-width: 720px; margin: 12px 0 15px; color: var(--framee1440-muted); font-size: .91rem; }
.framee1440-game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.framee1440-game { min-width: 0; padding: 0 0 7px; border: 1px solid var(--framee1440-line); border-radius: 10px; overflow: hidden; color: var(--framee1440-cream); background: var(--framee1440-panel); cursor: pointer; text-align: left; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.framee1440-game:hover, .framee1440-game:focus-visible { border-color: var(--framee1440-coral); box-shadow: 0 10px 20px rgba(0, 0, 0, .25); transform: translateY(-4px); }
.framee1440-game img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--framee1440-panel-alt); }
.framee1440-game span { display: -webkit-box; min-height: 2.7em; overflow: hidden; padding: 5px 6px 0; color: #ffe9dc; font-size: clamp(.66rem, 2.15vw, .82rem); line-height: 1.32; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.framee1440-story { margin: 28px 0; padding: 21px 18px; border-top: 2px solid var(--framee1440-copper); border-radius: 9px 25px 9px 25px; background: linear-gradient(145deg, rgba(24, 38, 56, .98), rgba(17, 28, 42, .84)); }
.framee1440-story h2 { margin-bottom: 12px; }
.framee1440-story p, .framee1440-story li { color: #d8e1e8; }
.framee1440-story ol, .framee1440-story ul { margin: 8px 0 16px; padding-left: 22px; }
.framee1440-story li + li { margin-top: 7px; }
.framee1440-note { margin-top: 15px; padding: 12px 14px; border-left: 3px solid var(--framee1440-coral); color: #ffe2d5; background: rgba(160, 82, 45, .28); }
.framee1440-footer { margin-top: 38px; padding: 25px 18px 12px; border-top: 1px solid rgba(240, 128, 128, .34); background: rgba(14, 22, 33, .5); }
.framee1440-footer-grid { display: grid; gap: 23px; }
.framee1440-footer h2 { margin-bottom: 8px; font-size: 1.35rem; }
.framee1440-footer p { color: var(--framee1440-muted); font-size: .86rem; }
.framee1440-copyright { padding-top: 10px; border-top: 1px solid var(--framee1440-line); color: var(--framee1440-cream) !important; }
.framee1440-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 13px; }
.framee1440-footer-links a { color: #ffd0c2; font-size: .84rem; }
.framee1440-promo-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.framee1440-promo-directory button { min-height: 45px; padding: 7px; border: 1px solid rgba(240, 128, 128, .42); border-radius: 8px; color: var(--framee1440-cream); background: transparent; cursor: pointer; }
.framee1440-promo-directory button:hover { background: var(--framee1440-copper); }
.framee1440-disclaimer { padding-top: 11px; border-top: 1px solid var(--framee1440-line); }
.framee1440-disclaimer p { margin-bottom: 0; font-size: .77rem; }

.framee1440-bottom-nav { position: fixed; z-index: 28; right: 0; bottom: 0; left: 0; padding: 8px max(8px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right)); border-top: 1px solid rgba(240, 128, 128, .35); background: rgba(14, 22, 33, .97); box-shadow: 0 -8px 28px rgba(0, 0, 0, .22); backdrop-filter: blur(14px); }
.framee1440-bottom-list { width: min(100%, 660px); margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; list-style: none; }
.framee1440-bottom-list a, .framee1440-bottom-list button { min-width: 0; min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 5px 2px; border: 1px solid transparent; border-radius: 10px; color: var(--framee1440-muted); background: transparent; text-decoration: none; cursor: pointer; }
.framee1440-bottom-list a:hover, .framee1440-bottom-list a.is-current, .framee1440-bottom-list button:hover { color: var(--framee1440-cream); border-color: rgba(240, 128, 128, .45); background: rgba(160, 82, 45, .42); }
.framee1440-bottom-icon { display: grid; width: 24px; height: 24px; place-items: center; color: var(--framee1440-coral); font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; line-height: 1; }
.framee1440-bottom-label { max-width: 100%; overflow: hidden; font-size: .68rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }

@keyframes framee1440-fade-in { from { opacity: .1; transform: scale(1.015); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media (min-width: 620px) {
  .framee1440-topbar-inner { padding-right: 24px; padding-left: 24px; }
  .framee1440-main { padding-right: 24px; padding-left: 24px; }
  .framee1440-footer-grid { grid-template-columns: 1.25fr 1fr; }
  .framee1440-disclaimer { grid-column: 1 / -1; }
}
@media (min-width: 860px) {
  .framee1440-main { padding-top: 104px; }
  .framee1440-hero { padding: 42px 42px 38px; }
  .framee1440-game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
  .framee1440-footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .framee1440-disclaimer { grid-column: 1 / -1; }
}
@media (max-width: 430px) {
  .framee1440-main { padding-right: 12px; padding-left: 12px; }
}
@media (max-width: 350px) {
  .framee1440-action { padding-right: 7px; padding-left: 7px; font-size: .82rem; }
  .framee1440-topbar-inner { padding-right: 10px; padding-left: 10px; }
  .framee1440-menu-grid { grid-template-columns: 1fr; }
  .framee1440-game-grid { gap: 5px; }
  .framee1440-game span { padding-right: 4px; padding-left: 4px; font-size: .63rem; }
}

/* Help pages use separate reading patterns while sharing the base palette. */
.framee1440-help-hero { position: relative; padding: 25px 20px 22px; border-left: 5px solid var(--framee1440-coral); border-radius: 8px 24px 8px 24px; background: linear-gradient(120deg, rgba(160, 82, 45, .72), rgba(24, 38, 56, .96)); box-shadow: var(--framee1440-shadow); }
.framee1440-help-hero h1 { margin-bottom: 10px; font-size: clamp(2.15rem, 9vw, 4.35rem); }
.framee1440-help-hero p { max-width: 700px; color: #fff0e5; }
.framee1440-help-rail { display: flex; gap: 8px; margin: 18px 0 25px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.framee1440-help-rail a { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid rgba(240, 128, 128, .48); border-radius: 999px; color: var(--framee1440-cream); background: rgba(32, 50, 71, .8); text-decoration: none; }
.framee1440-help-rail a:hover { background: var(--framee1440-copper); }
.framee1440-question-list { display: grid; gap: 10px; margin-top: 14px; }
.framee1440-question { border: 1px solid var(--framee1440-line); border-radius: 14px 5px 14px 5px; background: rgba(24, 38, 56, .86); overflow: hidden; }
.framee1440-question summary { min-height: 52px; display: flex; align-items: center; padding: 11px 14px; color: var(--framee1440-cream); font-weight: 700; cursor: pointer; list-style-position: inside; }
.framee1440-question summary::marker { color: var(--framee1440-coral); }
.framee1440-question[open] summary { border-bottom: 1px solid var(--framee1440-line); color: #ffd0c2; }
.framee1440-answer { padding: 13px 15px 15px; color: #d8e1e8; }
.framee1440-answer p:last-child { margin-bottom: 0; }
.framee1440-answer strong { color: var(--framee1440-success); }
.framee1440-check-strip { display: grid; gap: 9px; margin: 13px 0 0; }
.framee1440-check-item { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 12px; border: 1px solid rgba(240, 128, 128, .25); border-radius: 7px 17px 7px 17px; background: rgba(160, 82, 45, .19); }
.framee1440-check-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--framee1440-ink); background: var(--framee1440-coral); font-family: 'Barlow Condensed', sans-serif; font-weight: 800; }
.framee1440-check-item p { margin: 0; color: #e6edf2; font-size: .9rem; }
.framee1440-definition-board { display: grid; gap: 0; margin-top: 13px; border: 1px solid var(--framee1440-line); border-radius: 16px; overflow: hidden; }
.framee1440-definition-row { display: grid; grid-template-columns: minmax(92px, .7fr) 1.3fr; gap: 12px; padding: 13px 12px; background: rgba(24, 38, 56, .86); }
.framee1440-definition-row:nth-child(even) { background: rgba(32, 50, 71, .7); }
.framee1440-definition-row + .framee1440-definition-row { border-top: 1px solid var(--framee1440-line); }
.framee1440-definition-row dt { color: var(--framee1440-coral); font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; font-weight: 700; }
.framee1440-definition-row dd { margin: 0; color: #d8e1e8; font-size: .88rem; }
.framee1440-promo-band { display: grid; gap: 9px; margin: 17px 0; padding: 15px; border: 1px dashed rgba(240, 128, 128, .6); border-radius: 22px 7px 22px 7px; background: rgba(160, 82, 45, .24); }
.framee1440-promo-band p { margin-bottom: 3px; color: #ffe2d5; }
.framee1440-promo-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.framee1440-promo-actions button { min-height: 46px; padding: 8px 10px; border: 1px solid rgba(240, 128, 128, .55); border-radius: 9px; color: var(--framee1440-cream); background: rgba(14, 22, 33, .5); cursor: pointer; }
.framee1440-promo-actions button:hover { background: var(--framee1440-copper); transform: translateY(-2px); }
.framee1440-feature-map { display: grid; gap: 12px; margin-top: 15px; }
.framee1440-feature-card { position: relative; padding: 15px 14px 14px 47px; border: 1px solid var(--framee1440-line); border-radius: 19px 7px 7px 19px; background: linear-gradient(135deg, rgba(32, 50, 71, .92), rgba(24, 38, 56, .82)); }
.framee1440-feature-card::before { content: attr(data-step); position: absolute; left: 13px; top: 15px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 7px; color: var(--framee1440-ink); background: var(--framee1440-coral); font-family: 'Barlow Condensed', sans-serif; font-weight: 800; }
.framee1440-feature-card h3 { margin-bottom: 6px; color: #ffd0c2; }
.framee1440-feature-card p { margin-bottom: 0; color: #d8e1e8; font-size: .9rem; }
.framee1440-route-table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: .84rem; }
.framee1440-route-table th, .framee1440-route-table td { padding: 11px 9px; border: 1px solid var(--framee1440-line); vertical-align: top; text-align: left; }
.framee1440-route-table th { color: var(--framee1440-ink); background: var(--framee1440-coral); }
.framee1440-route-table td { color: #d8e1e8; background: rgba(24, 38, 56, .82); }
.framee1440-route-table caption { margin-bottom: 8px; color: var(--framee1440-muted); text-align: left; }
.framee1440-callout { margin: 14px 0; padding: 15px; border-right: 4px solid var(--framee1440-coral); border-radius: 17px 6px 17px 6px; background: rgba(32, 50, 71, .82); }
.framee1440-callout p { margin-bottom: 0; color: #ffe9dc; }
.framee1440-help-footer { margin-top: 28px; padding: 16px; border-top: 1px solid var(--framee1440-line); color: var(--framee1440-muted); font-size: .84rem; }
@media (min-width: 620px) {
  .framee1440-help-hero { padding: 35px 34px 30px; }
  .framee1440-check-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .framee1440-feature-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
