/*
Theme Name: On Click Academy
Theme URI: https://on-click.tech
Author: On Click
Description: قالب عربي متجاوب لمركز On Click مع تسجيل الدورات عبر واتساب ولوحة إدارة التسجيلات داخل ووردبريس.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: on-click-academy
*/

:root {
  --bg-base: #0a0a0f;
  --bg-deep: #0d0b14;
  --panel: #1b1229;
  --panel-raised: #221733;
  --brand-violet: #8b5cf6;
  --brand-violet-bright: #a855f7;
  --glow: #c084fc;
  --text-primary: #f5f3ff;
  --text-secondary: #a1a1aa;
  --line: rgba(192, 132, 252, 0.18);
  --radius-pill: 9999px;
  --radius-shell: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 82% -10%, rgba(139, 92, 246, 0.14), transparent 30%),
    var(--bg-base);
  font-family: Inter, "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.onclick-hidden { display: none !important; }
.modal-backdrop[hidden] { display: none !important; }
body.admin-bar .site-header { top: 50px; }
.onclick-toast {
  position: fixed; z-index: 100; right: 22px; bottom: 92px;
  max-width: min(420px, calc(100% - 44px)); padding: 13px 18px;
  border: 1px solid rgba(192,132,252,.35); border-radius: 14px;
  color: #fff; background: rgba(27,18,41,.96); box-shadow: 0 18px 60px rgba(0,0,0,.45);
}
.onclick-toast.error { border-color: rgba(255,95,120,.45); color: #ffd4db; }

.site-header {
  position: fixed;
  z-index: 40;
  top: 18px;
  right: 50%;
  transform: translateX(50%);
  width: min(1180px, calc(100% - 36px));
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 8px 10px 8px 16px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-pill);
  background: rgba(13, 11, 20, .82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 70px rgba(0,0,0,.34);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 160px; }
.brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.brand span { display: flex; flex-direction: column; line-height: 1.18; }
.brand b { font-size: 13px; letter-spacing: .11em; }
.brand small { color: var(--text-secondary); font-size: 10px; margin-top: 4px; }
.nav-links { justify-self: center; display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 9px 14px; border-radius: var(--radius-pill); color: #d7d2df; font-size: 13px; transition: .25s ease; }
.nav-links a:hover { color: white; background: rgba(168,85,247,.12); }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-pill);
  color: white;
  cursor: pointer;
  font-weight: 650;
  font-size: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(135deg, var(--brand-violet), var(--brand-violet-bright));
  box-shadow: 0 10px 38px rgba(139,92,246,.34), inset 0 1px rgba(255,255,255,.24);
}
.button-primary:hover { box-shadow: 0 14px 50px rgba(168,85,247,.5), inset 0 1px rgba(255,255,255,.3); }
.button-secondary { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.035); }
.button-ghost { min-height: 46px; border: 1px solid rgba(192,132,252,.27); background: rgba(139,92,246,.1); }
.header-action { font-size: 12px; padding-inline: 18px; }

.hero {
  position: relative;
  min-height: 840px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: clamp(42px, 6vw, 92px);
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 90px;
}
.hero-copy { position: relative; z-index: 3; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #d8d1e4; font-size: 12px; font-weight: 650; letter-spacing: .02em; }
.eyebrow i { width: 24px; height: 1px; background: linear-gradient(90deg, var(--brand-violet), var(--glow)); box-shadow: 0 0 10px var(--glow); }
.hero h1 { margin: 24px 0 22px; font-size: clamp(60px, 7.3vw, 104px); line-height: 1.04; letter-spacing: -.02em; font-weight: 720; }
.hero h1 span { display: block; padding: .02em 0 .18em; margin-bottom: -.12em; overflow: visible; color: transparent; background: linear-gradient(90deg, #c4a1ff, #a855f7 45%, #7255ff); -webkit-background-clip: text; background-clip: text; letter-spacing: 0; line-height: 1.1; filter: drop-shadow(0 0 25px rgba(168,85,247,.26)); }
.hero-copy > p { max-width: 590px; margin: 0; color: #b6b1bc; font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: #8f8998; font-size: 11px; }
.hero-proof span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 8px; border-radius: 50%; background: var(--brand-violet-bright); box-shadow: 0 0 12px var(--glow); }
.hero-visual { position: relative; min-height: 570px; }
.hero-photo { position: absolute; overflow: hidden; margin: 0; border: 1px solid rgba(255,255,255,.1); background: var(--panel); box-shadow: 0 25px 90px rgba(0,0,0,.48); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 44%, rgba(10,10,15,.7)); pointer-events: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-main { inset: 30px 54px 60px 0; border-radius: 32px; transform: rotate(1.8deg); }
.hero-photo-main img { object-position: center; }
.hero-photo-side { width: 180px; height: 245px; left: -18px; bottom: 8px; border-radius: 24px; transform: rotate(-5deg); }
.hero-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 14px 17px; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; background: rgba(34,23,51,.83); backdrop-filter: blur(16px); box-shadow: 0 18px 50px rgba(0,0,0,.34); }
.hero-float b { display: block; font-size: 12px; }
.hero-float small { display: block; margin-top: 2px; color: #aaa3b3; font-size: 9px; }
.hero-float-top { top: 10px; right: 10px; flex-direction: column; align-items: flex-start; }
.hero-float-bottom { right: 22px; bottom: 38px; }
.pulse-dot { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: #7dffbb; box-shadow: 0 0 0 7px rgba(125,255,187,.08), 0 0 20px rgba(125,255,187,.5); animation: dotPulse 2.2s infinite; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .18; pointer-events: none; }
.hero-orb-one { width: 300px; height: 300px; right: 45%; top: 180px; background: #7c3aed; }
.hero-orb-two { width: 250px; height: 250px; left: -12%; bottom: 90px; background: #c026d3; }

.trust-strip { width: 100%; min-height: 82px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 30px; padding: 20px 32px; border-block: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.018); color: #8e8898; font-size: 12px; }
.trust-strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--brand-violet); }
.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 40px; margin-bottom: 46px; }
.section h2 { margin: 16px 0 0; font-size: clamp(42px, 5vw, 68px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading > p { margin: 0 0 8px; color: var(--text-secondary); font-size: 15px; line-height: 1.9; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pills button { border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-pill); padding: 10px 17px; color: #9f99a8; background: rgba(255,255,255,.025); cursor: pointer; transition: .2s ease; font-size: 12px; }
.filter-pills button.active, .filter-pills button:hover { color: white; border-color: rgba(168,85,247,.48); background: rgba(139,92,246,.15); }
.search-box { min-width: 250px; display: flex; align-items: center; gap: 8px; padding: 0 16px; min-height: 44px; border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-pill); background: rgba(255,255,255,.025); }
.search-box span { color: #8d8695; font-size: 19px; }
.search-box input { width: 100%; border: 0; outline: 0; color: white; background: transparent; font-size: 12px; }
.search-box input::placeholder { color: #746f7b; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.course-card { overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-shell); background: linear-gradient(180deg, rgba(34,23,51,.82), rgba(19,14,27,.92)); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; animation: riseIn .6s both; animation-delay: var(--delay); }
.course-card:hover { transform: translateY(-7px); border-color: rgba(192,132,252,.38); box-shadow: 0 20px 70px rgba(39,15,66,.35); }
.course-media { position: relative; width: 100%; height: 220px; padding: 0; border: 0; overflow: hidden; background: #15101d; cursor: pointer; }
.course-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,15,.03) 30%, rgba(10,10,15,.78)); }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.course-card:hover .course-media img { transform: scale(1.045); }
.course-category { position: absolute; z-index: 2; top: 14px; right: 14px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-pill); color: white; background: rgba(10,10,15,.54); backdrop-filter: blur(10px); font-size: 10px; }
.course-arrow { position: absolute; z-index: 2; left: 14px; bottom: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(135deg, var(--brand-violet), var(--brand-violet-bright)); box-shadow: 0 8px 24px rgba(139,92,246,.4); }
.course-body { padding: 22px; }
.course-body h3 { margin: 0; font-size: 20px; line-height: 1.45; letter-spacing: -.02em; }
.course-body > p { min-height: 78px; margin: 11px 0 15px; color: #9f99a7; font-size: 12px; line-height: 1.85; }
.course-facts { display: flex; flex-wrap: wrap; gap: 6px; min-height: 28px; }
.course-facts span { padding: 5px 9px; border-radius: var(--radius-pill); color: #bdb5c7; background: rgba(255,255,255,.045); font-size: 9px; }
.course-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 19px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.07); }
.course-footer b { max-width: 72%; font-size: 10px; line-height: 1.55; color: #e8e0f4; }
.course-footer button { border: 0; color: #cdafff; background: transparent; cursor: pointer; font-size: 11px; }
.empty-state { padding: 40px; text-align: center; color: var(--text-secondary); border: 1px dashed var(--line); border-radius: var(--radius-shell); }

.impact-band { border-block: 1px solid rgba(255,255,255,.06); background: radial-gradient(circle at 82% 10%, rgba(139,92,246,.14), transparent 30%), #0d0b14; }
.impact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; }
.impact-grid article { min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; border: 1px solid rgba(192,132,252,.15); border-radius: 22px; background: linear-gradient(160deg, rgba(34,23,51,.74), rgba(17,13,24,.82)); }
.impact-grid b { color: #d6b9ff; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.04em; }
.impact-grid span { max-width: 180px; margin-top: 12px; color: #a49cab; font-size: 11px; line-height: 1.7; }
.impact-notes { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 13px; }
.impact-notes span { padding: 14px 16px; border: 1px solid rgba(255,255,255,.065); border-radius: 15px; color: #928b99; background: rgba(255,255,255,.018); font-size: 9px; line-height: 1.7; }
.impact-notes b { color: #ccb0f5; font-size: 11px; }
.training-ledger { margin-top: 26px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 26px; background: rgba(21,16,29,.72); }
.ledger-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 24px 26px; border-bottom: 1px solid rgba(255,255,255,.07); }
.ledger-heading small { color: #8f859a; font-size: 9px; }
.ledger-heading h3 { margin: 4px 0 0; font-size: 24px; }
.ledger-heading > span { color: #7f7787; font-size: 9px; }
.ledger-grid { display: grid; grid-template-columns: repeat(2,1fr); }
.ledger-grid article { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; min-height: 66px; padding: 10px 22px; border-bottom: 1px solid rgba(255,255,255,.055); }
.ledger-grid article:nth-child(odd) { border-left: 1px solid rgba(255,255,255,.055); }
.ledger-grid article > span { color: #6f647a; font-size: 9px; }
.ledger-grid h4 { margin: 0; color: #cfc8d5; font-size: 11px; font-weight: 560; }
.ledger-grid b { min-width: 42px; display: grid; place-items: center; padding: 5px 9px; border-radius: var(--radius-pill); color: #d8c3f9; background: rgba(139,92,246,.12); font-size: 10px; }

.teaser-section { padding-top: 70px; }
.teaser-shell { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 70px; overflow: hidden; min-height: 560px; padding: 65px; border: 1px solid rgba(192,132,252,.2); border-radius: 32px; background: radial-gradient(circle at 78% 28%, rgba(139,92,246,.2), transparent 36%), linear-gradient(145deg, #17101f, #0f0d16); }
.teaser-shell::before { content: ""; position: absolute; width: 380px; height: 380px; right: -100px; bottom: -180px; border: 1px solid rgba(192,132,252,.13); border-radius: 50%; box-shadow: 0 0 0 45px rgba(192,132,252,.025), 0 0 0 90px rgba(192,132,252,.018); }
.teaser-shell h2 { font-size: clamp(40px, 4.5vw, 62px); }
.teaser-shell p { margin: 24px 0 30px; color: var(--text-secondary); font-size: 14px; line-height: 1.9; }
.teaser-dashboard { position: relative; z-index: 2; padding: 22px; border: 1px solid rgba(255,255,255,.1); border-radius: 25px; background: rgba(13,11,20,.82); box-shadow: 0 32px 90px rgba(0,0,0,.45); transform: perspective(900px) rotateY(-5deg) rotateX(2deg); }
.dash-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 18px; color: #8f8998; font-size: 10px; }
.dash-top b { color: white; font-size: 13px; }
.dash-course { display: grid; grid-template-columns: 120px 1fr 36px; align-items: center; gap: 15px; padding: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: var(--panel); }
.dash-course img { width: 120px; height: 90px; border-radius: 13px; object-fit: cover; }
.dash-course small, .dash-course span { display: block; color: #898390; font-size: 8px; }
.dash-course b { display: block; margin: 5px 0 11px; font-size: 11px; }
.dash-course button { width: 36px; height: 36px; border: 0; border-radius: 50%; color: white; background: var(--brand-violet); }
.progress { height: 5px; margin: 0 0 5px; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.07); }
.progress i { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-violet), var(--glow)); box-shadow: 0 0 16px rgba(192,132,252,.7); animation: progressFill 1.5s ease both; }
.dash-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 10px; }
.dash-stats span { padding: 15px; border: 1px solid rgba(255,255,255,.06); border-radius: 15px; background: rgba(255,255,255,.025); }
.dash-stats b, .dash-stats small { display: block; }
.dash-stats b { font-size: 10px; }
.dash-stats small { margin-top: 4px; color: #77717f; font-size: 7px; }

.simple-footer { width: min(1180px, calc(100% - 48px)); min-height: 140px; margin: 20px auto 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; border-top: 1px solid rgba(255,255,255,.08); color: #8e8896; font-size: 11px; }
.simple-footer p { text-align: center; }
.simple-footer > a:last-child { color: #c9b0f4; }
.whatsapp-float { position: fixed; z-index: 35; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 8px 0 18px; border: 1px solid rgba(192,132,252,.34); border-radius: var(--radius-pill); background: rgba(34,23,51,.88); backdrop-filter: blur(13px); box-shadow: 0 14px 50px rgba(0,0,0,.4); font-size: 11px; animation: floatPulse 3s infinite; }
.whatsapp-float b { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-violet); }

.modal-backdrop { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(5,4,8,.82); backdrop-filter: blur(13px); animation: fadeIn .2s ease; }
.course-modal { position: relative; width: min(820px, 100%); max-height: min(720px, calc(100vh - 48px)); display: grid; grid-template-columns: .9fr 1.1fr; overflow: auto; border: 1px solid rgba(192,132,252,.28); border-radius: 28px; background: #120e19; box-shadow: 0 40px 110px rgba(0,0,0,.7); }
.course-modal > img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.modal-content { padding: 52px 42px; }
.modal-content h2 { margin: 18px 0 15px; font-size: 36px; line-height: 1.25; }
.modal-content > p { color: var(--text-secondary); font-size: 13px; line-height: 1.9; }
.modal-content ul { margin: 24px 0; padding: 0 18px 0 0; color: #c2bbc9; font-size: 12px; }
.modal-instructor { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 12px 14px; border: 1px solid rgba(192,132,252,.13); border-radius: 13px; background: rgba(139,92,246,.055); }
.modal-instructor small { color: #8e8696; font-size: 9px; }
.modal-instructor b { color: #d9c8f4; font-size: 11px; }
.modal-content .details-note { margin: 18px 0; color: #c4b6d8; }
.modal-close { position: absolute; z-index: 2; top: 14px; left: 14px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: white; background: rgba(10,10,15,.65); cursor: pointer; font-size: 24px; }

.reveal { opacity: 1; transform: none; }
.reveal.is-visible { animation: revealIn .7s ease both; }
.platform-section { padding-top: 130px; }
.platform-heading { margin-bottom: 34px; }
.platform-tabs { display: inline-flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; padding: 6px; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-pill); background: rgba(255,255,255,.025); }
.platform-tabs button { min-height: 39px; padding: 0 17px; border: 0; border-radius: var(--radius-pill); color: #958f9e; background: transparent; cursor: pointer; font-size: 11px; transition: .25s ease; }
.platform-tabs button.active { color: white; background: linear-gradient(135deg, rgba(139,92,246,.9), rgba(168,85,247,.82)); box-shadow: 0 8px 28px rgba(139,92,246,.25); }
.platform-window { overflow: hidden; border: 1px solid rgba(192,132,252,.18); border-radius: 28px; background: #0d0b14; box-shadow: 0 35px 100px rgba(0,0,0,.42); }
.window-bar { direction: ltr; height: 48px; display: flex; align-items: center; gap: 7px; padding: 0 17px; border-bottom: 1px solid rgba(255,255,255,.065); background: rgba(255,255,255,.018); }
.window-bar span { width: 7px; height: 7px; border-radius: 50%; background: #38313f; }
.window-bar span:first-child { background: #a855f7; }
.window-bar b { margin-left: 12px; color: #6f6975; font-size: 8px; font-weight: 500; letter-spacing: .07em; }
.app-screen { min-height: 580px; animation: appIn .35s ease; }

.dashboard-screen { display: grid; grid-template-columns: 190px 1fr; }
.app-sidebar { display: flex; flex-direction: column; padding: 25px 18px; border-left: 1px solid rgba(255,255,255,.06); background: #110d18; }
.mini-brand { direction: ltr; display: flex; align-items: center; gap: 8px; padding: 0 7px 23px; }
.mini-brand img { width: 30px; height: 30px; border-radius: 50%; }
.mini-brand b { font-size: 10px; letter-spacing: .1em; }
.app-sidebar nav { display: grid; gap: 5px; }
.app-sidebar nav span { padding: 10px 12px; border-radius: 10px; color: #716b79; font-size: 9px; }
.app-sidebar nav span.active { color: #e9ddff; background: rgba(139,92,246,.14); }
.app-sidebar > small { margin-top: auto; padding: 12px; color: #625c69; font-size: 8px; }
.dashboard-main { padding: 42px; background: radial-gradient(circle at 72% 5%, rgba(139,92,246,.11), transparent 30%); }
.app-greeting { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 30px; }
.app-greeting small { color: #77717e; font-size: 9px; }
.app-greeting h3 { margin: 5px 0 0; font-size: 32px; letter-spacing: -.04em; }
.app-greeting button { padding: 8px 14px; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-pill); color: #a69eac; background: transparent; font-size: 9px; }
.continue-card { display: grid; grid-template-columns: 230px 1fr auto; align-items: center; gap: 28px; padding: 18px; border: 1px solid rgba(192,132,252,.14); border-radius: 22px; background: linear-gradient(135deg, rgba(34,23,51,.86), rgba(19,14,27,.9)); }
.continue-card > img { width: 230px; height: 165px; border-radius: 16px; object-fit: cover; }
.continue-card span { color: #9d80cc; font-size: 9px; }
.continue-card h4 { margin: 7px 0 8px; font-size: 19px; }
.continue-card p { margin: 0 0 20px; color: #89828f; font-size: 10px; }
.large-progress { width: 100%; height: 6px; overflow: hidden; border-radius: 12px; background: rgba(255,255,255,.07); }
.large-progress i { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-violet), var(--glow)); box-shadow: 0 0 18px rgba(192,132,252,.65); }
.continue-card small { color: #6e6874; font-size: 7px; }
.continue-card > button { min-width: 92px; min-height: 40px; border: 0; border-radius: var(--radius-pill); color: white; background: var(--brand-violet); font-size: 9px; }
.mini-modules { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 14px; }
.mini-modules article { display: flex; align-items: center; gap: 12px; padding: 18px; border: 1px solid rgba(255,255,255,.06); border-radius: 17px; background: rgba(255,255,255,.018); }
.mini-modules article > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #bd9eef; background: rgba(139,92,246,.1); font-size: 8px; }
.mini-modules b, .mini-modules small { display: block; }
.mini-modules b { font-size: 10px; }
.mini-modules small { margin-top: 3px; color: #6f6877; font-size: 7px; }

.player-screen { display: grid; grid-template-columns: 260px 1fr; }
.lesson-list { padding: 25px 18px; border-left: 1px solid rgba(255,255,255,.065); background: #110d18; }
.lesson-list > div { padding: 0 9px 18px; }
.lesson-list > div small, .lesson-list > div b { display: block; }
.lesson-list > div small { color: #776d82; font-size: 8px; }
.lesson-list > div b { margin-top: 4px; font-size: 13px; }
.lesson-list > button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px; border: 0; border-radius: 13px; color: #857d8e; background: transparent; text-align: right; cursor: pointer; }
.lesson-list > button.active { color: white; background: rgba(139,92,246,.15); }
.lesson-list > button.complete { color: #8c8494; }
.lesson-list > button > span { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #bda6e0; background: rgba(139,92,246,.1); font-size: 8px; }
.lesson-list button small, .lesson-list button b { display: block; }
.lesson-list button small { color: #6d6674; font-size: 7px; }
.lesson-list button b { margin-top: 2px; font-size: 9px; }
.video-area { padding: 30px; }
.video-frame { position: relative; height: 350px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 21px; background: #050507; }
.video-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.5)); }
.video-frame img { width: 100%; height: 100%; object-fit: cover; opacity: .68; }
.video-frame > button { position: absolute; z-index: 2; top: 50%; right: 50%; transform: translate(50%,-50%); width: 66px; height: 66px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; color: white; background: rgba(139,92,246,.88); box-shadow: 0 0 0 12px rgba(139,92,246,.12), 0 0 45px rgba(168,85,247,.45); cursor: pointer; }
.video-frame > span { position: absolute; z-index: 2; right: 18px; bottom: 15px; font-size: 8px; }
.video-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 2px 10px; }
.video-meta small { color: #766e7d; font-size: 8px; }
.video-meta h3 { margin: 3px 0 0; font-size: 16px; }
.video-meta button, .resource-row button { padding: 9px 13px; border: 1px solid rgba(192,132,252,.2); border-radius: var(--radius-pill); color: #cfb6f3; background: rgba(139,92,246,.08); font-size: 8px; }
.resource-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border: 1px solid rgba(255,255,255,.06); border-radius: 14px; background: rgba(255,255,255,.018); }
.resource-row b, .resource-row small { display: block; }
.resource-row b { font-size: 9px; }
.resource-row small { color: #6e6775; font-size: 7px; }

.checkout-screen { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; padding: 52px 70px; background: radial-gradient(circle at 17% 35%, rgba(139,92,246,.16), transparent 32%); }
.checkout-copy h3, .certificate-copy h3 { margin: 18px 0 15px; font-size: 44px; line-height: 1.15; letter-spacing: -.04em; }
.checkout-copy > p, .certificate-copy > p { color: #938c9b; font-size: 12px; line-height: 1.95; }
.secure-note { margin-top: 28px; padding: 15px 17px; border: 1px solid rgba(125,255,187,.12); border-radius: 15px; background: rgba(125,255,187,.035); }
.secure-note b, .secure-note small { display: block; }
.secure-note b { color: #cceadc; font-size: 10px; }
.secure-note small { margin-top: 3px; color: #789087; font-size: 8px; }
.payment-card { padding: 22px; border: 1px solid rgba(255,255,255,.09); border-radius: 23px; background: rgba(27,18,41,.83); box-shadow: 0 25px 70px rgba(0,0,0,.34); }
.payment-head { display: flex; align-items: center; justify-content: space-between; padding: 1px 4px 14px; }
.payment-head span { font-size: 13px; font-weight: 700; }
.payment-head small { color: #776f7f; font-size: 8px; }
.payment-card > button { width: 100%; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 13px; padding: 11px; margin-top: 7px; border: 1px solid rgba(255,255,255,.06); border-radius: 14px; color: white; background: rgba(255,255,255,.022); text-align: right; cursor: pointer; }
.payment-card > button:hover { border-color: rgba(192,132,252,.25); }
.wallet-mark { direction: ltr; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: white; background: linear-gradient(145deg, #7c3aed, #a855f7); font-size: 12px; font-weight: 800; }
.wallet-mark.asia { background: linear-gradient(145deg, #6d4aff, #2997ff); }
.wallet-mark.qi { background: linear-gradient(145deg, #2d7d6b, #50b598); }
.wallet-mark.card { background: linear-gradient(145deg, #40394a, #776b87); }
.payment-card button b, .payment-card button small { display: block; }
.payment-card button b { font-size: 10px; }
.payment-card button small { color: #746d7c; font-size: 7px; }
.payment-card button i { color: #6f6776; font-style: normal; }
.payment-card > a { display: block; margin-top: 15px; text-align: center; color: #aa8bd8; font-size: 8px; }
.registration-card .message-preview { display: grid; gap: 10px; padding: 18px; border: 1px solid rgba(255,255,255,.07); border-radius: 16px; color: #958d9d; background: rgba(255,255,255,.025); font-size: 10px; line-height: 1.7; }
.registration-card .message-preview b { color: #ece5f7; font-size: 11px; }
.registration-card > a.button { display: inline-flex; width: 100%; min-height: 48px; margin-top: 15px; color: white; font-size: 11px; }

.certificate-screen { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 60px; padding: 48px 60px; background: radial-gradient(circle at 25% 55%, rgba(168,85,247,.16), transparent 30%); }
.certificate-card { position: relative; min-height: 430px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 35px; overflow: hidden; border: 1px solid rgba(192,132,252,.46); border-radius: 24px; background: linear-gradient(145deg, #1b1229, #0f0c15); text-align: center; box-shadow: inset 0 0 50px rgba(139,92,246,.08), 0 25px 70px rgba(0,0,0,.35); }
.certificate-card::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(192,132,252,.12); border-radius: 17px; }
.certificate-logo { position: absolute; top: 28px; display: flex; align-items: center; gap: 8px; }
.certificate-logo img { width: 30px; height: 30px; border-radius: 50%; }
.certificate-logo b { font-size: 9px; letter-spacing: .1em; }
.certificate-card > small { color: #9a7dc4; font-size: 9px; letter-spacing: .06em; }
.certificate-card h3 { margin: 12px 0; font-size: 30px; }
.certificate-card p { width: 70%; margin: 0; color: #88818e; font-size: 9px; }
.certificate-seal { width: 48px; height: 48px; display: grid; place-items: center; margin-top: 22px; border: 1px solid rgba(192,132,252,.4); border-radius: 50%; color: #d9c3fa; box-shadow: 0 0 25px rgba(168,85,247,.25); font-size: 10px; }
.certificate-line { position: absolute; right: 35px; left: 35px; bottom: 25px; display: flex; justify-content: space-between; color: #655f6b; font-size: 7px; }
.certificate-copy > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.certificate-copy .button { min-height: 42px; font-size: 10px; }

.about-band { border-block: 1px solid rgba(255,255,255,.06); background: linear-gradient(180deg, rgba(34,23,51,.24), rgba(13,11,20,.2)); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 80px; }
.about-visual { position: relative; min-height: 560px; }
.about-visual > img { width: 100%; height: 560px; object-fit: cover; border: 1px solid rgba(255,255,255,.1); border-radius: 30px; box-shadow: 0 30px 90px rgba(0,0,0,.42); }
.about-visual > div { position: absolute; left: -25px; bottom: 35px; min-width: 165px; padding: 20px; border: 1px solid rgba(192,132,252,.24); border-radius: 20px; background: rgba(34,23,51,.9); backdrop-filter: blur(15px); }
.about-visual b, .about-visual span { display: block; }
.about-visual b { font-size: 34px; color: #d9c1ff; }
.about-visual span { color: #9b93a2; font-size: 9px; }
.about-copy h2 { margin: 20px 0 24px; font-size: clamp(44px, 5vw, 72px); line-height: 1.06; letter-spacing: -.05em; }
.about-copy > p { color: #a19aa8; font-size: 14px; line-height: 2; }
.partnership { margin: 28px 0 20px; padding: 16px 18px; border-right: 2px solid var(--brand-violet-bright); background: rgba(139,92,246,.06); }
.partnership small, .partnership b { display: block; }
.partnership small { color: #817989; font-size: 8px; }
.partnership b { margin-top: 3px; font-size: 12px; }
.about-points { display: flex; flex-wrap: wrap; gap: 7px; }
.about-points span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius-pill); color: #aaa3b1; font-size: 9px; }

.method-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; counter-reset: method; }
.method-grid article { min-height: 260px; padding: 25px; border: 1px solid rgba(255,255,255,.07); border-radius: 21px; background: linear-gradient(180deg, rgba(34,23,51,.55), rgba(16,12,22,.7)); transition: .3s ease; }
.method-grid article:hover { transform: translateY(-6px); border-color: rgba(192,132,252,.26); }
.method-grid article > span { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(192,132,252,.22); border-radius: 50%; color: #cbb2f1; font-size: 9px; }
.method-grid h3 { margin: 50px 0 12px; font-size: 26px; }
.method-grid p { margin: 0; color: #8b8492; font-size: 11px; line-height: 1.9; }
.compact-heading { margin-bottom: 36px; }
.instructor-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.instructor-grid > article { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 16px; min-height: 138px; padding: 17px; border: 1px solid rgba(255,255,255,.08); border-radius: 21px; background: var(--panel); }
.instructor-photo { width: 84px; height: 104px; object-fit: cover; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: #15101d; }
.instructor-grid article small { color: #817a88; font-size: 8px; }
.instructor-grid article h3 { margin: 5px 0 0; font-size: 15px; }
.instructor-grid > aside { grid-column: span 3; display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 110px; padding: 24px; border: 1px solid rgba(192,132,252,.15); border-radius: 21px; background: rgba(139,92,246,.06); }
.instructor-grid aside p { margin: 0; color: #a39ba9; font-size: 11px; }
.instructor-grid aside a { color: #c5a5f3; font-size: 9px; }

.gallery-section { border-block: 1px solid rgba(255,255,255,.06); background: #0d0b14; }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 210px; gap: 12px; }
.gallery-grid figure { position: relative; overflow: hidden; margin: 0; border: 1px solid rgba(255,255,255,.08); border-radius: 19px; }
.gallery-grid figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(0,0,0,.75)); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-grid figure:hover img { transform: scale(1.045); }
.gallery-grid figcaption { position: absolute; z-index: 2; right: 16px; bottom: 13px; font-size: 9px; }
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }

.final-cta { padding-block: 130px; }
.final-cta-shell { position: relative; display: grid; grid-template-columns: 1fr .65fr; align-items: center; gap: 70px; overflow: hidden; padding: 70px; border: 1px solid rgba(192,132,252,.22); border-radius: 32px; background: radial-gradient(circle at 15% 40%, rgba(168,85,247,.18), transparent 30%), linear-gradient(145deg, #1a1126, #0e0c14); }
.final-cta-shell::after { content: ""; position: absolute; width: 420px; height: 420px; right: -250px; top: -210px; border: 1px solid rgba(192,132,252,.13); border-radius: 50%; box-shadow: 0 0 0 55px rgba(192,132,252,.025), 0 0 0 110px rgba(192,132,252,.018); }
.final-cta h2 { margin-top: 18px; font-size: clamp(46px, 5vw, 70px); }
.final-cta p { max-width: 600px; color: #9e96a5; font-size: 13px; }
.contact-card { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: stretch; padding: 25px; border: 1px solid rgba(255,255,255,.09); border-radius: 22px; background: rgba(13,11,20,.72); }
.contact-card > small { color: #746c7c; font-size: 8px; }
.contact-card > b { margin: 6px 0 22px; font-size: 13px; }
.contact-card > span { margin-top: 13px; text-align: center; color: #685f70; font-size: 7px; }

@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes appIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes revealIn { from { opacity: .35; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes progressFill { from { width: 0; } }
@keyframes dotPulse { 50% { box-shadow: 0 0 0 10px rgba(125,255,187,.02), 0 0 24px rgba(125,255,187,.7); } }
@keyframes floatPulse { 50% { box-shadow: 0 14px 55px rgba(139,92,246,.32); } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .header-action { justify-self: end; }
  .menu-toggle { display: grid; place-content: center; gap: 6px; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; background: transparent; }
  .menu-toggle span { display: block; width: 16px; height: 1px; background: white; }
  .nav-links { position: absolute; top: 78px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; padding: 12px; border: 1px solid rgba(255,255,255,.09); border-radius: 22px; background: rgba(13,11,20,.98); }
  .nav-links.is-open { display: flex; }
  .nav-links a { text-align: center; }
  .hero { grid-template-columns: 1fr; padding-top: 160px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero-visual { min-height: 520px; }
  .hero-photo-main { inset: 30px 8% 50px; }
  .hero-photo-side { left: 5%; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2,1fr); }
  .impact-notes { grid-template-columns: 1fr; }
  .teaser-shell { grid-template-columns: 1fr; }
  .teaser-dashboard { transform: none; }
  .continue-card { grid-template-columns: 180px 1fr; }
  .continue-card > img { width: 180px; }
  .continue-card > button { grid-column: 2; justify-self: start; }
  .checkout-screen, .certificate-screen { gap: 38px; padding: 42px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: 2; }
  .method-grid { grid-template-columns: repeat(2,1fr); }
  .instructor-grid { grid-template-columns: 1fr 1fr; }
  .instructor-grid > aside { grid-column: span 2; min-height: 120px; }
  .gallery-grid { grid-template-columns: repeat(3,1fr); }
  .final-cta-shell { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { top: 10px; width: calc(100% - 20px); height: 62px; padding: 6px 8px; gap: 9px; }
  .brand { min-width: 0; }
  .brand img { width: 40px; height: 40px; }
  .brand b { font-size: 10px; }
  .brand small { font-size: 8px; }
  .header-action { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle { grid-column: 2; grid-row: 1; }
  .hero { width: min(100% - 28px, 1240px); min-height: 0; padding: 125px 0 70px; gap: 26px; }
  .hero h1 { font-size: clamp(54px, 18vw, 78px); }
  .hero-copy > p { font-size: 14px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 380px; }
  .hero-photo-main { inset: 20px 0 30px; border-radius: 25px; }
  .hero-photo-side { display: none; }
  .hero-float-top { display: none; }
  .hero-float-bottom { right: 12px; bottom: 14px; }
  .trust-strip { gap: 10px 16px; }
  .section { width: min(100% - 28px, 1180px); padding: 86px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .section h2 { font-size: 42px; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .filter-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .filter-pills button { flex: 0 0 auto; }
  .search-box { min-width: 0; }
  .course-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid article { min-height: 145px; padding: 18px; }
  .ledger-heading { align-items: flex-start; flex-direction: column; }
  .ledger-grid { grid-template-columns: 1fr; }
  .ledger-grid article:nth-child(odd) { border-left: 0; }
  .ledger-grid article { padding-inline: 15px; }
  .course-body > p { min-height: 0; }
  .teaser-shell { padding: 34px 20px; border-radius: 24px; }
  .dash-course { grid-template-columns: 74px 1fr; }
  .dash-course img { width: 74px; height: 74px; }
  .dash-course button { display: none; }
  .dash-stats { grid-template-columns: 1fr; }
  .simple-footer { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; text-align: center; }
  .simple-footer .brand { justify-content: center; }
  .simple-footer p { margin: 0; }
  .course-modal { grid-template-columns: 1fr; }
  .course-modal > img { height: 220px; min-height: 0; }
  .modal-content { padding: 30px 24px; }
  .modal-content h2 { font-size: 28px; }
  .platform-tabs { width: 100%; flex-wrap: nowrap; overflow-x: auto; border-radius: 17px; }
  .platform-tabs button { flex: 0 0 auto; }
  .app-screen { min-height: 520px; }
  .dashboard-screen { grid-template-columns: 1fr; }
  .app-sidebar { display: none; }
  .dashboard-main { padding: 22px 16px; }
  .app-greeting h3 { font-size: 25px; }
  .continue-card { grid-template-columns: 1fr; gap: 14px; }
  .continue-card > img { width: 100%; height: 180px; }
  .continue-card > button { grid-column: 1; }
  .mini-modules { grid-template-columns: 1fr; }
  .player-screen { grid-template-columns: 1fr; }
  .lesson-list { display: none; }
  .video-area { padding: 16px; }
  .video-frame { height: 250px; }
  .video-meta { align-items: flex-start; flex-direction: column; }
  .checkout-screen, .certificate-screen { grid-template-columns: 1fr; gap: 30px; padding: 30px 20px; }
  .checkout-copy h3, .certificate-copy h3 { font-size: 35px; }
  .certificate-card { min-height: 390px; padding: 25px 17px; }
  .certificate-card h3 { font-size: 24px; }
  .certificate-card p { width: 90%; }
  .about-grid { gap: 40px; }
  .about-visual { min-height: 380px; }
  .about-visual > img { height: 380px; border-radius: 23px; }
  .about-visual > div { left: 10px; bottom: 18px; }
  .about-copy h2 { font-size: 46px; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { min-height: 210px; }
  .method-grid h3 { margin-top: 35px; }
  .instructor-grid { grid-template-columns: 1fr; }
  .instructor-grid > article { grid-template-columns: 72px 1fr; }
  .instructor-photo { width: 72px; height: 86px; }
  .instructor-grid > aside { grid-column: auto; min-height: 150px; }
  .instructor-grid > aside { align-items: flex-start; flex-direction: column; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 180px; }
  .gallery-wide { grid-column: span 2; }
  .gallery-tall { grid-row: span 2; }
  .final-cta-shell { padding: 42px 22px; gap: 36px; border-radius: 24px; }
  .final-cta h2 { font-size: 43px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}

/* Registration and Hostinger administration */
.registration-form { display: grid; gap: 13px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.registration-form h3 { margin: 0; font-size: 19px; }
.registration-form label { display: grid; gap: 7px; color: #dcd5e7; font-size: 13px; }
.registration-form input, .admin-shell input, .admin-shell textarea, .admin-shell select { width: 100%; border: 1px solid rgba(255,255,255,.13); border-radius: 11px; background: rgba(255,255,255,.055); color: #fff; padding: 12px 13px; font: inherit; }
.attendance-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.attendance-choice button { border: 1px solid rgba(255,255,255,.13); border-radius: 11px; padding: 11px; color: #d8d0e4; background: rgba(255,255,255,.04); cursor: pointer; }
.attendance-choice button.active { border-color: #a654ff; color: white; background: rgba(166,84,255,.2); }
.registration-error, .admin-error { border: 1px solid rgba(255,95,120,.35); border-radius: 10px; background: rgba(255,75,105,.1); color: #ffb8c3; padding: 10px 12px; }
.registration-note { color: #9d95aa; line-height: 1.7; }

.admin-shell { min-height: 100vh; width: min(1180px, calc(100% - 28px)); margin: auto; padding: 42px 0 80px; color: #f7f2ff; }
.admin-login { display: grid; place-items: center; }
.admin-panel { margin-top: 22px; border: 1px solid rgba(255,255,255,.11); border-radius: 20px; background: #171120; padding: 24px; box-shadow: 0 18px 60px rgba(0,0,0,.25); }
.login-card { width: min(430px, 100%); display: grid; gap: 15px; text-align: center; }
.login-card img { width: 76px; height: 76px; margin: auto; border-radius: 22px; object-fit: cover; }
.login-card label { display: grid; gap: 8px; text-align: right; }
.login-card a { color: #c7a4ff; }
.admin-kicker { margin: 0; color: #b978ff; font-weight: 800; letter-spacing: .08em; }
.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-header h1 { margin: 5px 0 0; }
.admin-header > div:last-child { display: flex; align-items: center; gap: 10px; }
.admin-header a, .admin-header button, .admin-tabs button, .form-actions button, .admin-cards button { border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: rgba(255,255,255,.05); color: #fff; padding: 10px 14px; cursor: pointer; text-decoration: none; }
.admin-primary { border: 0 !important; border-radius: 11px; color: white; background: linear-gradient(135deg,#9a47ff,#cc4ddd) !important; padding: 12px 18px; font: inherit; font-weight: 800; cursor: pointer; }
.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 28px; }
.admin-stats article { display: grid; gap: 4px; border: 1px solid rgba(255,255,255,.1); border-radius: 17px; background: #15101d; padding: 18px; }
.admin-stats b { font-size: 30px; color: #c88cff; }
.admin-stats span { color: #aaa1b4; }
.admin-tabs { display: flex; gap: 8px; margin-top: 22px; overflow-x: auto; }
.admin-tabs button.active { background: #8f3fff; border-color: #8f3fff; }
.admin-panel h2 { margin: 0 0 18px; }
.admin-table-wrap { overflow-x: auto; }
.admin-shell table { width: 100%; border-collapse: collapse; min-width: 820px; }
.admin-shell th, .admin-shell td { padding: 12px 10px; text-align: right; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-shell th { color: #a99fb4; font-size: 12px; }
.admin-shell select option { color: #111; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label { display: grid; gap: 7px; color: #bfb5c9; font-size: 13px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid textarea { min-height: 95px; resize: vertical; }
.form-grid .check { display: flex; flex-direction: row; align-items: center; }
.form-grid .check input { width: auto; }
.form-actions { display: flex; gap: 10px; margin-top: 18px; }
.admin-cards { display: grid; gap: 9px; }
.admin-cards article { display: grid; grid-template-columns: 64px 1fr auto auto; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.08); padding: 10px 0; }
.admin-cards img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.admin-cards article div { display: grid; gap: 3px; }
.admin-cards span, .admin-cards small { color: #a99fb4; }
.admin-cards .danger { color: #ff9aaa; }

@media (max-width: 720px) {
  .admin-header { align-items: flex-start; flex-direction: column; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .admin-cards article { grid-template-columns: 52px 1fr auto; }
  .admin-cards article .danger { grid-column: 3; }
}
