/* CT6 3D emblem and separated join actions */
.header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ct6-join-game{border:1px solid #a56eff!important;background:linear-gradient(135deg,#24143c,#452274)!important;color:#f5eaff!important;box-shadow:0 0 14px #a044ff55;transition:transform .2s,box-shadow .2s}
.ct6-join-game:hover{transform:translateY(-2px);box-shadow:0 0 25px #b16bff99}
#headerJoin{white-space:nowrap}
.ct6-switch-join{margin-top:16px;text-align:center}
#ct6-elle-viewport{background:radial-gradient(ellipse at 50% 45%,#6d299b66 0%,#180e35 48%,#08051c 100%);border:1px solid #8b4cba88;border-radius:15px;box-shadow:inset 0 0 45px #7629b844,0 0 22px #863dcb33;overflow:hidden}
#ct6-elle-viewport canvas{display:block;width:100%;height:100%}
.ct6-elle-model-caption{color:#e7c4ff!important;text-shadow:0 0 8px #a64aff77}
@media(max-width:850px){.header-actions{gap:5px}.header-actions button{font-size:12px!important;padding:8px!important}}

/* Header: one tidy row, with graceful scrolling at narrow widths. */
header.top{display:flex!important;align-items:center!important;gap:clamp(12px,1.5vw,24px)!important;flex-wrap:nowrap!important;min-height:88px;max-width:100%;box-sizing:border-box;padding:12px clamp(16px,3vw,48px)!important}
header.top>.logo{flex:0 0 auto;min-width:0}header.top .header-arcade-logo{width:clamp(120px,11vw,172px);max-height:70px;object-fit:contain}
header.top nav{display:flex;flex:0 0 auto;gap:clamp(8px,1vw,18px);align-items:center;white-space:nowrap}
header.top nav a{display:inline-flex;align-items:center;padding:10px 11px;border-radius:12px;transition:background .2s,color .2s}
header.top nav a:hover{background:#a56eff24;color:#fff}
header.top .header-actions{display:flex!important;flex:1 1 auto;min-width:0;flex-wrap:nowrap!important;justify-content:flex-end;gap:8px!important;align-items:center}
header.top .header-actions button{flex:0 0 auto;white-space:nowrap!important;font-size:clamp(11px,.9vw,14px)!important;padding:11px clamp(10px,1vw,17px)!important;border-radius:13px;min-height:43px;transition:transform .2s,box-shadow .2s,background .2s}
header.top .header-actions button:hover{transform:translateY(-2px)}
header.top #headerJoin{background:linear-gradient(120deg,#ffb3e8,#f5a5d9)!important;color:#25112f!important;box-shadow:0 4px 18px #ed60c33b}
header.top #headerSubscribe{background:linear-gradient(115deg,#eb40ba,#874dff)!important;box-shadow:0 4px 18px #b23dff45}
/* Keep future additional nav buttons from making a second ugly header row. */
@media(max-width:1250px){header.top{gap:12px!important}header.top nav{gap:3px}header.top nav a{padding:8px 6px}header.top .header-actions{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#a66bdb transparent;padding-bottom:3px}header.top .header-actions button{padding:9px 11px!important}}
@media(max-width:800px){header.top{flex-wrap:wrap!important;min-height:unset}header.top>.logo{flex:1 1 auto}header.top nav{order:3;flex:1 0 100%;justify-content:center}header.top .header-actions{flex:0 1 auto;max-width:calc(100% - 135px);justify-content:flex-start}header.top nav a{font-size:12px}}
/* Main, highly visible game entry beside the large floating CT6 hero logo. */
.ct6-hero-join-row{display:flex;align-items:center;gap:clamp(14px,2.2vw,35px);width:100%;max-width:790px;margin:0 0 15px}
.ct6-hero-join-row .hero-arcade-logo{width:clamp(165px,21vw,310px)!important;max-width:48%;height:auto;object-fit:contain;flex:0 1 auto;margin:0!important;filter:drop-shadow(0 0 18px #a347f888)}
.ct6-hero-join-game{appearance:none;display:flex;align-items:center;justify-content:center;gap:13px;flex:1 1 auto;min-width:210px;min-height:94px;padding:17px 19px;border:2px solid #ffc5fb;border-radius:22px;background:linear-gradient(130deg,#fc4bc9 0%,#a33cf2 50%,#5635d2 100%);color:white;box-shadow:0 0 0 4px #ba56ff22,0 10px 32px #7b2bdb8c,inset 0 2px 3px #fff7;cursor:pointer;position:relative;overflow:hidden;animation:ct6-join-breathe 3.2s ease-in-out infinite;transition:transform .2s,filter .2s,box-shadow .2s}
.ct6-hero-join-game:before{content:'';position:absolute;inset:-120% auto -120% -30%;width:25%;transform:rotate(22deg);background:linear-gradient(90deg,transparent,#ffffff48,transparent);animation:ct6-join-shimmer 5s ease-in-out infinite;pointer-events:none}
.ct6-hero-join-game:hover{transform:translateY(-5px) scale(1.025);filter:brightness(1.12);box-shadow:0 0 0 5px #ba56ff38,0 18px 45px #b24bffb0}
.ct6-hero-join-game:focus-visible{outline:3px solid #fff;outline-offset:5px}
.ct6-join-icon{font-size:clamp(25px,2.5vw,38px);filter:drop-shadow(0 0 8px #ffffff88)}
.ct6-join-label{display:flex;flex-direction:column;gap:4px;text-align:left;white-space:nowrap}.ct6-join-label strong{font:900 clamp(18px,2vw,28px)/1.1 Outfit,system-ui,sans-serif;letter-spacing:.8px}.ct6-join-label small{font-size:clamp(11px,.95vw,14px);font-weight:600;color:#fff0ff}.ct6-join-arrow{font-size:25px;margin-left:auto}
@keyframes ct6-join-breathe{0%,100%{box-shadow:0 0 0 4px #ba56ff22,0 10px 32px #7b2bdb8c,inset 0 2px 3px #fff7}50%{box-shadow:0 0 0 5px #ba56ff44,0 12px 40px #b24bffa8,inset 0 2px 3px #fff7}}
@keyframes ct6-join-shimmer{0%,65%,100%{left:-30%}85%{left:120%}}
@media(max-width:650px){.ct6-hero-join-row{flex-direction:column;align-items:stretch;gap:10px}.ct6-hero-join-row .hero-arcade-logo{width:min(310px,78%)!important;max-width:100%;align-self:center}.ct6-hero-join-game{min-height:80px;min-width:0;width:100%}}
@media(prefers-reduced-motion:reduce){.ct6-hero-join-game,.ct6-hero-join-game:before{animation:none}}
