:root {
  color-scheme: dark;
  --bg: #07131c;
  --panel: rgba(11, 30, 42, .72);
  --line: rgba(146, 210, 229, .16);
  --muted: #8da8b5;
  --text: #e9f8fb;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

.backdrop { position: fixed; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(circle at 20% 0%, #12384a 0, transparent 38%), radial-gradient(circle at 90% 80%, #172a46 0, transparent 35%), linear-gradient(145deg, #061019, #091b26 55%, #061017); }
.backdrop::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(158, 223, 235, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(158, 223, 235, .08) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 78%); }
.backdrop i { position: absolute; width: 28vw; height: 28vw; border: 1px solid rgba(112, 215, 229, .14); border-radius: 50%; animation: drift 14s ease-in-out infinite; }
.backdrop i:nth-child(1) { top: -16vw; left: 8vw; }
.backdrop i:nth-child(2) { right: -12vw; top: 38vh; animation-delay: -4s; }
.backdrop i:nth-child(3) { left: 34vw; bottom: -22vw; animation-delay: -8s; }
@keyframes drift { 50% { transform: translate3d(0, 18px, 0) scale(1.04); opacity: .5; } }

.portal-shell { position: relative; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 54px 0 24px; }
.hero { display: flex; align-items: flex-end; gap: 18px; margin-bottom: 36px; }
.brand-mark { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 auto; border: 1px solid rgba(117, 231, 240, .42); border-radius: 18px; color: #75e7f0; font-size: 33px; box-shadow: 0 0 34px rgba(65, 217, 230, .14), inset 0 0 24px rgba(65, 217, 230, .08); }
.eyebrow { margin: 0 0 8px; color: #72dce8; font-size: 11px; letter-spacing: .2em; font-weight: 700; }
h1 { margin: 0; font-size: clamp(31px, 5vw, 54px); line-height: .98; letter-spacing: -.045em; font-weight: 760; }
h1 span { display: block; color: #7de5ed; }
.hero-copy { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.live-status { margin-left: auto; align-self: flex-start; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: #a8c6d0; font-size: 12px; white-space: nowrap; background: rgba(6, 19, 28, .45); }
.live-status b { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #67f3bb; box-shadow: 0 0 12px #67f3bb; }

.workshop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.workshop-card { position: relative; display: flex; min-height: 254px; flex-direction: column; padding: 19px; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; color: inherit; text-decoration: none; background: linear-gradient(145deg, rgba(16, 42, 57, .85), rgba(8, 24, 34, .7)); box-shadow: 0 14px 40px rgba(0, 0, 0, .2); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.workshop-card::before { content: ""; position: absolute; width: 130px; height: 130px; right: -42px; top: -44px; border-radius: 50%; background: var(--accent); opacity: .1; filter: blur(2px); }
.workshop-card:hover, .workshop-card:focus-visible { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent), white 25%); box-shadow: 0 20px 48px rgba(0, 0, 0, .32), 0 0 0 1px color-mix(in srgb, var(--accent), transparent 65%); outline: none; }
.card-top { display: flex; justify-content: space-between; color: #82a9b7; font-size: 11px; letter-spacing: .12em; }
.card-index { color: var(--accent); font-weight: 750; }
.card-state { padding: 3px 7px; border: 1px solid color-mix(in srgb, var(--accent), transparent 55%); border-radius: 999px; color: var(--accent); font-size: 9px; }
.card-icon { width: 48px; height: 48px; margin: 22px 0 17px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--accent), transparent 54%); border-radius: 15px; color: var(--accent); font-size: 28px; background: color-mix(in srgb, var(--accent), transparent 91%); }
.workshop-card h2 { margin: 0; font-size: 19px; line-height: 1.2; letter-spacing: -.02em; }
.workshop-card p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.card-link { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 18px; color: #b7dbe2; font-size: 12px; }
.card-link b { color: var(--accent); font-size: 19px; font-weight: 400; transition: transform .2s ease; }
.workshop-card:hover .card-link b { transform: translate(3px, -2px); }
.card-cyan { --accent: #65e7ef; } .card-violet { --accent: #bd9cff; } .card-blue { --accent: #75bfff; } .card-green { --accent: #6de1b0; } .card-orange { --accent: #ffc477; } .card-pink { --accent: #ff9fc7; } .card-gold { --accent: #f5d36a; } .card-teal { --accent: #6de4d5; }
.portal-footer { display: flex; justify-content: space-between; gap: 15px; margin-top: 28px; color: #65818d; font-size: 10px; letter-spacing: .13em; }

@media (max-width: 900px) { .workshop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .portal-shell { width: min(100% - 28px, 480px); padding-top: 32px; } .hero { align-items: flex-start; flex-wrap: wrap; margin-bottom: 25px; } .brand-mark { width: 48px; height: 48px; border-radius: 15px; font-size: 27px; } .live-status { width: 100%; margin: 2px 0 0 66px; } .workshop-grid { grid-template-columns: 1fr; gap: 12px; } .workshop-card { min-height: 206px; padding: 17px; } .card-icon { margin: 16px 0 13px; } .portal-footer { flex-direction: column; gap: 7px; line-height: 1.4; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
