:root {
  --ink: #202532;
  --muted: #6f7686;
  --line: rgba(37, 45, 68, .11);
  --panel: rgba(255, 255, 255, .78);
  --white: #fff;
  --red: #ef3340;
  --orange: #ff7a00;
  --yellow: #ffd21f;
  --purple: #7d3cff;
  --blue: #0e72ff;
  --blue-deep: #1d50b6;
  --shadow: 0 24px 70px rgba(30, 38, 63, .11);
  --shadow-soft: 0 14px 38px rgba(30, 38, 63, .08);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max-width: 1240px;
  --font-body: "Century Gothic", "CenturyGothicFallback", "Poppins", sans-serif;
  --font-display: "Advent Pro", "Poppins", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--max-width), calc(100% - 44px)); margin-inline: auto; position: relative; z-index: 2; }

.network-canvas { position: fixed; inset: 0; z-index: -3; pointer-events: none; opacity: .85; }
body {
  background:
    radial-gradient(1200px 700px at 8% -8%, #ffe9ec 0%, transparent 60%),
    radial-gradient(1000px 650px at 100% 4%, #e6f0ff 0%, transparent 58%),
    radial-gradient(900px 700px at 90% 100%, #efe6ff 0%, transparent 60%),
    radial-gradient(900px 600px at 0% 95%, #fff2dc 0%, transparent 58%),
    #fbfbfe;
  background-attachment: fixed;
}
/* subtle dot grid that fades towards the edges */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -4; pointer-events: none;
  background-image: radial-gradient(rgba(40,48,80,.16) 1px, transparent 1.3px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 78%);
  opacity: .55;
}
/* soft film grain-free light sweep */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -4; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 62%);
  background-size: 250% 100%; animation: sweep 18s ease-in-out infinite alternate; opacity: .6;
}
@keyframes sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
.bg-aurora { position: fixed; inset: 0; z-index: -5; overflow: hidden; pointer-events: none; }
.orb { position: absolute; display: block; border-radius: 50%; filter: blur(70px); will-change: transform; }
.orb-a { width: 460px; height: 460px; left: -140px; top: 22vh; background: radial-gradient(circle, #ff5a6a, #ff9a3c 70%); opacity: .26; animation: driftA 19s ease-in-out infinite alternate; }
.orb-b { width: 520px; height: 520px; right: -170px; top: -80px; background: radial-gradient(circle, #3b8cff, #7d3cff 75%); opacity: .24; animation: driftB 23s ease-in-out infinite alternate; }
.orb-c { width: 420px; height: 420px; right: 8vw; bottom: -160px; background: radial-gradient(circle, #a874ff, #ff6ab0 75%); opacity: .22; animation: driftA 26s ease-in-out infinite alternate-reverse; }
.orb-d { width: 340px; height: 340px; left: 30vw; bottom: -120px; background: radial-gradient(circle, #ffd21f, #ff9a3c 75%); opacity: .22; animation: driftB 21s ease-in-out infinite alternate; }
@keyframes driftA { to { transform: translate(120px, 70px) scale(1.15); } }
@keyframes driftB { to { transform: translate(-110px, -60px) scale(.9); } }

.site-header {
  width: min(1320px, calc(100% - 28px)); margin: 14px auto 0; padding: 12px 18px 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  position: sticky; top: 12px; z-index: 100;
}
.glass-header {
  background: rgba(255,255,255,.78); border: 1px solid rgba(34,42,62,.09);
  box-shadow: 0 10px 36px rgba(30,38,63,.08); backdrop-filter: blur(18px); border-radius: 24px;
}
.brand { border: 0; padding: 0; background: transparent; cursor: pointer; display: flex; align-items: center; }
.brand-logo-svg { width: clamp(190px, 23vw, 270px); height: auto; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 10px 14px; border-radius: 13px; font-size: 14px; font-weight: 600; color: #555d6d; transition: .22s ease; }
.main-nav a:hover, .main-nav a:focus-visible { background: #f4f6fb; color: var(--ink); transform: translateY(-1px); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: #f4f6fb; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; border-radius: 99px; background: #313746; transition: .22s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { min-height: 570px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 58px; padding-bottom: 72px; }
.hero-copy { max-width: 700px; }
.eyebrow, .section-kicker { text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 700; color: #777e8d; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.7); }
.eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--orange), var(--purple), var(--blue)); box-shadow: 0 0 0 5px rgba(125,60,255,.08); }
.hero h1 { font-family: var(--font-display); font-size: clamp(54px, 8vw, 100px); line-height: .88; letter-spacing: -.045em; margin: 24px 0 22px; font-weight: 800; color: #252a36; }
.hero h1 span { background: linear-gradient(90deg, var(--red), var(--orange) 26%, #db9f00 43%, var(--purple) 68%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy > p { max-width: 660px; font-size: clamp(17px, 2vw, 21px); color: var(--muted); margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-modern { padding: 13px 18px; border-radius: 15px; font-weight: 700; font-size: 14px; transition: .22s ease; }
.btn-gradient { color: #fff; background: linear-gradient(110deg, #ec3f4a, #ff7a00 35%, #7d3cff 70%, #0e72ff); box-shadow: 0 12px 28px rgba(125,60,255,.18); }
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(125,60,255,.24); }
.btn-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.72); }
.btn-ghost:hover { background: #f5f7fb; transform: translateY(-2px); }
.hero-mark { display: grid; place-items: center; min-height: 410px; }
.network-emblem { width: min(100%, 485px); aspect-ratio: 1.15/1; position: relative; display: grid; place-items: center; border-radius: 42% 58% 50% 50% / 54% 48% 52% 46%; background: radial-gradient(circle, rgba(255,255,255,.9) 0 47%, rgba(125,60,255,.06) 48% 51%, transparent 52%), conic-gradient(from 50deg, rgba(239,51,64,.09), rgba(255,122,0,.08), rgba(255,210,31,.08), rgba(125,60,255,.08), rgba(14,114,255,.09), rgba(239,51,64,.09)); box-shadow: inset 0 0 0 1px rgba(40,46,66,.05), var(--shadow-soft); animation: breathe 7s ease-in-out infinite; }
.network-emblem::before, .network-emblem::after { content: ""; position: absolute; border: 1px dashed rgba(53,63,91,.15); border-radius: 50%; inset: 8%; animation: orbit 24s linear infinite; }
.network-emblem::after { inset: 19%; animation-duration: 18s; animation-direction: reverse; }
.network-emblem img { width: 82%; position: relative; z-index: 2; }
.sat { position: absolute; width: 15px; height: 15px; border-radius: 50%; box-shadow: 0 0 0 8px rgba(255,255,255,.65), 0 8px 24px rgba(20,30,55,.12); z-index: 3; }
.s1 { top: 8%; left: 25%; background: var(--red); }
.s2 { top: 29%; right: 5%; background: var(--yellow); }
.s3 { bottom: 9%; left: 48%; background: var(--blue); }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: translateY(-9px) scale(1.015); } }

.apps-section, .links-section { padding: 58px 0 78px; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-heading-row > p { max-width: 390px; color: var(--muted); margin: 0 0 7px; font-size: 14px; text-align: right; }
.section-title { font-family: var(--font-display); font-size: clamp(37px, 5vw, 58px); line-height: 1; letter-spacing: -.025em; margin: 5px 0 0; color: #282d39; }
.app-network-wrap { position: relative; }
.app-grid { position: relative; z-index: 2; display: grid; gap: 34px; }
.cat-block { --ct: var(--blue); }
.cat-red { --ct: var(--red); } .cat-purple { --ct: var(--purple); } .cat-blue { --ct: var(--blue); } .cat-orange { --ct: var(--orange); }
.cat-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(100deg, color-mix(in srgb, var(--ct) 9%, #fff), rgba(255,255,255,.7) 55%); backdrop-filter: blur(12px); position: relative; overflow: hidden; }
.cat-head::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--ct); }
.cat-num { font: 800 38px/1 var(--font-display); color: var(--ct); opacity: .9; min-width: 46px; padding-left: 6px; }
.cat-titles { flex: 1; min-width: 0; }
.cat-title { font: 800 clamp(24px, 3.2vw, 34px)/1 var(--font-display); letter-spacing: .02em; margin: 0; color: #232938; }
.cat-titles p { margin: 5px 0 0; font-size: 13px; color: var(--muted); }
.cat-count { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; color: var(--ct); background: color-mix(in srgb, var(--ct) 10%, #fff); white-space: nowrap; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: 18px; }
.cat-grid .app-card { display: grid; grid-template-columns: 170px 1fr; gap: 14px; align-items: stretch; }
.cat-grid .app-card-thumb { aspect-ratio: 1/1; align-self: start; }
.cat-grid .app-card-body { padding: 8px 8px 6px 0; display: flex; flex-direction: column; }
.cat-grid .app-card-desc { min-height: 0; font-size: 13px; }
.cat-grid .app-card-footer { margin-top: auto; }
.cat-grid .app-card-name { font-size: 30px; }
.loading-card { grid-column: 1/-1; padding: 35px; border-radius: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.72); display: flex; gap: 12px; align-items: center; justify-content: center; color: var(--muted); }
.loading-card span { width: 14px; height: 14px; border: 2px solid #cfd5e1; border-top-color: var(--blue); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.app-card { --tone: var(--ct, var(--blue)); position: relative; overflow: hidden; min-width: 0; border: 1px solid rgba(41,48,68,.10); border-radius: var(--radius-lg); background: rgba(255,255,255,.82); backdrop-filter: blur(14px); box-shadow: var(--shadow-soft); padding: 10px; transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease; }
.app-card:hover { transform: translateY(-8px); box-shadow: 0 28px 58px rgba(35,43,68,.14); border-color: color-mix(in srgb, var(--tone) 26%, transparent); }
.app-card-glow { position: absolute; width: 160px; height: 160px; border-radius: 50%; background: var(--tone); filter: blur(64px); opacity: .07; top: -60px; right: -60px; pointer-events: none; }
.app-card-thumb { aspect-ratio: 1/1; border-radius: 19px; overflow: hidden; position: relative; background: #f1f3f7; }
.app-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.app-card:hover .app-card-thumb img { transform: scale(1.035); }
.app-index { position: absolute; left: 10px; bottom: 10px; min-width: 38px; height: 31px; padding: 0 9px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); font-size: 11px; font-weight: 800; color: var(--tone); box-shadow: 0 5px 14px rgba(24,30,50,.09); }
.app-placeholder-mark { width: 100%; height: 100%; display: grid; place-items: center; font: 800 120px var(--font-display); color: var(--tone); background: linear-gradient(135deg, #fff, #f6f7fa); }
.app-card-body { padding: 15px 8px 8px; }
.app-card-topline { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.app-card-topline i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--tone), transparent); opacity: .45; }
.app-card-name { font-family: var(--font-display); font-size: 28px; line-height: 1.02; margin: 9px 0 8px; letter-spacing: -.02em; }
.app-card-desc { min-height: 57px; font-size: 12px; line-height: 1.45; color: var(--muted); margin: 0; }
.app-card-footer { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 11px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; }
.app-card-footer b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--tone) 9%, white); color: var(--tone); font-size: 15px; }
.app-card.is-locked { cursor: pointer; text-align: left; font: inherit; color: inherit; width: 100%; }
.app-card.is-locked .app-card-thumb img, .app-card.is-locked .app-placeholder-mark { filter: grayscale(.9); opacity: .65; }
.app-card.is-locked .app-card-body { opacity: .7; }
.app-card.is-locked:hover { transform: translateY(-4px); }
.app-card.is-locked:hover .app-card-body { opacity: 1; }
.app-info { max-width: 520px; }
.app-info-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.app-info-head img { width: 84px; height: 84px; border-radius: 20px; object-fit: cover; flex: none; filter: grayscale(.6); }
.app-info-head h3 { margin: 6px 0 0; }
.app-info-badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .05em; padding: 5px 10px; border-radius: 999px; background: #fde8e8; color: #a93030; }
.app-info-body p { color: #4b5263; margin: 0 0 12px; line-height: 1.6; }

.link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.link-card { display: grid; grid-template-columns: 112px 1fr auto; align-items: center; gap: 18px; padding: 12px 16px 12px 12px; min-height: 138px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.78); box-shadow: var(--shadow-soft); transition: .25s ease; }
.link-card:hover { transform: translateY(-5px); box-shadow: 0 24px 52px rgba(31,39,64,.13); }
.link-card-thumb { width: 112px; height: 112px; border-radius: 21px; overflow: hidden; background: #f0f2f6; position: relative; }
.link-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.youtube-play { position: absolute; right: 9px; bottom: 9px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #f00; color: #fff; font-size: 11px; box-shadow: 0 7px 16px rgba(255,0,0,.24); }
.link-card-copy { min-width: 0; display: flex; flex-direction: column; }
.link-card-kicker { font-size: 9px; font-weight: 800; letter-spacing: .14em; color: #f04444; margin-bottom: 5px; }
.link-card-copy strong { font-family: var(--font-display); font-size: 26px; line-height: 1.02; }
.link-card-copy small { color: var(--muted); margin-top: 7px; }
.link-card-arrow { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: #f4f6fa; font-size: 20px; }

.portal-strip { margin-top: 12px; margin-bottom: 90px; min-height: 215px; padding: 34px; border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: space-between; gap: 35px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(249,250,254,.86)); box-shadow: var(--shadow-soft); }
.portal-strip::before { content: ""; position: absolute; inset: auto -10% -120% 32%; height: 450px; background: conic-gradient(from 15deg, rgba(239,51,64,.16), rgba(255,122,0,.15), rgba(255,210,31,.12), rgba(125,60,255,.14), rgba(14,114,255,.15), rgba(239,51,64,.16)); filter: blur(45px); border-radius: 50%; opacity: .38; }
.portal-strip h2 { position: relative; font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); line-height: 1; max-width: 700px; margin: 7px 0 0; }
.portal-strip-actions { position: relative; min-width: 235px; display: grid; gap: 8px; }
.portal-strip-actions a { display: flex; justify-content: space-between; align-items: center; gap: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.8); padding: 12px 14px; border-radius: 14px; font-size: 13px; font-weight: 700; }
.portal-strip-actions a:hover { transform: translateX(3px); }

.modern-footer { width: min(1320px, calc(100% - 28px)); margin: 0 auto 14px; min-height: 88px; padding: 18px 22px; border-radius: 24px; border: 1px solid var(--line); background: rgba(250,251,253,.82); backdrop-filter: blur(14px); display: grid; grid-template-columns: 210px 1fr auto; align-items: center; gap: 20px; color: var(--muted); font-size: 12px; }
.footer-brand img { width: 175px; }
.footer-center { text-align: center; }
.footer-links { display: flex; gap: 15px; font-weight: 700; color: #555d6d; }

/* Secondary pages */
.subpage-main { min-height: calc(100vh - 220px); padding: 86px 0 90px; }
.subpage-hero { max-width: 850px; margin-bottom: 34px; }
.subpage-hero h1 { font-family: var(--font-display); font-size: clamp(54px, 8vw, 86px); line-height: .95; margin: 10px 0 18px; }
.subpage-hero p { font-size: 18px; color: var(--muted); max-width: 720px; }
.info-panel, .contact-panel { border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.82); backdrop-filter: blur(15px); box-shadow: var(--shadow); overflow: hidden; }
.info-panel { padding: clamp(24px, 5vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.info-card { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: rgba(250,251,254,.8); }
.info-card h2 { font-family: var(--font-display); font-size: 30px; margin: 0 0 8px; }
.info-card p { color: var(--muted); margin: 0; }
.contact-panel { display: grid; grid-template-columns: .8fr 1.2fr; }
.contact-aside { padding: clamp(26px, 4vw, 46px); background: linear-gradient(145deg, #272d39, #353b4c); color: #fff; position: relative; overflow: hidden; }
.contact-aside::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; right: -100px; bottom: -90px; background: conic-gradient(var(--red), var(--orange), var(--yellow), var(--purple), var(--blue), var(--red)); filter: blur(18px); opacity: .28; }
.contact-aside h2 { font: 700 40px/1 var(--font-display); margin: 14px 0 14px; }
.contact-aside p { color: rgba(255,255,255,.72); }
.contact-direct { display: grid; gap: 10px; margin-top: 28px; position: relative; z-index: 2; }
.contact-direct a { padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); font-size: 13px; }
.contact-form { padding: clamp(26px, 4vw, 46px); display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; color: #596172; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid #dfe3eb; background: #fbfcfe; color: var(--ink); border-radius: 14px; padding: 12px 13px; outline: none; transition: .2s ease; }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: rgba(14,114,255,.45); box-shadow: 0 0 0 4px rgba(14,114,255,.08); background: #fff; }
.contact-submit { border: 0; justify-self: start; cursor: pointer; padding: 13px 20px; }
.form-success { border: 1px solid rgba(27,148,82,.18); background: rgba(27,148,82,.08); color: #14733e; border-radius: 14px; padding: 11px 13px; font-size: 13px; display: none; }
.form-success.is-visible { display: block; }
.form-fail { border: 1px solid rgba(184,50,50,.2); background: rgba(184,50,50,.07); color: #a02a2a; border-radius: 14px; padding: 11px 13px; font-size: 13px; display: none; }
.form-fail.is-visible { display: block; }
.form-fail a { text-decoration: underline; font-weight: 700; }
.contact-submit:disabled { opacity: .6; cursor: wait; }


/* About */
.about-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .04em; border: 1px solid transparent; }
.c-red { color: var(--red); background: rgba(239,51,64,.1); border-color: rgba(239,51,64,.2); }
.c-orange { color: #d96a00; background: rgba(255,122,0,.1); border-color: rgba(255,122,0,.22); }
.c-purple { color: var(--purple); background: rgba(125,60,255,.1); border-color: rgba(125,60,255,.2); }
.c-blue { color: var(--blue); background: rgba(14,114,255,.1); border-color: rgba(14,114,255,.2); }
.about-story { display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.8); backdrop-filter: blur(15px); box-shadow: var(--shadow); }
.about-story h2 { font: 800 clamp(30px, 4vw, 44px)/1.02 var(--font-display); margin: 8px 0 14px; }
.about-story p { color: var(--muted); margin: 0 0 12px; }
.about-story-mark { display: grid; place-items: center; padding: 20px; border-radius: 28px; background: conic-gradient(from 50deg, rgba(239,51,64,.09), rgba(255,122,0,.08), rgba(255,210,31,.08), rgba(125,60,255,.08), rgba(14,114,255,.09), rgba(239,51,64,.09)); }
.about-section { margin-top: 70px; }
.about-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.about-cat { --ct: var(--blue); position: relative; overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.82); backdrop-filter: blur(14px); box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.about-cat.cat-red { --ct: var(--red); } .about-cat.cat-purple { --ct: var(--purple); } .about-cat.cat-blue { --ct: var(--blue); }
.about-cat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--ct); }
.about-cat::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border-radius: 50%; background: var(--ct); filter: blur(60px); opacity: .12; pointer-events: none; }
.about-cat-num { font: 800 44px/1 var(--font-display); color: var(--ct); }
.about-cat h3 { font: 800 28px/1 var(--font-display); letter-spacing: .02em; margin: 8px 0 10px; }
.about-cat > p { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.about-cat ul { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 8px; }
.about-cat li a { display: grid; grid-template-columns: 52px 1fr; align-items: center; column-gap: 12px; padding: 11px 13px; border-radius: 14px; border: 1px solid var(--line); background: color-mix(in srgb, var(--ct) 6%, #fff); transition: .2s ease; }
.about-cat li a:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--ct) 35%, transparent); }
.about-cat li img { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; }
.about-cat li em { font-style: normal; display: grid; gap: 2px; min-width: 0; }
.about-cat li b { font-size: 14px; color: var(--ct); }
.about-cat li .is-locked { display: grid; grid-template-columns: 52px 1fr; align-items: center; column-gap: 12px; padding: 11px 13px; border-radius: 14px; border: 1px dashed var(--line); background: #f6f7fa; }
.about-cat li .is-locked img { filter: grayscale(.9); opacity: .6; }
.about-cat li .is-locked b { color: #8a91a1; }
.about-cat li span { font-size: 12px; color: var(--muted); }
.about-values { margin-top: 0; }
.about-creator { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(249,250,254,.86)); box-shadow: var(--shadow-soft); }
.about-creator h2 { font: 800 clamp(32px, 4vw, 46px)/1 var(--font-display); margin: 8px 0 10px; }
.about-creator p { color: var(--muted); max-width: 560px; margin: 0; }
.about-actions { display: grid; gap: 10px; min-width: 250px; }
.about-actions .btn-modern { text-align: center; }
@media (max-width: 1020px) { .about-cats { grid-template-columns: 1fr; } .about-story { grid-template-columns: 1fr; } .about-story-mark { max-width: 360px; } .about-creator { flex-direction: column; align-items: stretch; } }

/* Admin */
.modal-overlay { position: fixed; inset: 0; background: rgba(24,29,41,.55); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 1000; backdrop-filter: blur(8px); }
.modal-overlay.is-open { display: flex; }
.modal { background: #fff; border: 1px solid var(--line); border-radius: 24px; max-width: 500px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 28px; box-shadow: 0 30px 80px rgba(18,24,43,.28); }
.modal.modal-wide { max-width: 900px; }
.modal h3 { font-family: var(--font-display); font-size: 30px; margin: 0 0 15px; }
.modal label { display: block; font-size: 12px; font-weight: 700; margin: 13px 0 5px; color: var(--muted); }
.modal input[type="text"], .modal input[type="url"], .modal input[type="email"], .modal input[type="password"], .modal input[type="number"], .modal textarea, .modal select { width: 100%; padding: 10px 12px; border: 1px solid #d9dee8; border-radius: 11px; background: #fbfcfe; }
.modal .field-row { display: flex; gap: 12px; }
.modal .field-row > div { flex: 1; }
.modal-close { float: right; border: 0; background: #f2f4f8; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; color: var(--muted); font-size: 20px; }
.btn { border: 0; border-radius: 11px; padding: 10px 16px; font-weight: 700; cursor: pointer; }
.btn-primary { color: #fff; background: linear-gradient(110deg, var(--purple), var(--blue)); }
.btn-secondary { background: #eef1f6; color: var(--ink); }
.btn-danger { background: #b83232; color: #fff; }
.btn-row, .admin-loggedin-bar { display: flex; gap: 9px; margin-top: 18px; flex-wrap: wrap; }
.admin-loggedin-bar { justify-content: space-between; }
.form-error { color: #b83232; min-height: 17px; font-size: 12px; margin-top: 8px; }
.image-source-toggle { display: flex; gap: 8px; }
.image-source-toggle button { flex: 1; border: 1px solid #d9dee8; padding: 8px; border-radius: 10px; cursor: pointer; background: #f7f8fb; }
.image-source-toggle button.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.image-preview { margin-top: 10px; width: 130px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #f1f3f7; display: none; }
.image-preview.has-image { display: block; }
.image-preview img { width: 100%; height: 100%; object-fit: cover; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th, .admin-table td { padding: 9px 7px; text-align: left; border-bottom: 1px solid #edf0f4; vertical-align: middle; }
.admin-table img.thumb { width: 42px; height: 42px; object-fit: cover; border-radius: 10px; }
.status-pill { display: inline-block; padding: 4px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-pill.active { background: #e3f7e9; color: #217c42; } .status-pill.locked { background: #fde8e8; color: #a93030; }
.row-actions { display: flex; gap: 5px; }
.row-actions button { border: 0; background: #eef1f5; border-radius: 8px; padding: 6px 8px; cursor: pointer; font-size: 11px; }
.hidden { display: none !important; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 80px; }
  .hero-mark { min-height: 310px; }
  .network-emblem { max-width: 430px; }
  .contact-panel { grid-template-columns: 1fr; }
  .modern-footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-center { order: 3; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--max-width)); }
  .site-header { top: 8px; margin-top: 8px; border-radius: 19px; padding: 10px 12px 10px 14px; }
  .brand-logo-svg { width: 180px; }
  .nav-toggle { display: flex; }
  .main-nav { position: absolute; top: calc(100% + 8px); right: 0; width: min(290px, calc(100vw - 28px)); flex-direction: column; align-items: stretch; gap: 4px; padding: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(18px); border-radius: 18px; box-shadow: var(--shadow-soft); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s ease; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a { padding: 12px 13px; }
  .hero { padding-top: 72px; padding-bottom: 38px; gap: 22px; }
  .hero h1 { font-size: clamp(50px, 18vw, 76px); }
  .hero-mark { min-height: 250px; }
  .network-emblem { width: min(100%, 350px); }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .section-heading-row > p { text-align: left; }
  .apps-section, .links-section { padding: 44px 0 58px; }
  .link-grid { grid-template-columns: 1fr; }
  .portal-strip { align-items: stretch; flex-direction: column; padding: 26px; margin-bottom: 58px; }
  .portal-strip-actions { min-width: 0; }
  .info-panel { grid-template-columns: 1fr; padding: 18px; }
  .subpage-main { padding-top: 62px; }
  .form-row { grid-template-columns: 1fr; }
  .modal .field-row { flex-direction: column; }
}

@media (max-width: 520px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-grid .app-card { grid-template-columns: 112px 1fr; gap: 10px; }
  .cat-grid .app-card-name { font-size: 24px; }
  .cat-head { flex-wrap: wrap; gap: 10px 14px; padding: 14px; }
  .cat-count { order: 3; }
  .app-card-desc { min-height: 0; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .btn-modern { text-align: center; }
  .link-card { grid-template-columns: 84px 1fr; gap: 12px; min-height: 110px; }
  .link-card-thumb { width: 84px; height: 84px; border-radius: 17px; }
  .link-card-arrow { display: none; }
  .link-card-copy strong { font-size: 22px; }
  .modern-footer { width: calc(100% - 16px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .network-canvas, .bg-aurora, body::after { display: none; }
}
