/* MAXIMUS — full-screen mafia atmosphere and pop-out insignia cards. */
* { box-sizing: border-box; }
:root { color-scheme: dark; --ink: #f7ebd6; --gold: #dfb86e; --muted: #c4b2a0; --red: #ad2e31; --mono: 'Courier New',monospace; --notch: polygon(18px 0,calc(100% - 18px) 0,100% 18px,100% calc(100% - 18px),calc(100% - 18px) 100%,18px 100%,0 calc(100% - 18px),0 18px); }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #100b0b; color: var(--ink); font: 16px/1.6 Arial,sans-serif; isolation: isolate; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
input { font: inherit; }
[hidden] { display: none; }
a:focus-visible,input:focus-visible { outline: 2px solid #ffe1a3; outline-offset: 6px; }
.mafia-backdrop { position: fixed; z-index: -3; inset: 0; background: url('assets/mafia-family.webp') center top/cover no-repeat; pointer-events: none; }
.mafia-backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#0d080bf5,transparent 76%),linear-gradient(90deg,#0806071a,#09070933 50%,#0806071a); }
.atmosphere { position: fixed; z-index: -2; inset: 0; pointer-events: none; overflow: hidden; background: radial-gradient(ellipse at 50% 15%,transparent 15%,#13060a3b 90%); }
.atmosphere::before,.atmosphere::after { content: ''; position: absolute; inset: 40% -30% -30%; background: radial-gradient(ellipse at 30% 60%,#bd34321c,transparent 43%),radial-gradient(ellipse at 70% 40%,#c9b5ab12,transparent 40%); animation: smoke-drift 22s ease-in-out infinite alternate; }
.atmosphere::after { animation-delay: -12s; opacity: .7; }
.shell { width: min(1100px,calc(100% - 64px)); margin: auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; border-bottom: 1px solid #ba875031; }
.brand { display: block; width: 180px; flex: 0 0 180px; }
.brand-logo-main { display: block; width: 100%; height: auto; }
amp-img img { object-fit: contain; }
.navigation { display: flex; gap: 27px; align-items: center; font-size: 14px; text-shadow: 0 2px 8px #000; }
.navigation a { padding-block: 10px; }
.navigation a:hover { color: #f7c671; }
.navigation .join-link { color: #f3d298; border-bottom: 1px solid #ac7a46; }
.navigation span,.community-band a span { display: none; }
.hero { text-align: center; position: relative; padding: 52px 12px 36px; }
.hero-content { max-width: 700px; margin: auto; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 0 0 19px; font: 12px/1.5 var(--mono); letter-spacing: .32em; color: #ffe6b8; text-shadow: 0 2px 8px #000; }
.eyebrow::before,.eyebrow::after { content: ''; width: 46px; height: 1px; background: #bd9256; }
h1 { margin: 0 0 18px; font: 900 clamp(72px,9vw,126px)/1 Impact,'Arial Black',sans-serif; letter-spacing: .015em; color: #e3bc78; background: linear-gradient(#fff5d8 5%,#dcab61 40%,#b5793d 52%,#fce0a1 59%,#ac7034 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 4px 0 #351513) drop-shadow(0 9px 20px #000); }
.hero-title { margin: 0 0 12px; color: #fff1dc; font: 400 26px/1.35 Georgia,serif; text-shadow: 0 2px 12px #000,0 2px 5px #000; }
.hero-description { margin: 0 auto 24px; max-width: 480px; font-size: 14px; color: #e1c8b8; text-shadow: 0 2px 9px #000; }
.primary-link { display: inline-block; padding: 11px 25px; border: 1px solid #e1a859; background: linear-gradient(#8a2428,#481418); color: #ffebc7; font-size: 14px; font-weight: 700; box-shadow: 0 5px 25px #0006,inset 0 1px #d775673b; transition: transform .25s,background .25s; }
.primary-link:hover { transform: translateY(-2px); background: #88262a; }
.section-rail { display: flex; align-items: center; justify-content: center; gap: 26px; padding: 15px 20px; border-block: 1px solid #a3754b5c; background: linear-gradient(90deg,transparent,#180e10d9,transparent); font: 12px/1.5 var(--mono); color: #ead1b0; letter-spacing: .08em; }
.section-rail strong { color: #ffc879; }
.rail-right { display: flex; gap: 24px; align-items: center; }
.rail-dot { width: 5px; height: 5px; transform: rotate(45deg); background: #b27a4c; }
.directory { padding: 33px 0 22px; scroll-margin-top: 18px; }
.directory-heading { display: flex; flex-direction: column; align-items: center; gap: 21px; text-align: center; margin-bottom: 34px; }
.section-kicker { display: none; }
h2 { margin: 0; font: 400 30px/1.2 Georgia,serif; text-shadow: 0 2px 12px #000; }
.search-box { display: flex; gap: 12px; align-items: center; width: min(365px,100%); padding: 11px 15px; border: 1px solid #95704e; background: #160e10ed; box-shadow: inset 0 1px 15px #0004; }
.search-box svg { width: 19px; height: 19px; stroke: #d0aa76; stroke-width: 1.7; fill: none; flex: 0 0 19px; }
.search-box input { width: 100%; min-width: 0; background: transparent; color: #ffe9ca; border: 0; outline: none; font-size: 14px; }
.search-box input::placeholder { color: #c4ad98; opacity: 1; }
.search-box:focus-within { outline: 2px solid #edc27c; outline-offset: 3px; }
.search-box kbd { font: 12px var(--mono); color: #c5a780; border: 1px solid #6b4d36; padding: 1px 5px; }
.panel-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 27px 24px; perspective: 1200px; }
.portal-card { position: relative; isolation: isolate; min-width: 0; transition: transform .4s cubic-bezier(.2,.8,.25,1.3),filter .3s; filter: drop-shadow(0 9px 10px #0007); }
.portal-card::before,.portal-card::after { content: ''; position: absolute; z-index: -1; inset: 0; clip-path: var(--notch); pointer-events: none; }
.portal-card::before { background: linear-gradient(145deg,#f0cc8a,#765035 28%,#3a2622 48%,#a26b42 70%,#dfb57a); }
.portal-card::after { inset: 1px; background: radial-gradient(ellipse at 50% 5%,#63312a75,transparent 65%),linear-gradient(160deg,#291619fa,#100e10fa 55%,#291216f5); }
.panel-content { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 285px; padding: 20px 23px 21px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; align-self: stretch; color: #c3a586; font: 12px/1.3 var(--mono); letter-spacing: .1em; }
.card-number { color: #e0b278; }
.logo-holder { position: relative; width: min(265px,100%); height: 93px; margin: 18px 0 14px; display: flex; align-items: center; justify-content: center; transition: transform .45s cubic-bezier(.2,.8,.2,1.4),filter .4s; transform-origin: 50% 90%; }
.logo-holder::before { content: ''; position: absolute; z-index: -1; inset: 0 -8%; background: radial-gradient(ellipse,#de934021,transparent 68%); opacity: .6; transition: opacity .4s,transform .4s; }
.brand-logo { display: block; width: 100%; height: auto; }
.panel-body h3 { margin: 0 0 9px; font: 700 24px/1.25 Georgia,serif; color: #f6dbb0; }
.panel-description { margin: 0 auto 20px; font-size: 14px; line-height: 1.5; max-width: 255px; color: #cdb9a8; min-height: 42px; }
.login-pill { align-self: stretch; position: relative; margin-top: auto; padding: 11px 10px; border: 1px solid #845033; background: linear-gradient(100deg,#391619,#692529,#391619); color: #f0cb98; font: 700 12px/1.3 var(--mono); letter-spacing: .11em; transition: background .3s,color .3s,box-shadow .3s; }
.portal-card:focus-within,.portal-card.is-selected { z-index: 3; transform: translateY(-9px) scale(1.035); filter: drop-shadow(0 16px 15px #000b) drop-shadow(0 0 10px #c284402d); animation: card-pop .48s both; }
.portal-card:focus-within .logo-holder,.portal-card.is-selected .logo-holder { transform: translateY(-13px) scale(1.13); filter: drop-shadow(0 14px 8px #0009) drop-shadow(0 0 7px #ffc87455); }
.portal-card:focus-within::before,.portal-card.is-selected::before { background: linear-gradient(135deg,#ffe0a2,#c68742 48%,#ffe0a2); }
.portal-card:focus-within .login-pill,.portal-card.is-selected .login-pill { background: linear-gradient(100deg,#6a2025,#a43a3b,#6a2025); color: #fff0cf; box-shadow: 0 0 20px #a9322f36; }
@media(hover:hover) { .portal-card:hover { z-index: 4; transform: translateY(-9px) scale(1.035); filter: drop-shadow(0 16px 15px #000b) drop-shadow(0 0 10px #c284402d); animation: card-pop .48s both; } .portal-card:hover .logo-holder { transform: translateY(-13px) scale(1.13); filter: drop-shadow(0 14px 8px #0009) drop-shadow(0 0 7px #ffc87455); } .portal-card:hover::before { background: linear-gradient(135deg,#ffe0a2,#c68742 48%,#ffe0a2); } .portal-card:hover .logo-holder::before { opacity: 1; transform: scale(1.3); } .portal-card:hover .login-pill { background: linear-gradient(100deg,#6a2025,#a43a3b,#6a2025); color: #fff0cf; box-shadow: 0 0 20px #a9322f36; } }
.panel-content:focus-visible { outline: none; }
.portal-card:active { transform: translateY(-3px) scale(1.02); }
.empty { padding: 25px; border: 1px dashed #956747; background: #150c0fe8; text-align: center; }
.directory-note { margin: 27px 0 0; color: #d0b79c; font-size: 12px; text-align: center; }
.community-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 15px 0 28px; padding: 26px 0; border-block: 1px solid #96684759; }
.community-band h2 { font-size: 24px; margin-bottom: 6px; }
.community-band p { margin: 0; color: var(--muted); font-size: 14px; }
.community-band a { flex-shrink: 0; border-bottom: 1px solid #9b6e44; padding: 10px 0; font-size: 14px; color: #f5d49d; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 27px; color: #bea88f; font: 12px/1.5 var(--mono); }
.footer p { margin: 0; }
.footer-tools { display: flex; gap: 25px; align-items: center; }
.footer a { padding-block: 10px; }
.motion-setting { display: flex; gap: 7px; align-items: center; }
.motion-control { width: 15px; height: 15px; accent-color: var(--gold); margin: 0; }
.motion-label { cursor: pointer; padding-block: 10px; }
body:has(.motion-control:checked) .atmosphere::before,body:has(.motion-control:checked) .atmosphere::after { animation-play-state: paused; }
body:has(.motion-control:checked) .portal-card,body:has(.motion-control:checked) .logo-holder,body:has(.motion-control:checked) .login-pill { animation: none; transition: none; transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 8px; left: 8px; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); z-index: 10; background: #f5e8cf; color: #15110e; }
.skip:focus { width: auto; height: auto; padding: 10px 15px; clip-path: none; }
@keyframes smoke-drift { from { transform: translateX(-5%) scale(1); opacity: .4; } to { transform: translateX(6%) scale(1.2); opacity: .9; } }
@keyframes card-pop { 0% { transform: translateY(0) scale(1); } 65% { transform: translateY(-12px) scale(1.055); } 100% { transform: translateY(-9px) scale(1.035); } }
@media(max-width:1000px) { .shell { width: calc(100% - 48px); } .panel-grid { gap: 24px 18px; } .panel-content { padding-inline: 18px; } .logo-holder { height: 78px; } .panel-body h3 { font-size: 22px; } .mafia-backdrop { background-position: 50% top; } }
@media(max-width:760px) { .masthead { min-height: 78px; } .brand { width: 154px; flex-basis: 154px; } .navigation { gap: 20px; font-size: 13px; } .navigation .join-link { display: none; } .hero { padding: 56px 0 31px; } h1 { font-size: clamp(65px,12vw,92px); } .hero-title { font-size: 23px; } .hero-description { max-width: 340px; } .section-rail { gap: 15px; font-size: 10px; padding-inline: 0; } .rail-right { gap: 15px; } .panel-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 20px; } .panel-description { min-height: 42px; } .community-band { gap: 22px; } .community-band h2 { font-size: 22px; } .mafia-backdrop { background-size: auto 100svh; background-position: 10% top; } .mafia-backdrop::after { background: linear-gradient(0deg,#10090df5,transparent 87%),linear-gradient(90deg,#0906093b,#0e080c60); } }
@media(max-width:480px) { .shell { width: calc(100% - 34px); } .masthead { gap: 12px; min-height: 74px; } .brand { width: 144px; flex-basis: 144px; } .navigation { gap: 16px; font-size: 12px; } .hero { padding: 56px 0 32px; } .eyebrow { font-size: 11px; letter-spacing: .25em; gap: 13px; } .eyebrow::before,.eyebrow::after { width: 30px; } h1 { font-size: clamp(55px,15vw,72px); } .hero-title { font-size: 21px; } .hero-description { font-size: 13px; max-width: 280px; } .section-rail { font-size: 10px; flex-wrap: wrap; gap: 6px 18px; padding-block: 12px; } .rail-right { gap: 13px; } h2 { font-size: 27px; } .directory { padding-top: 27px; } .directory-heading { margin-bottom: 27px; gap: 19px; } .panel-grid { grid-template-columns: 1fr; gap: 24px; padding-inline: 7px; } .panel-content { padding: 20px 23px 23px; min-height: 283px; } .logo-holder { width: 260px; height: 82px; margin-block: 20px 15px; } .panel-body h3 { font-size: 25px; } .panel-description { min-height: 0; } .community-band { flex-direction: column; align-items: center; text-align: center; gap: 13px; } .footer { align-items: start; font-size: 11px; } .footer>p { padding-top: 10px; } .footer-tools { gap: 6px; flex-direction: column; align-items: end; } .footer-tools a { padding-bottom: 0; } .mafia-backdrop { background-position: 10% top; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation: none; transition: none; } .portal-card:hover,.portal-card:focus-within,.portal-card.is-selected,.portal-card:active,.portal-card .logo-holder,.primary-link:hover { transform: none; animation: none; } }
