/* Club Doctor 23: brief startup reveal; the page theme remains static. */
:root{
 --cinema-red:#e50914;
 --cinema-rim:#ff8a9c;
 --cinema-cool:#89bded;
 --cinema-ease:cubic-bezier(.22,.61,.36,1);
}

/* Navigation remains in its existing layout; the lower light cannot catch input. */
.topbar{
 background:linear-gradient(110deg,#08090df7,#1a1017f7 52%,#090b11f7);
 border-bottom-color:#db50652b;
 box-shadow:0 8px 30px #0008,inset 0 1px 0 #ffffff09;
}
.topbar::after{
 content:"";position:absolute;left:8%;right:8%;bottom:-1px;height:1px;
 background:linear-gradient(90deg,transparent,#df42595c 30%,#ffacb28f 52%,#86b7d42e 78%,transparent);
 pointer-events:none;
}
.topbar .nav-pills{
 background:linear-gradient(165deg,#2a2128d9,#111218e8);
 border-color:#c291a52e;
 box-shadow:inset 0 1px 0 #ffffff1a,inset 0 -1px 0 #0009,0 7px 20px #0005;
}
.nav-arrow{
 background:linear-gradient(145deg,#35262f,#15151c);
 box-shadow:inset 0 1px 0 #ffffff1a,0 4px 12px #0005;
}

/* Preserve the library photograph without an animated decorative floor. */
.hero{isolation:isolate}
.auth-landing{position:relative;isolation:isolate;background:#08080b}
.auth-landing::before{
 content:"";position:absolute;inset:0 0 auto;height:560px;z-index:-1;
 background:
  radial-gradient(ellipse at 0 0,#8c18392b,transparent 62%),
  radial-gradient(ellipse at 100% 15%,#46121d30,transparent 60%),
  linear-gradient(180deg,#100d14,#08080b);
 opacity:1;pointer-events:none;
}
.hero .hero-feature,.auth-landing .auth-hero{z-index:1}

/* Highlighted services and forms gain depth through surfaces, not scaled content. */
.public-intelligence,.auth-form-wrap,.pt-overview{
 background:linear-gradient(130deg,#2b1822e8,#15151ce8 58%,#17202aeb);
 border-color:#d5809440;
 box-shadow:inset 0 1px 0 #ffe0e71a,inset 0 -1px 0 #0008,0 14px 36px #0006;
}
.public-ai-mark{
 background:linear-gradient(145deg,#f02b46,#930b24);
 box-shadow:inset 0 1px 0 #ffded94d,0 4px 0 #650b1d,0 9px 20px #b515392b;
}
.auth-landing .public-showcase-head,.home-shelves .section-head{
 border-bottom:1px solid #dab6c217;padding-bottom:11px;
}
.public-category,.category{
 border-color:#d69ca445!important;
 box-shadow:inset 0 1px 0 #ffffff1a,0 2px 0 #390f1a,0 10px 26px #0009;
 transition:border-color .65s var(--cinema-ease),box-shadow .75s var(--cinema-ease);
}
.public-category::after,.category::after{
 content:"";display:block;position:absolute;inset:0;border-radius:inherit;
 background:linear-gradient(125deg,#ff8e9c12,transparent 35%,transparent 70%,#8fbded0b);
 border:1px solid #ffffff0d;transform:none;pointer-events:none;
}

/* Plan cards have a solid base, an illuminated edge and readable comparison rows. */
.subscriptions-page .plan-card{
 background:radial-gradient(ellipse at 8% 0,#ad244f17,transparent 52%),linear-gradient(155deg,#252029,#111216 70%);
 border-color:#a797ac47;border-top-color:#e3cfdf6b;
 box-shadow:inset 0 1px 0 #ffffff18,inset 0 -1px 0 #ffffff04,0 4px 0 #08070b,0 17px 35px #0008;
 transition:border-color .65s var(--cinema-ease),box-shadow .75s var(--cinema-ease);
}
.subscriptions-page .plan-card::after{
 content:"";position:absolute;top:0;left:10%;right:10%;height:1px;pointer-events:none;
 background:linear-gradient(90deg,transparent,#f4ccda7a,transparent);
}
.subscriptions-page .plan-card.featured{
 background:radial-gradient(ellipse at 8% 0,#bd254337,transparent 58%),linear-gradient(155deg,#33212b,#15151b 74%);
 border-color:#e84f6a8f;border-top-color:#ffc4ccbd;
 box-shadow:inset 0 1px 0 #ffe1e533,0 4px 0 #320e1a,0 16px 38px #0009,0 0 24px #e5091416;
}
.subscriptions-page .plan-card.featured::after{background:linear-gradient(90deg,transparent,#ffd0d5,transparent)}
.subscriptions-page .plan-card>em{
 background:linear-gradient(130deg,#ef2445,#ae1031);border:1px solid #ffafb96b;
 box-shadow:0 3px 9px #29020ba3;letter-spacing:.045em;
}
.pt-tool-group,.plan-conditions{background:linear-gradient(155deg,#24202a,#16141c);border-color:#7c637c57}
.pt-tool-group summary:hover{background:#30242e}
.pt-group-demos button{background:linear-gradient(135deg,#402633,#241b2b);border-color:#b8809861}

/* The book sheet gains a rim, while the page image and metadata keep their size. */
#details .modal-card{
 background:radial-gradient(ellipse at 0 0,#77213a20,transparent 42%),linear-gradient(150deg,#201b22,#121317 68%);
 border-color:#b78b9d62;border-top-color:#edb7c77a;
 box-shadow:inset 0 1px 0 #ffe1e520,0 28px 80px #000d,0 0 0 1px #060408;
}
#details .meta>div{background:linear-gradient(145deg,#302831,#24222a);border:1px solid #aa8a9d1f}
.hero-book-cover,.detail-cover{box-shadow:0 13px 32px #000a,0 2px 0 #330b15,0 0 0 1px #fb69773b}
.book-card,.public-cover{transition:border-color .6s var(--cinema-ease),box-shadow .7s var(--cinema-ease)}

/* Old shine crossed labels and old scale effects softened their rasterization. */
.book-card::before,.public-cover::before{display:none!important;animation:none!important}
.book-card:hover,.book-card:focus-visible,.public-cover:hover,.public-cover:focus-visible,
.category:hover,.public-category:hover,.plan-card:hover,.bundle-product:hover{transform:none}

/* Relief is carried by light/shadow. Buttons keep their geometry and hit targets. */
:is(.hero,.auth-landing,.subscriptions-page,#details,.bundle-store) .btn{
 transition:background-color .45s var(--cinema-ease),border-color .55s var(--cinema-ease),box-shadow .65s var(--cinema-ease);
}
:is(.hero,.auth-landing,.subscriptions-page,#details,.bundle-store) .btn.primary{
 background:linear-gradient(145deg,#f21d36,#cb0c22 55%,#a70a20);
 border:1px solid #ff677a59;
 box-shadow:inset 0 1px 0 #fff4f43b,inset 0 -2px 0 #6504145c,0 3px 0 #6b081b,0 8px 19px #b7072026;
}
:is(.hero,.auth-landing,.subscriptions-page,#details,.bundle-store) .btn.ghost{
 background:linear-gradient(145deg,#36303ae8,#212129e8);
 border-color:#b4a6bf4d;box-shadow:inset 0 1px 0 #ffffff19,0 3px 0 #101017;
}
:is(.hero,.auth-landing,.subscriptions-page,#details,.bundle-store) .btn:active{
 transform:none;box-shadow:inset 0 2px 5px #0005,0 1px 0 #170c17;
}
@media(hover:hover) and (pointer:fine){
 .category:hover,.public-category:hover{
  border-color:#ff82949c!important;
  box-shadow:inset 0 1px 0 #fff4f435,0 2px 0 #5b192a,0 14px 30px #000a,0 0 20px #ed35561a;
 }
 .subscriptions-page .plan-card:hover{
  border-color:#d99bb6ab;
  box-shadow:inset 0 1px 0 #ffe3f02b,0 4px 0 #180d1c,0 19px 38px #0009,0 0 22px #ff719413;
 }
 .subscriptions-page .plan-card.featured:hover{border-color:#ff9caf;box-shadow:inset 0 1px 0 #ffe3ee3b,0 4px 0 #4c1025,0 19px 38px #0009,0 0 26px #ec294527}
 .book-card:hover,.public-cover:hover{box-shadow:0 12px 26px #000a,0 0 0 1px #ff8b9882,0 0 18px #e509141d;border-color:#ff8c9a}
 :is(.hero,.auth-landing,.subscriptions-page,#details,.bundle-store) .btn:hover{transform:none}
 :is(.hero,.auth-landing,.subscriptions-page,#details,.bundle-store) .btn.primary:hover{
  border-color:#ffb6c28f;box-shadow:inset 0 1px 0 #fff4f44b,inset 0 -2px 0 #6504145c,0 3px 0 #73091d,0 9px 24px #df173d40;
 }
}

@media(max-width:760px){
 .auth-landing::before{height:360px;background:radial-gradient(ellipse at 0 0,#8c18392b,transparent 70%),linear-gradient(180deg,#100d14,#08080b)}
 .subscriptions-page .plan-card{box-shadow:inset 0 1px 0 #ffffff18,0 3px 0 #08070b,0 10px 24px #0007}
 .topbar::after{left:3%;right:3%}
}
@media(prefers-reduced-motion:reduce){
 .hero::after,.auth-landing::before{animation:none!important}
 .book-card,.public-cover,.public-category,.category,.subscriptions-page .plan-card,
 .pt-tool-group summary,.pt-group-demos button,
 :is(.hero,.auth-landing,.subscriptions-page,#details,.bundle-store) .btn{transition:none!important}
}
@media(forced-colors:active){
 .hero::after,.auth-landing::before,.topbar::after,.plan-card::after,
 .public-category::after,.category::after{display:none}
}

/* The approved symbol stands directly on the dark red light: no button tile. */
.brand-splash.brand23-intro,body.auth-view .brand-splash.brand23-intro{
 display:grid;position:fixed;inset:0;z-index:1000;place-content:center;justify-items:center;
 gap:24px;padding:28px;pointer-events:none;overflow:hidden;
 background:radial-gradient(ellipse at 50% 45%,#4d0614 0,#170208 44%,#030204 83%);
 animation:brand23-depart 1.85s cubic-bezier(.4,0,.2,1) forwards;
}
.brand-splash.brand23-intro::before{
 content:"";display:block;position:absolute;inset:12%;border-radius:50%;pointer-events:none;
 background:radial-gradient(ellipse,#ed123c30,transparent 64%);filter:none;
 animation:brand23-light 1.6s ease-out both;
}
.brand-splash.brand23-intro img{
 display:block;position:relative;max-width:100%;object-fit:contain;background:none;border:0;border-radius:0;
 opacity:1;transform:none;filter:none;box-shadow:none;
}
.brand-splash.brand23-intro .brand23-intro-symbol{
 width:clamp(160px,27vw,260px);height:clamp(160px,27vw,260px);
 animation:brand23-symbol 1.25s cubic-bezier(.18,.8,.22,1) both;
}
.brand-splash.brand23-intro .brand23-intro-wordmark{
 width:min(510px,82vw);height:auto;max-height:135px;
 animation:brand23-wordmark 1.05s .16s cubic-bezier(.18,.8,.22,1) both;
}
.brand-splash.brand23-intro>i{
 position:relative;width:min(390px,65vw);height:2px;opacity:0;background:#ed1234;
 box-shadow:0 0 20px #ef123b80;transform-origin:center;
 animation:brand23-rule 1.3s .22s ease-out both;
}
@keyframes brand23-symbol{
 0%{opacity:0;transform:scale(.8);filter:drop-shadow(0 0 22px #ef174b00)}
 52%{opacity:1;filter:drop-shadow(0 0 20px #ef174b55)}
 100%{opacity:1;transform:scale(1);filter:drop-shadow(0 0 10px #ef174b20)}
}
@keyframes brand23-wordmark{from{opacity:0;transform:translateY(9px) scale(.96)}to{opacity:1;transform:none}}
@keyframes brand23-rule{0%{opacity:0;transform:scaleX(.05)}45%,80%{opacity:.9;transform:scaleX(1)}100%{opacity:.3;transform:scaleX(1)}}
@keyframes brand23-light{0%{opacity:0;transform:scale(.7)}50%{opacity:1}100%{opacity:.35;transform:scale(1.12)}}
@keyframes brand23-depart{0%,76%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@media(max-width:600px){.brand-splash.brand23-intro{gap:18px;padding:20px}}
@media(prefers-reduced-motion:reduce){
 .brand-splash.brand23-intro,body.auth-view .brand-splash.brand23-intro{display:none;animation:none}
 .brand-splash.brand23-intro *,.brand-splash.brand23-intro::before{animation:none!important}
}
