:root{color:#f4f7ff;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:radial-gradient(circle at top,#5fd0ff29,#0000 32%),linear-gradient(#11162b 0%,#060a13 100%);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;min-height:100vh;margin:0}a{color:inherit}button{font-family:inherit}p,li{color:#d6def7}#root{width:min(1200px,100%);margin:0 auto}.page-shell{flex-direction:column;gap:2rem;padding:2rem;display:flex}.hero-section,.game-section{grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:2rem;display:grid}.home-banner{background:#101830;border:1px solid #8ea3ff2e;border-radius:1.5rem;height:260px;position:relative;overflow:hidden;box-shadow:0 22px 60px #05081259}.home-banner__image{object-fit:cover;will-change:transform;width:100%;height:200%;position:absolute;top:-50%;left:0}.eyebrow{color:#d8c7ff;letter-spacing:.08em;text-transform:uppercase;background:#7854f729;border-radius:999px;width:fit-content;padding:.35rem .75rem;font-size:.85rem;font-weight:700;display:inline-flex}.hero-copy,.game-copy,.feature-card,.table-card{background:#0a0e1dd1;border:1px solid #8ea3ff2e;border-radius:1.5rem;box-shadow:0 22px 60px #05081259}.hero-copy,.game-copy{padding:2rem}.hero-copy h1,.game-copy h2{margin:1rem 0}.hero-actions,.table-actions{flex-wrap:wrap;gap:1rem;margin-top:1.5rem;display:flex}.primary-action,.secondary-action{cursor:pointer;font:inherit;border:0;border-radius:999px;justify-content:center;align-items:center;min-height:3rem;padding:.8rem 1.25rem;font-weight:700;text-decoration:none;transition:transform .2s,box-shadow .2s,border-color .2s;display:inline-flex}.primary-action{color:#08101f;background:linear-gradient(135deg,#9f73ff,#5fd0ff);box-shadow:0 12px 30px #5fd0ff47}.secondary-action{color:#f4f7ff;background:0 0;border:1px solid #8ea3ff59}.primary-action:hover,.secondary-action:hover{transform:translateY(-1px)}.primary-action:focus-visible,.secondary-action:focus-visible{outline-offset:3px;outline:3px solid #f8d36b}.hero-panel{background:linear-gradient(#1f284de6,#0b1226f2);border:1px solid #8ea3ff2e;border-radius:1.5rem;min-height:22rem;position:relative;overflow:hidden}.hero-panel__glow{background:radial-gradient(circle,#5fd0ff73,#0000 70%);width:18rem;height:18rem;position:absolute;inset:auto auto -6rem -4rem}.hero-panel__content{z-index:1;flex-direction:column;justify-content:center;gap:1rem;height:100%;padding:2rem;display:flex;position:relative}.hero-panel__label,.hero-panel__text{margin:0}.hero-panel__label{color:#b8c8ff;text-transform:uppercase;letter-spacing:.08em;font-weight:700}.stacked-cards{min-height:12rem;position:relative}.promo-card{color:#1b2647;background:linear-gradient(160deg,#fff,#dbe8ff);border-radius:1.25rem;place-items:center;width:8.5rem;height:12rem;font-size:2rem;font-weight:800;display:grid;position:absolute;box-shadow:0 20px 30px #060a144d}.promo-card--back{background:linear-gradient(160deg,#2c3b68,#11192e);top:.25rem;left:2rem}.promo-card--mid{top:1rem;left:5rem;transform:rotate(-10deg)}.promo-card--front{color:#8c2139;top:1.75rem;left:8rem;transform:rotate(12deg)}.feature-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;display:grid}.feature-card{padding:1.75rem}.feature-card h2{margin-top:0}.rules-list{margin:1.25rem 0 0;padding-left:1.25rem}.table-card{padding:1.5rem}.scoreboard{text-align:center;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.scoreboard div{background:#ffffff0a;border-radius:1rem;padding:1rem}.scoreboard strong{margin-top:.35rem;font-size:1.8rem;display:block}.scoreboard__label{color:#b7c4ef;text-transform:uppercase;letter-spacing:.08em;font-size:.9rem}.play-area{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:1rem;display:grid}.play-card{text-align:center}.play-card__title{color:#b7c4ef;text-transform:uppercase;letter-spacing:.08em;margin-bottom:.75rem;font-size:.9rem;display:block}.card-face{color:#182544;background:linear-gradient(160deg,#fff,#e7efff);border-radius:1.25rem;place-items:center;min-height:9rem;font-size:2.25rem;font-weight:800;display:grid}.card-face.red{color:#b11d46}.round-status{text-align:center;background:#ffffff0a;border-radius:1rem;padding:1rem}.round-status.player{border:1px solid #5fd0ff73}.round-status.cpu{border:1px solid #f06f8f73}.round-status.tie{border:1px solid #dbc26c73}.table-footer{color:#b7c4ef;justify-content:space-between;gap:1rem;margin-top:1.5rem;font-size:.95rem;display:flex}.history-list{margin:.75rem 0 0;padding-left:1.25rem}.history-list li+li{margin-top:.5rem}.game-page{align-items:center}.game-page__header{text-align:center;max-width:42rem}.hand{flex-wrap:wrap;justify-content:center;gap:1rem;display:flex}.hand-card{cursor:pointer;width:8.5rem;height:12.5rem;font:inherit;perspective:1200px;background:0 0;border:0;border-radius:1rem;padding:0;transition:transform .2s;position:relative;box-shadow:0 14px 28px #060a1447}.hand-card__flipper{transform-style:preserve-3d;will-change:transform;transition:transform .6s cubic-bezier(.33,0,.2,1);display:block;position:absolute;inset:0}.hand-card--flipped .hand-card__flipper{transform:rotateY(180deg)}.hand-card__face{backface-visibility:hidden;background:linear-gradient(160deg,#2c3b68,#11192e);border-radius:1rem;display:block;position:absolute;inset:0;overflow:hidden}.hand-card__face--front{transform:rotateY(180deg)}.hand-card__art{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.hand-card:hover{transform:translateY(-4px)}.hand-card--flipped:hover{z-index:2;transform:scale(2)}.hand-card:focus-visible{outline-offset:3px;outline:3px solid #f8d36b}.stack-section{flex-direction:column;align-items:center;gap:1.25rem;display:flex}.stack-section__header{text-align:center;max-width:42rem}.stack-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:1.5rem;display:flex}.card-stack{cursor:pointer;width:8.5rem;height:12.5rem;font:inherit;background:0 0;border:0;border-radius:1rem;padding:0;transition:transform .2s;position:relative;box-shadow:0 14px 28px #060a1447}.card-stack__layer{background:linear-gradient(160deg,#2c3b68,#11192e);border-radius:1rem;position:absolute;inset:0;box-shadow:inset 0 0 0 1px #8ea3ff2e}.card-stack__layer--back{transform:translate(-.35rem,.3rem)rotate(-5deg)}.card-stack__layer--mid{transform:translate(.35rem,.15rem)rotate(4deg)}.card-stack__cover{background:linear-gradient(160deg,#2c3b68,#11192e);border-radius:1rem;display:block;position:absolute;inset:0;overflow:hidden}.card-stack__art{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.card-stack:hover{transform:translateY(-4px)}.card-stack:disabled{cursor:default;opacity:.55}.card-stack:focus-visible{outline-offset:3px;outline:3px solid #f8d36b}.revealed-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:1rem;margin:0;padding:.5rem 0;list-style:none;display:flex}.card-flip{perspective:1200px;border-radius:1rem;width:8.5rem;height:12.5rem;transition:transform .2s;position:relative;box-shadow:0 14px 28px #060a1447}.card-flip--landscape{width:12.5rem;height:8.5rem}.card-flip__flipper{transform-style:preserve-3d;animation:.6s cubic-bezier(.33,0,.2,1) both card-flip-in;display:block;position:absolute;inset:0}@keyframes card-flip-in{0%{transform:rotateY(0)}to{transform:rotateY(180deg)}}.card-flip__face{backface-visibility:hidden;background:linear-gradient(160deg,#2c3b68,#11192e);border-radius:1rem;display:block;position:absolute;inset:0;overflow:hidden}.card-flip__face--front{transform:rotateY(180deg)}.card-flip__art{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.card-flip:hover{z-index:2;transform:scale(2)}.dealer-actions{justify-content:center;width:100%;display:flex}.stack-status{margin:0}@media (prefers-reduced-motion:reduce){.hand-card,.hand-card__flipper{transition:none}.card-flip__flipper{animation:none;transform:rotateY(180deg)}.card-stack,.card-flip,.table-section{transition:none}}.dealer-empty{color:#b7c4ef}.table-section{background:#0a0e1dd1;border:1px solid #8ea3ff2e;border-radius:1.5rem;flex-direction:column;gap:1.25rem;width:100%;padding:1.5rem;transition:border-color .2s,box-shadow .2s;display:flex;box-shadow:0 22px 60px #05081259}.table-section--dragover{border-color:#5fd0ffbf;box-shadow:0 0 0 3px #5fd0ff40,0 22px 60px #05081259}.table-section__header{text-align:center;max-width:42rem;margin:0 auto}.table-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;width:100%;max-width:64rem;margin:0 auto;display:grid}.table-slot{text-align:center;background:#ffffff0a;border:1px solid #8ea3ff2e;border-radius:1.25rem;flex-direction:column;gap:.6rem;padding:1rem;display:flex}.table-slot--winner{border-color:#f8d36b;box-shadow:0 0 0 3px #f8d36b4d}.table-slot__name{color:#b7c4ef;letter-spacing:.08em;text-transform:uppercase;font-size:.9rem;font-weight:700}.table-slot__card{aspect-ratio:17/25;background:#08101f99;border-radius:1rem;place-items:center;width:100%;max-width:10rem;margin:0 auto;display:grid;overflow:hidden}.table-slot__art{object-fit:cover;width:100%;height:100%}.table-slot__label{color:#f4f7ff;font-size:2.25rem;font-weight:800}.table-slot__label.red{color:#ff8fa8}.table-slot__placeholder{color:#b7c4ef;font-size:1.5rem}.game-page__top{grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:start;gap:2rem;width:100%;display:grid}.table-actions{justify-content:center;display:flex}@media (width<=960px){.hero-section,.game-section,.feature-grid,.play-area{grid-template-columns:1fr}.table-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-page__top{grid-template-columns:1fr}.page-shell{padding:1rem}.home-banner{height:180px}.promo-card--back{left:0}.promo-card--mid{left:2.5rem}.promo-card--front{left:5rem}.table-footer{flex-direction:column}}.site-layout{flex-direction:column;min-height:100vh;display:flex}.site-header{z-index:10;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0a0e1dd9;border:1px solid #8ea3ff2e;border-radius:1.25rem;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin:0 0 1.5rem;padding:.75rem 1.25rem;display:flex;position:sticky;top:.5rem;box-shadow:0 14px 40px #05081259}.site-header__brand{color:#f4f7ff;align-items:center;gap:.6rem;font-weight:800;text-decoration:none;display:inline-flex}.site-header__logo{width:2rem;height:2rem}.site-nav{flex-wrap:wrap;gap:.4rem;display:flex}.site-nav__link{color:#d6def7;border-radius:999px;padding:.5rem 1.1rem;font-weight:600;text-decoration:none;transition:background-color .2s,color .2s}.site-nav__link:hover{color:#fff;background:#8ea3ff24}.site-nav__link--active,.site-nav__link--active:hover{color:#08101f;background:linear-gradient(135deg,#9f73ff,#5fd0ff)}.site-nav__link:focus-visible{outline-offset:3px;outline:3px solid #f8d36b}.site-footer{background:#0a0e1dd1;border:1px solid #8ea3ff2e;border-radius:1.5rem;margin-top:auto;padding:2rem;box-shadow:0 22px 60px #05081259}.site-footer__inner{flex-wrap:wrap;justify-content:space-between;gap:2rem;display:flex}.site-footer__brand{color:#f4f7ff;margin:0;font-weight:800}.site-footer__tagline{max-width:24rem;margin:.5rem 0 0}.site-footer__nav{flex-direction:column;gap:.4rem;display:flex}.site-footer__heading{color:#b7c4ef;text-transform:uppercase;letter-spacing:.08em;margin-bottom:.5rem;font-size:.9rem;font-weight:700}.site-footer__nav a{color:#d6def7;text-decoration:none}.site-footer__nav a:hover{color:#fff;text-decoration:underline}.site-footer__copyright{color:#b7c4ef;margin:1.5rem 0 0;font-size:.9rem}.contact-page{align-items:center}.contact-page__header{text-align:center;max-width:42rem}.feature-card__action{margin-top:1.25rem}.stories-intro{max-width:42rem}.stories-intro h1{margin:1rem 0}.book-shelf{grid-template-columns:repeat(auto-fill,minmax(16rem,20rem));gap:1.5rem;margin:0;padding:0;list-style:none;display:grid}.book-cover{cursor:pointer;text-align:left;color:#2a1a12;width:100%;min-height:18rem;font:inherit;background:linear-gradient(160deg,#f3e2c4,#e7c99a);border:0;border-radius:.35rem 1rem 1rem .35rem;grid-template-columns:.85rem 1fr;padding:0;transition:transform .2s;display:grid;overflow:hidden;box-shadow:0 18px 40px #05081266}.book-cover:hover{transform:translateY(-4px)}.book-cover:focus-visible{outline-offset:3px;outline:3px solid #f8d36b}.book-cover__spine{background:linear-gradient(#6b2d3c,#3d1824)}.book-cover__body{flex-direction:column;gap:.75rem;padding:1.5rem 1.25rem;display:flex}.book-cover__kicker{color:#8a4b2a;letter-spacing:.12em;text-transform:uppercase;font-size:.75rem;font-weight:800}.book-cover__title{font-size:1.7rem;font-weight:800;line-height:1.15}.book-cover__blurb{color:#5c4636;line-height:1.45}.book-reader{z-index:40;background:radial-gradient(circle at top,#5fd0ff1f,#0000 28%),#070b14;flex-direction:column;gap:1rem;padding:1rem;display:flex;position:fixed;inset:0}.book-reader__bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.book-reader__meta{color:#f4f7ff;margin:0;font-weight:700}.book-reader__meta span{color:#b7c4ef;font-weight:500}.book-reader__turns{gap:.75rem;display:flex}.book-reader__turns .primary-action:disabled,.book-reader__turns .secondary-action:disabled{cursor:not-allowed;opacity:.45;transform:none}.book-spread{background:#1a120c;border-radius:.4rem 1.25rem 1.25rem .4rem;flex:1;grid-template-columns:1fr 1fr;min-height:0;display:grid;overflow:auto;box-shadow:0 24px 70px #00000073}.book-page{min-height:100%;padding:clamp(1.5rem,4vw,3.5rem)}.book-page--text{color:#2c2118;background:linear-gradient(90deg,#462a182e,#0000 1.25rem),#f6edd9}.book-page--text p{color:#3a2c22;font-size:1.05rem;line-height:1.7}.book-page__chapter{color:#8a4b2a;letter-spacing:.14em;text-transform:uppercase;margin-top:0;font-size:.8rem;font-weight:800}.book-page--art{background:linear-gradient(270deg,#462a181f,#0000 1.25rem),#efe2c6;border-left:1px solid #462a182e;display:grid}.book-art{background:repeating-linear-gradient(-45deg,#8a4b2a0f,#8a4b2a0f 12px,#0000 12px 24px);border:2px dashed #5a3a2073;border-radius:1rem;flex-direction:column;justify-content:flex-end;gap:.75rem;height:100%;min-height:16rem;margin:0;padding:1.5rem;display:flex}.book-art__kicker{color:#8a4b2a;letter-spacing:.12em;text-transform:uppercase;font-size:.8rem;font-weight:800}.book-art p{color:#5c4636;margin:0}@media (width<=800px){.book-spread{grid-template-columns:1fr}.book-page--art{border-top:1px solid #462a182e;border-left:0}}@media (prefers-reduced-motion:reduce){.book-cover{transition:none}}
