/* Portail central CTF */
.portal-body{min-height:100vh;margin:0;background:radial-gradient(ellipse at 75% 5%,#123b55 0,transparent 38%),linear-gradient(145deg,#06131f,#0a2233 58%,#071722);color:#eef7fb;font-family:Inter,system-ui,sans-serif}
.portal-shell{width:min(1120px,calc(100% - 40px));margin:auto;padding:30px 0 24px}
.portal-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff20;padding-bottom:18px;color:#9db8c8;font-size:.75rem;letter-spacing:.2em;font-weight:800}
.portal-top img{width:58px;height:58px;object-fit:contain;border-radius:14px}.portal-top a{display:flex}
.portal-hero{max-width:760px;padding:clamp(65px,10vw,120px) 0 70px}
.portal-kicker{color:#54c5dc;font-size:.75rem;font-weight:900;letter-spacing:.22em}
.portal-hero h1,.spaces-intro h1,.community-hero h1{font-size:clamp(2.8rem,7vw,5.7rem);line-height:.98;letter-spacing:-.055em;margin:18px 0}
.portal-hero h1 span,.spaces-intro h1 span,.community-hero h1 span{color:#57c7dd}
.portal-hero>p:not(.portal-kicker),.spaces-intro>p:not(.portal-kicker),.community-hero>p:not(.portal-kicker){max-width:620px;color:#b6cbd6;font-size:1.08rem;line-height:1.8}
.portal-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin-top:30px}
.portal-btn{display:inline-flex;justify-content:center;align-items:center;padding:14px 22px;border-radius:9px;text-decoration:none;font-weight:850;transition:.2s}
.portal-btn.primary{background:#51c4db;color:#06202c}.portal-btn.secondary{border:1px solid #7293a5;color:#edf8fc;background:#ffffff09}.portal-btn:hover,.space-card:hover{transform:translateY(-3px)}
.portal-guest{color:#c0d2dc;text-decoration:none;padding:12px}.portal-preview{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.portal-preview>a,.space-card{display:flex;flex-direction:column;text-decoration:none;color:#eff8fb;background:linear-gradient(140deg,#16384b,#0d2637);border:1px solid #ffffff20;border-radius:16px;padding:25px;min-height:145px}
.portal-preview span,.space-card>span{font-size:.7rem;letter-spacing:.16em;color:#59c6dc;font-weight:900}.portal-preview strong{font-size:1.5rem;margin:15px 0 5px}.portal-preview small{color:#b2c6d0}
.portal-shell footer{padding-top:30px;color:#7894a4;font-size:.8rem}
.spaces-shell{min-height:90vh}.spaces-intro{padding:55px 0 28px}.spaces-intro h1{font-size:clamp(2.4rem,5vw,4rem)}
.space-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px}.space-card{min-height:300px;padding:30px;transition:.2s}.space-card b{font-size:2.6rem;margin:22px 0 8px}.space-card h2{font-size:1.8rem;margin:0 0 8px}.space-card p{color:#b6cbd6;line-height:1.7;max-width:440px}.space-card strong{color:#58c7dd;margin-top:auto}.spaces-bottom{color:#9eb5c1;text-align:center;padding:30px 0}.spaces-bottom a{color:#69d1e5}
.community-main{background:#081a28;color:#eef7fb;min-height:80vh}.community-hero{padding:100px max(24px,calc((100% - 1100px)/2));background:linear-gradient(90deg,#061724eF,#06172488),url('../assets/images/ctf-hero-clean.png') center/cover;min-height:350px}.community-hero h1{font-size:clamp(3rem,7vw,5rem)}.community-content{width:min(1100px,calc(100% - 40px));margin:auto;padding:65px 0;display:grid;grid-template-columns:1.1fr .9fr;gap:35px;align-items:center}.community-content h2{font-size:2rem}.community-content p{color:#b6cbd6;line-height:1.8}.community-gallery{display:flex;flex-direction:column;gap:10px;color:#edf8fc;text-decoration:none;background:#102b3d;border:1px solid #ffffff20;padding:12px;border-radius:14px}.community-gallery img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:9px}.community-gallery small{color:#9fb8c5}
@media(max-width:700px){.portal-preview,.space-cards,.community-content{grid-template-columns:1fr}.portal-hero{padding:65px 0}.portal-shell{width:min(100% - 28px,1120px)}.portal-actions{align-items:stretch;flex-direction:column}.portal-btn{width:auto}.community-hero{padding:70px 22px}.spaces-intro{padding-top:45px}}
