.lobby-main { padding-block: 16px 26px; }
.hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 19px; background: linear-gradient(120deg, #008fea 0%, #00b8e9 66%, #63dfeb 100%); min-height: 270px; box-shadow: 0 6px 24px #087aa61a; }
.hero::before { content: ""; position: absolute; width: 390px; height: 390px; border: 1px solid #ffffff15; border-radius: 50%; right: -210px; top: -170px; }
.hero-copy { position: relative; z-index: 2; padding: 20px 21px; pointer-events: none; }
.hero-copy a { pointer-events: auto; }
.hero .eyebrow { color: #e3f9ff; font-size: 9px; letter-spacing: 1.4px; margin-bottom: 11px; }
.hero h2 { color: #fff; font-size: 34px; line-height: 1.05; font-weight: 900; letter-spacing: -1.6px; margin-bottom: 12px; }
.hero h2 span { color: #043f65; }
.hero-description { font-size: 12px; color: #fff; max-width: 180px; line-height: 1.6; margin-bottom: 14px; }
.hero-cta { min-height: 44px; padding: 10px 17px; font-size: 13px; border-radius: 9px; }
.hero-cta .icon { width: 18px; height: 18px; }
.hero-foot { margin: 10px 0 0; color: #e5faff; font-size: 9px; }
.hero-art { position: absolute; width: 292px; max-width: none; right: -65px; bottom: -6px; pointer-events: none; }
.hero-stamp { display: none; }
.quick-bar { background: #fff; border: 1px solid var(--line); border-radius: 13px; margin-top: 11px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; }
.quick-welcome { display: flex; align-items: center; gap: 12px; }
.welcome-icon { display: none; }
.quick-welcome strong { font-size: 12px; display: block; line-height: 1.5; }
.quick-welcome div > span { display: block; font-size: 9px; color: #658191; }
.quick-links { display: flex; align-items: stretch; gap: 4px; }
.quick-links a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 51px; min-width: 62px; gap: 4px; font-size: 9px; font-weight: 700; border-radius: 8px; }
.quick-links a .icon { width: 21px; height: 21px; color: #0094ce; }
.quick-links a:hover { background: #edf9fe; }
.games-section { padding-top: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 15px; }
.section-heading .eyebrow { color: #1881b0; font-size: 9px; margin-bottom: 6px; }
.section-heading h2 { margin: 0; font-size: 24px; }
.section-mark { display: none; }
.category-list { display: flex; align-items: center; gap: 8px; overflow-x: auto; overscroll-behavior-inline: contain; margin: 14px -2px 16px; padding: 3px 2px; scrollbar-width: none; }
.category-list::-webkit-scrollbar { display: none; }
.category-chip { flex-shrink: 0; border: 1px solid #d4e8f1; background: #fff; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 10px 12px; border-radius: 10px; color: #577587; font-size: 11px; font-weight: 700; transition: color .15s, background .15s; }
.category-chip .icon { width: 17px; height: 17px; }
.category-chip[aria-pressed="true"] { background: #008cda; color: #fff; border-color: #008cda; box-shadow: 0 3px 8px #0b91d125; }
.category-chip:hover { border-color: #008cda; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 12px; }
.game-card { min-width: 0; overflow: hidden; border: 1px solid #dcecf2; background: #fff; border-radius: 13px; box-shadow: 0 3px 10px #0e597206; transition: transform .2s, box-shadow .2s; }
.game-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px #0e597214; }
.game-open { display: block; height: 100%; }
.game-open:focus-visible { outline-offset: -4px; border-radius: 13px; }
.game-art { position: relative; overflow: hidden; aspect-ratio: 1.6; }
.game-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.game-card:hover .game-art img { transform: scale(1.035); }
.game-badge { position: absolute; top: 9px; left: 9px; font-size: 8px; font-weight: 800; letter-spacing: .6px; line-height: 1; padding: 6px 7px; border-radius: 5px; background: #073e647d; color: #fff; backdrop-filter: blur(5px); }
.featured-badge { color: #4b4215; background: #ffe060; }
.game-info { padding: 11px 10px; display: flex; align-items: center; justify-content: space-between; gap: 3px; min-height: 77px; }
.game-info h3 { font-size: 14px; margin: 0 0 6px; letter-spacing: -.3px; }
.game-info p { font-size: 10px; margin: 0; color: #59788b; line-height: 1.4; }
.game-arrow { color: #008fcb; flex-shrink: 0; width: 24px; height: 26px; display: grid; place-items: center; }
.game-arrow .icon { width: 17px; height: 17px; }
.collection-note { display: flex; gap: 7px; align-items: flex-start; font-size: 10px; color: #59798b; line-height: 1.6; margin: 14px 0 0; }
.collection-note .icon { width: 13px; height: 13px; margin-top: 2px; }
.feature-row { display: grid; gap: 16px; margin-top: 28px; }
.app-banner { position: relative; overflow: hidden; background: #074b77; border-radius: 17px; padding: 25px 21px; }
.app-banner::after { content: ""; position: absolute; width: 270px; height: 270px; border: 1px solid #ffffff13; border-radius: 50%; right: -130px; top: -90px; }
.app-banner-copy { position: relative; z-index: 2; }
.app-banner .eyebrow { color: #96e4f4; font-size: 8px; letter-spacing: 1px; margin-bottom: 11px; max-width: 200px; }
.app-banner h2 { font-size: 25px; color: #fff; margin-bottom: 22px; letter-spacing: -.7px; }
.app-banner .button { font-size: 12px; padding: 10px 12px; }
.app-banner .button .icon { width: 17px; }
.app-banner-copy > p:last-child { color: #abd1e6; font-size: 9px; max-width: 190px; margin: 12px 0 0; }
.app-banner > img { position: absolute; width: 200px; max-width: none; right: -31px; top: 30px; }
.learn-card { background: #fff; border: 1px solid var(--line); border-radius: 17px; padding: 23px; scroll-margin-top: 90px; }
.learn-title { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.learn-icon { width: 33px; height: 33px; border-radius: 9px; background: #e7f7fd; display: grid; place-items: center; color: #0384bc; }
.learn-icon .icon { width: 19px; height: 19px; }
.learn-title .eyebrow { margin: 0; color: #1783ad; font-size: 9px; }
.learn-card h2 { font-size: 24px; margin-bottom: 10px; }
.learn-card > p { color: #587689; font-size: 13px; line-height: 1.7; max-width: 390px; margin-bottom: 15px; }
.learn-details summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; color: #007bb9; min-height: 44px; cursor: pointer; list-style: none; }
.learn-details summary::-webkit-details-marker { display: none; }
.learn-details summary .icon { width: 19px; transition: transform .2s; }
.learn-details[open] summary .icon { transform: rotate(90deg); }
.learn-steps { font-size: 12px; color: #4e7085; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 13px; }
.learn-steps ol { margin: 0; padding-left: 19px; }
.learn-steps li { margin: 0 0 10px; padding-left: 4px; }
.learn-steps li::marker { font-weight: 800; color: #0088be; }
.learn-steps strong { display: block; color: #174967; }
.play-reminder { display: flex; align-items: center; gap: 10px; border-top: 1px solid #d6e8f0; margin-top: 25px; padding-top: 21px; color: #668799; }
.play-reminder > .icon { width: 25px; height: 25px; color: #54a5bb; }
.play-reminder strong, .play-reminder span { display: block; }
.play-reminder strong { font-size: 11px; color: #527488; }
.play-reminder span { font-size: 9px; margin-top: 3px; }
.play-reminder a { margin-left: auto; width: 44px; min-width: 44px; min-height: 44px; display: grid; place-items: center; }
.play-reminder a .icon { width: 18px; }
.game-dialog { width: min(450px, calc(100% - 28px)); border-radius: 22px; }
.game-dialog > img { width: calc(100% - 32px); height: auto; aspect-ratio: 1.6; object-fit: cover; margin: 0 16px; border-radius: 13px; }
.game-dialog-copy { padding: 23px; }
.preview-label { display: block; font-size: 10px; font-weight: 800; color: #028bc1; letter-spacing: 1px; margin-bottom: 8px; }
.game-dialog h2 { margin-bottom: 14px; font-size: 27px; }
.game-dialog-copy > p { color: #4e7084; font-size: 14px; line-height: 1.7; }
.game-dialog .button { width: 100%; }
.game-dialog .dialog-note { text-align: center; font-size: 10px; margin: 15px 0 0; }
@media (max-width: 374px) {
  .hero h2 { font-size: 31px; }
  .hero-copy { padding-inline: 19px; }
  .hero-art { right: -87px; width: 273px; }
  .hero-description { max-width: 166px; font-size: 11px; }
  .hero-foot { font-size: 8px; }
  .quick-welcome { display: none; }
  .quick-links { justify-content: space-around; width: 100%; }
  .category-chip { padding-inline: 10px; gap: 5px; }
  .game-info h3 { font-size: 12px; }
  .game-info p { font-size: 9px; }
  .game-info { padding-inline: 9px; }
  .game-arrow { width: 17px; }
  .app-banner > img { width: 177px; right: -40px; top: 40px; }
  .app-banner h2 { font-size: 23px; }
}
@media (min-width: 500px) {
  .hero h2 { font-size: 44px; }
  .hero-copy { padding: 32px; }
  .hero-description { max-width: 240px; font-size: 13px; }
  .hero-art { width: 380px; right: -50px; bottom: -15px; }
  .hero .eyebrow { font-size: 10px; }
  .hero-foot { font-size: 10px; }
  .game-info { padding: 16px; }
  .game-info h3 { font-size: 16px; }
  .game-info p { font-size: 11px; }
  .game-arrow { background: #eaf7fc; width: 31px; height: 31px; border-radius: 50%; }
  .quick-links { gap: 10px; }
  .quick-links a { min-width: 76px; font-size: 10px; }
  .quick-welcome strong { font-size: 14px; }
  .quick-welcome div > span { font-size: 11px; }
}
@media (min-width: 700px) {
  .lobby-main { padding-block: 26px 32px; }
  .hero { min-height: 330px; }
  .hero h2 { font-size: 49px; }
  .hero-description { font-size: 14px; max-width: 290px; }
  .hero-art { width: 480px; right: -65px; bottom: -8px; }
  .hero-cta { font-size: 14px; padding-inline: 23px; }
  .quick-bar { padding: 11px 20px; margin-top: 18px; }
  .quick-links { gap: 22px; }
  .quick-links a { flex-direction: row; gap: 8px; font-size: 12px; padding-inline: 10px; }
  .games-section { padding-top: 36px; }
  .section-heading h2 { font-size: 29px; }
  .section-heading .eyebrow { font-size: 10px; }
  .section-mark { display: flex; gap: 8px; align-items: center; font-size: 11px; color: #7892a2; }
  .section-mark .icon { width: 19px; }
  .category-chip { min-width: 115px; padding-inline: 19px; font-size: 12px; }
  .category-list { gap: 10px; margin-block: 20px; }
  .game-grid { gap: 20px; }
  .game-badge { top: 13px; left: 13px; font-size: 9px; }
  .collection-note { font-size: 11px; margin-top: 17px; }
  .feature-row { grid-template-columns: 1.1fr 1fr; gap: 20px; margin-top: 34px; align-items: start; }
  .app-banner { min-height: 279px; padding: 26px 24px; }
  .app-banner .eyebrow { max-width: 180px; font-size: 9px; }
  .app-banner > img { width: 190px; right: -45px; top: 63px; }
  .learn-card { padding: 25px; min-height: 279px; }
  .learn-card h2 { font-size: 25px; }
  .play-reminder { margin-top: 28px; }
  .play-reminder strong { font-size: 12px; }
  .play-reminder span { font-size: 11px; }
}
@media (min-width: 1000px) {
  .hero { border-radius: 23px; min-height: 373px; }
  .hero-copy { padding: 35px 45px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: 2px; margin-bottom: 16px; }
  .hero h2 { font-size: 58px; letter-spacing: -2.5px; margin-bottom: 15px; }
  .hero-description { max-width: 380px; font-size: 14px; margin-bottom: 20px; }
  .hero-cta { min-height: 47px; font-size: 14px; padding-inline: 23px; }
  .hero-foot { font-size: 10px; margin-top: 13px; }
  .hero-art { width: 610px; right: -10px; bottom: -25px; }
  .hero-stamp { display: flex; position: absolute; right: 35px; top: 28px; align-items: center; gap: 6px; transform: rotate(8deg); border: 1px solid #ffffff60; border-radius: 12px; padding: 8px 12px; color: #046385; background: #ffffff27; font-size: 9px; line-height: 1.1; font-weight: 800; letter-spacing: 1px; }
  .hero-stamp b { font-size: 18px; letter-spacing: 1px; }
  .hero-stamp .icon { width: 28px; height: 28px; }
  .quick-bar { padding: 13px 24px; }
  .welcome-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #ecf8fc; color: #1c8bbb; }
  .quick-links { gap: 30px; }
  .quick-links a { padding-inline: 20px; }
  .quick-links a .icon { width: 23px; height: 23px; }
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .game-info { padding: 16px 14px; min-height: 89px; }
  .game-info h3 { font-size: 16px; }
  .game-info p { font-size: 10px; }
  .game-arrow { width: 28px; height: 28px; }
  .app-banner { min-height: 267px; padding: 28px 32px; }
  .app-banner .eyebrow { max-width: none; font-size: 9px; }
  .app-banner h2 { font-size: 31px; }
  .app-banner > img { width: 257px; right: -3px; top: 14px; }
  .app-banner .button { font-size: 13px; padding-inline: 16px; }
  .app-banner-copy > p:last-child { font-size: 10px; }
  .learn-card { padding: 27px 30px; min-height: 267px; }
  .learn-card h2 { font-size: 28px; }
  .learn-title { margin-bottom: 13px; }
  .learn-card > p { font-size: 14px; margin-bottom: 12px; }
}
