:root {
  --gdc-primary: #305cff;
  --gdc-secondary: #10b981;
  --gdc-background: #f5f7fb;
  --gdc-card: #ffffff;
  --gdc-text: #111827;
  --gdc-muted: #6b7280;
  --gdc-border: #e5e7eb;
  --gdc-success: #10b981;
  --gdc-danger: #ef4444;
  --gdc-warning: #f59e0b;
  --gdc-radius: 28px;
}

.gdc-public-wrap {
  min-height: 100vh;
  padding: 42px 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--gdc-text);
  background: radial-gradient(circle at top left, rgba(48, 92, 255, .14), transparent 30%), linear-gradient(135deg, #f8fbff 0%, #eef3ff 54%, #f7fbf8 100%);
  box-sizing: border-box;
}

.gdc-official-body { margin: 0; }.gdc-official-page { min-height: 100vh; display: grid; place-items: center; padding: 32px 20px; box-sizing: border-box; background: #f6f8fc; color: #111827; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }.gdc-official-content { max-width: 680px; text-align: center; }.gdc-official-logo { display: block; width: 94px; height: 94px; margin: 0 auto 18px; border-radius: 26px; box-shadow: 0 18px 40px rgba(15, 23, 42, .16); }.gdc-official-eyebrow { margin: 0; color: #1d4ed8; font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }.gdc-official-content h1 { margin: 12px 0 16px; color: #111827; font-size: clamp(34px, 5vw, 64px); line-height: 1.03; }.gdc-official-content p { margin: 0 auto; max-width: 580px; color: #64748b; font-size: 18px; line-height: 1.6; }.gdc-official-button { display: inline-flex; min-height: 58px; margin-top: 30px; padding: 0 24px; align-items: center; justify-content: center; gap: 10px; border-radius: 16px; background: linear-gradient(135deg, #305cff, #173bca); color: #fff; box-shadow: 0 18px 42px rgba(48, 92, 255, .24); font-weight: 900; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }.gdc-official-button:hover { transform: translateY(-2px); box-shadow: 0 24px 50px rgba(48, 92, 255, .32); }

.gdc-bg-solid { background: #f6f8fc; }
.gdc-bg-pattern { background-color: #f7f9fd; background-image: linear-gradient(#e9edf6 1px, transparent 1px), linear-gradient(90deg, #e9edf6 1px, transparent 1px); background-size: 28px 28px; }

.gdc-student-form,
.gdc-success-card,
.gdc-closed-card,
.gdc-verify-card {
  width: min(940px, 100%);
  margin: 0 auto;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(229, 231, 235, .9);
  border-radius: var(--gdc-radius);
  box-shadow: 0 24px 80px rgba(15, 23, 42, .12);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.gdc-form-banner { width: 100%; background: #061936; }
.gdc-form-banner img { display: block; width: 100%; height: auto; aspect-ratio: 2.52 / 1; object-fit: cover; object-position: center; }

.gdc-form-hero {
  padding: 38px;
  text-align: center;
  background: linear-gradient(180deg, rgba(48, 92, 255, .08), rgba(255,255,255,0));
}

.gdc-brand-mark {
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--gdc-primary), var(--gdc-secondary));
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 16px 34px rgba(48, 92, 255, .28);
}

.gdc-logo-img { width: 82px; height: 82px; object-fit: contain; margin: 0 auto 14px; display: block; border-radius: 22px; box-shadow: 0 12px 28px rgba(15, 23, 42, .12); }
.gdc-eyebrow { margin: 0; color: var(--gdc-primary); text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.gdc-form-hero h1, .gdc-success-card h2, .gdc-closed-card h1, .gdc-verify-card h2 { margin: 8px 0 10px; font-size: clamp(28px, 4vw, 48px); line-height: 1.06; letter-spacing: 0; }
.gdc-form-hero p, .gdc-section-copy, .gdc-success-card p, .gdc-closed-card p, .gdc-verify-card p { color: var(--gdc-muted); font-size: 16px; line-height: 1.6; }

.gdc-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 30px;
  text-align: left;
}

.gdc-stepper span {
  position: relative;
  padding-top: 16px;
  color: var(--gdc-muted);
  font-size: 13px;
  font-weight: 800;
}

.gdc-stepper span:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
}

.gdc-stepper span.active:before,
.gdc-stepper span.done:before { background: linear-gradient(90deg, var(--gdc-primary), var(--gdc-secondary)); }
.gdc-stepper span.active { color: var(--gdc-text); }
.gdc-mobile-progress { display: none; }

.gdc-step { display: none; padding: 10px 38px 34px; animation: gdcFade .22s ease; }
.gdc-step.active { display: block; }
.gdc-step h2 { margin: 0 0 18px; font-size: 24px; }
.gdc-step-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.gdc-step-heading h2 { margin-bottom: 0; }
.gdc-form-help-video { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 14px; border: 1px solid #fecdd3; border-radius: 12px; background: #fff5f6; color: #be123c; font-size: 13px; font-weight: 800; line-height: 1.25; text-decoration: none; text-align: center; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.gdc-form-help-video:hover, .gdc-form-help-video:focus-visible { border-color: #fb7185; background: #ffe4e6; box-shadow: 0 7px 18px rgba(190, 18, 60, .14); transform: translateY(-1px); color: #9f1239; }
.gdc-video-play { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e11d48; color: #fff; font-size: 9px; }

.gdc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gdc-field { display: grid; gap: 8px; }
.gdc-field span { font-size: 14px; font-weight: 800; color: #1f2937; }
.gdc-field em { color: var(--gdc-danger); font-style: normal; }
.gdc-field small { color: var(--gdc-muted); }

.gdc-field input,
.gdc-field select,
.gdc-field textarea,
.gdc-verify-card input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--gdc-border);
  border-radius: 16px;
  background: #fff;
  color: var(--gdc-text);
  font: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.gdc-field textarea { min-height: 118px; padding-top: 14px; resize: vertical; }
.gdc-field input:focus, .gdc-field select:focus, .gdc-field textarea:focus, .gdc-verify-card input:focus { border-color: var(--gdc-primary); box-shadow: 0 0 0 4px rgba(48, 92, 255, .12); }
.gdc-field.has-error input, .gdc-field.has-error select, .gdc-field.has-error textarea, .gdc-check.has-error { border-color: var(--gdc-danger); }
.gdc-error { min-height: 18px; color: var(--gdc-danger); font-size: 12px; }

.gdc-action-grid, .gdc-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gdc-action-grid-single { grid-template-columns: minmax(0, 380px); justify-content: center; }
.gdc-inline-app-section { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--gdc-border); }
.gdc-inline-app-section > h2 { margin-bottom: 8px; text-align: center; }
.gdc-inline-app-section > .gdc-section-copy { text-align: center; }
.gdc-form-nav [data-submit-registration] { width: min(100%, 380px); min-height: 54px; }
.gdc-action-card, .gdc-contact-card, .gdc-review-box {
  padding: 20px;
  border: 1px solid var(--gdc-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
  transition: transform .16s ease, box-shadow .16s ease;
}
.gdc-action-card:hover, .gdc-contact-card:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(15, 23, 42, .1); }
.gdc-action-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(48, 92, 255, .1); color: var(--gdc-primary); }
.gdc-action-icon svg { width: 27px; height: 27px; display: block; }
.gdc-action-icon-instagram { color: #d62976; background: #fff0f7; }
.gdc-action-icon-youtube { color: #ff0033; background: #fff1f3; }
.gdc-action-icon-app { background: transparent; }.gdc-app-card-logo { width: 46px; height: 46px; border-radius: 14px; object-fit: cover; box-shadow: 0 5px 14px rgba(15, 23, 42, .12); }
.gdc-action-card h3, .gdc-contact-card h3 { margin: 14px 0 8px; }
.gdc-action-card p { color: var(--gdc-muted); min-height: 48px; }
.gdc-contact-card > b { float: right; font-size: 40px; line-height: 1; color: rgba(48, 92, 255, .12); }

.gdc-check {
  margin-top: 14px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--gdc-border);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
}

.gdc-share-flow { max-width: 650px; margin: 0 auto; }
.gdc-sharing-tag { width: fit-content; margin: 0 auto 12px; padding: 8px 14px; border-radius: 999px; background: #e0f2fe; color: #075985; font-size: 13px; font-weight: 850; letter-spacing: .03em; }
.gdc-share-lead { position: relative; overflow: hidden; margin: 0 0 20px; padding: 24px 24px 22px; border: 1px solid #fbbf24; border-radius: 22px; background: linear-gradient(135deg, #fff7d6, #fffdf4 52%, #fff0e8); color: #78350f; box-shadow: 0 14px 34px rgba(245, 158, 11, .12); text-align: center; }
.gdc-share-lead:before, .gdc-share-lead:after { content: ""; position: absolute; width: 86px; height: 86px; border: 1px solid rgba(245, 158, 11, .28); border-radius: 50%; }.gdc-share-lead:before { top: -44px; left: -34px; }.gdc-share-lead:after { right: -36px; bottom: -48px; }
.gdc-share-lead-icon { position: relative; z-index: 1; display: grid; width: 44px; height: 44px; margin: 0 auto 8px; place-items: center; border-radius: 14px; background: #fff; box-shadow: 0 8px 18px rgba(120, 53, 15, .12); font-size: 23px; }.gdc-share-lead p { position: relative; z-index: 1; margin: 3px 0; font-size: 15px; font-weight: 700; }.gdc-share-lead strong { position: relative; z-index: 1; display: block; margin: 2px 0 6px; color: #c2410c; font-size: clamp(25px, 4vw, 34px); letter-spacing: .04em; }.gdc-share-lead small { position: relative; z-index: 1; display: block; margin-top: 9px; color: #9a3412; font-size: 14px; font-weight: 700; }
.gdc-share-card { position: relative; padding: 28px; border: 1px solid var(--gdc-border); border-radius: 22px; background: #fff; box-shadow: 0 14px 36px rgba(15, 23, 42, .08); text-align: center; animation: gdcFade .22s ease; }
.gdc-share-card.done { margin-bottom: 14px; padding: 18px 22px; border-color: #86efac; background: #f0fdf4; box-shadow: none; }
.gdc-share-card.done h3, .gdc-share-card.done > p, .gdc-share-card.done .gdc-share-actions { display: none; }
.gdc-share-count { display: grid; width: 46px; height: 46px; margin: 0 auto 12px; place-items: center; border-radius: 16px; background: rgba(48, 92, 255, .1); color: var(--gdc-primary); font-weight: 900; }
.gdc-share-card h3 { margin: 0 0 8px; font-size: 22px; }
.gdc-share-card > p { margin: 0 0 20px; color: var(--gdc-muted); }
.gdc-share-primary { width: 100%; min-height: 52px; border: 0; border-radius: 16px; background: linear-gradient(135deg, var(--gdc-primary), #173bca); color: #fff; font: inherit; font-weight: 850; cursor: pointer; box-shadow: 0 14px 28px rgba(48, 92, 255, .22); }
.gdc-share-platforms { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.gdc-share-platform { width: 44px; height: 44px; border: 0; border-radius: 14px; color: #fff; cursor: pointer; transition: transform .16s ease; }.gdc-share-platform svg { width: 21px; height: 21px; vertical-align: middle; }
.gdc-share-platform:hover { transform: translateY(-2px); }
.gdc-share-platform.whatsapp { background: #25d366; }.gdc-share-platform.telegram { background: #229ed9; }.gdc-share-platform.facebook { background: #1877f2; }.gdc-share-platform.copy { background: #374151; }
.gdc-share-complete { min-height: 0; }
.gdc-share-manual-confirm { margin-top: 16px; padding: 14px; border: 1px solid #bfdbfe; border-radius: 16px; background: #eff6ff; color: #1e3a8a; }
.gdc-share-manual-confirm p { margin: 0 0 11px !important; color: #1e3a8a !important; font-size: 13px; font-weight: 700; }
.gdc-share-manual-confirm button { width: 100%; min-height: 44px; border: 0; border-radius: 12px; background: #1d4ed8; color: #fff; font: inherit; font-weight: 850; cursor: pointer; }
.gdc-share-manual-confirm button:hover, .gdc-share-manual-confirm button:focus-visible { background: #1e40af; }
.gdc-share-tick { display: inline-grid; width: 28px; height: 28px; margin-right: 8px; place-items: center; border-radius: 50%; background: var(--gdc-success); color: #fff; }
.gdc-share-finale { position: relative; overflow: hidden; margin-top: 16px; padding: 30px 24px; border: 1px solid #86efac; border-radius: 22px; background: linear-gradient(135deg, #f0fdf4, #eff6ff); text-align: center; }
.gdc-share-finale h3 { margin: 12px 0 8px; }.gdc-share-finale p { margin: 0; color: var(--gdc-muted); }
.gdc-ticket-generating { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 20px !important; color: #075985 !important; font-weight: 850; }.gdc-ticket-generating span { width: 16px; height: 16px; border: 2px solid #bfdbfe; border-top-color: var(--gdc-primary); border-radius: 50%; animation: gdcSpin .7s linear infinite; }.gdc-ticket-generating.error { color: #b91c1c !important; }.gdc-ticket-generating.error span { display: none; }.gdc-share-retry { position: relative; z-index: 1; min-height: 46px; margin-top: 14px; padding: 0 18px; border: 0; border-radius: 14px; background: #173bca; color: #fff; font: inherit; font-weight: 850; cursor: pointer; }
.gdc-confetti { position: absolute; inset: 0; pointer-events: none; }.gdc-confetti i { position: absolute; top: -12px; left: calc(var(--gdc-piece) * 3.5%); width: 9px; height: 14px; background: var(--gdc-confetti-color); animation: gdcConfetti 1.2s ease-in forwards; animation-delay: calc(var(--gdc-piece) * .025s); }
.gdc-page-confetti { position: fixed; z-index: 2147483647; inset: 0; overflow: hidden; pointer-events: none; }.gdc-page-confetti i { position: absolute; top: -28px; width: var(--gdc-page-size); height: calc(var(--gdc-page-size) * 1.55); border-radius: 2px; background: var(--gdc-confetti-color); animation: gdcPageConfetti 3.7s linear var(--gdc-page-delay) forwards; }

.gdc-btn {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.gdc-btn:hover { transform: translateY(-1px); }
.gdc-btn-primary { background: linear-gradient(135deg, var(--gdc-primary), #173bca); color: #fff; box-shadow: 0 14px 30px rgba(48, 92, 255, .24); }
.gdc-btn-ghost { background: #f3f4f6; color: #111827; }
.gdc-btn-link { background: #f8fafc; color: var(--gdc-primary); }
.gdc-btn-pill { border-radius: 999px; }
.gdc-btn-square { border-radius: 6px; }
.gdc-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.gdc-btn.is-loading { position: relative; color: rgba(255,255,255,.72); }
.gdc-is-hidden { display: none !important; }

.gdc-form-nav {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 20px 38px;
  border-top: 1px solid var(--gdc-border);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
}

.gdc-review-grid, .gdc-ticket-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.gdc-review-grid div, .gdc-ticket-meta div { padding: 14px; border-radius: 16px; background: #f8fafc; }
.gdc-review-grid span, .gdc-ticket-meta span { display: block; color: var(--gdc-muted); font-size: 12px; text-transform: capitalize; }

.gdc-success-card { padding: 42px; text-align: center; }
.gdc-success-icon { width: 82px; height: 82px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: var(--gdc-success); color: #fff; font-size: 44px; animation: gdcPop .28s ease; }
.gdc-ticket-card { margin: 26px auto; max-width: 520px; padding: 26px; border-radius: 24px; background: linear-gradient(135deg, #101827, #1f2a44); color: #fff; box-shadow: 0 22px 58px rgba(15, 23, 42, .28); }
.gdc-ticket-card span { text-transform: uppercase; letter-spacing: .12em; color: #a7f3d0; font-size: 12px; }
.gdc-ticket-card strong { display: block; margin: 12px 0; font-size: clamp(30px, 6vw, 54px); letter-spacing: 0; }
.gdc-save-note { font-weight: 800; color: var(--gdc-text) !important; }
.gdc-gift-box { width: 90px; height: 90px; margin: 26px auto 14px; display: grid; place-items: center; border-radius: 26px; background: linear-gradient(135deg, #fef3c7, #fca5a5); box-shadow: 0 16px 32px rgba(239, 68, 68, .2); font-size: 48px; animation: gdcPop .35s ease; }
.gdc-success-message { max-width: 560px; margin: 0 auto; padding: 18px; border-radius: 18px; background: #fffbeb; color: #78350f; }.gdc-success-message p { margin: 7px 0; color: inherit !important; }

.gdc-closed-card, .gdc-verify-card { max-width: 620px; padding: 42px; text-align: center; }
.gdc-ticket-result { margin-top: 18px; }
.gdc-verify-state { padding: 20px; border-radius: 20px; background: #ecfdf5; text-align: left; }
.gdc-verify-state.invalid { background: #fef2f2; }
.gdc-verify-state.cancelled { background: #fffbeb; }
.gdc-verify-state dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px; }
.gdc-verify-state dt { color: var(--gdc-muted); }
.gdc-verify-state dd { margin: 0; font-weight: 800; }

.gdc-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  transform: translateY(20px);
  opacity: 0;
  padding: 14px 18px;
  border-radius: 16px;
  color: #fff;
  background: #111827;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .22);
  transition: opacity .18s ease, transform .18s ease;
}
.gdc-toast.show { opacity: 1; transform: translateY(0); }
.gdc-toast[data-type="danger"] { background: var(--gdc-danger); }
.gdc-hp { position: absolute; left: -10000px; opacity: 0; }

@keyframes gdcFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gdcPop { from { transform: scale(.82); } to { transform: scale(1); } }
@keyframes gdcConfetti { to { transform: translateY(210px) rotate(540deg); opacity: 0; } }
@keyframes gdcPageConfetti { 0% { transform: translateY(0) rotate(0deg); opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(110vh) rotate(900deg); opacity: 0; } }
@keyframes gdcSpin { to { transform: rotate(360deg); } }

@media (max-width: 800px) {
  .gdc-step-heading { align-items: stretch; flex-direction: column; }
  .gdc-form-help-video { width: 100%; min-height: 46px; }
  .gdc-public-wrap { padding: 0; }
  .gdc-student-form, .gdc-success-card, .gdc-closed-card, .gdc-verify-card { min-height: 100vh; border-radius: 0; box-shadow: none; }
  .gdc-form-hero, .gdc-step, .gdc-form-nav, .gdc-success-card, .gdc-closed-card, .gdc-verify-card { padding-left: 20px; padding-right: 20px; }
  .gdc-stepper { display: none; }
  .gdc-mobile-progress { display: block; margin-top: 22px; text-align: left; }
  .gdc-mobile-progress i { display: block; height: 8px; margin-top: 8px; border-radius: 999px; background: #e5e7eb; overflow: hidden; }
  .gdc-mobile-progress b { display: block; width: 25%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gdc-primary), var(--gdc-secondary)); transition: width .2s ease; }
  .gdc-grid, .gdc-action-grid, .gdc-contact-grid, .gdc-review-grid, .gdc-ticket-meta { grid-template-columns: 1fr; }
  .gdc-form-nav { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  .gdc-form-nav .gdc-btn { flex: 1; }
  .gdc-action-card p { min-height: auto; }
}

@media print {
  .gdc-form-nav, .gdc-toast, .gdc-btn { display: none !important; }
  .gdc-public-wrap { background: #fff; padding: 0; }
  .gdc-success-card { box-shadow: none; border: 0; }
}
