:root {
  --background: #07111a;
  --surface: #0d1b2a;
  --surface-soft: #102334;
  --surface-strong: #12293d;
  --text: #f8fbff;
  --muted: #9ab1c6;
  --primary: #1ad1ff;
  --primary-dark: #0b79ab;
  --accent: #ff9d3c;
  --border: rgba(83, 224, 255, 0.2);
  --success: #19c37d;
  --warning: #f3b347;
  --danger: #ef5b5b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(26, 209, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #07111a 0%, #08131d 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.siteShell,
.dashboardShell,
.adminPageShell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.siteShell {
  padding: 32px 0 56px;
}

.heroSection {
  display: grid;
  gap: 28px;
}

.contentCard,
.registrationForm,
.adminCard,
.adminIntroCard,
.summaryCard,
.tableCard,
.statusMessage {
  border: 1px solid var(--border);
  background: rgba(10, 24, 36, 0.92);
  box-shadow: var(--shadow);
}

.heroContent {
  display: grid;
  gap: 20px;
}

.heroIntroCard {
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 32px;
  background: rgba(10, 24, 36, 0.92);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 157, 60, 0.45);
  color: #ffd6ac;
  background: rgba(255, 157, 60, 0.12);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1,
h2,
p,
ul {
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.15;
}

.leadText,
.contentCard li,
.registrationCopy p,
.formHeader p,
.adminIntroCard p,
.adminHeader p,
.tableHeader p {
  color: var(--muted);
  line-height: 1.6;
}

.heroGrid,
.registrationSection,
.adminPageShell {
  display: grid;
  gap: 24px;
}

.contentCard,
.registrationForm,
.adminCard,
.adminIntroCard,
.summaryCard,
.tableCard {
  border-radius: 24px;
  padding: 24px;
}

.contentCard ul,
.detailList,
.benefitList {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  margin-top: 16px;
}

.registrationSection {
  margin-top: 40px;
  align-items: start;
}

.speakersSection {
  margin-top: 40px;
  display: grid;
  gap: 28px;
}

.speakersHeader {
  display: grid;
  gap: 12px;
  text-align: center;
  justify-items: center;
}

.speakersGrid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .speakersGrid {
    grid-template-columns: 1fr 1fr;
  }
}

.speakerCard {
  border: 1px solid var(--border);
  background: rgba(10, 24, 36, 0.92);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.speakerImage {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  margin: 0 auto;
}

.speakerInfo {
  display: grid;
  gap: 12px;
}

.speakerInfo h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--primary);
  text-align: center;
}

.speakerRole {
  color: var(--accent);
  font-weight: bold;
  font-size: 0.9rem;
  text-align: center;
  margin-top: -8px;
}

.speakerInfo p {
  color: var(--muted);
  line-height: 1.6;
}

.registrationCopy {
  display: grid;
  gap: 18px;
}

.registrationForm,
.adminLoginForm {
  display: grid;
  gap: 18px;
}

.formHeader {
  display: grid;
  gap: 10px;
}

.fieldGroup {
  display: grid;
  gap: 8px;
}

.fieldGroup span {
  color: #d8e8f7;
  font-size: 0.95rem;
  font-weight: 700;
}

.fieldGroup input {
  width: 100%;
  border: 1px solid rgba(154, 177, 198, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 16px;
  color: var(--text);
  outline: none;
}

.fieldGroup input:focus {
  border-color: rgba(26, 209, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(26, 209, 255, 0.14);
}

.primaryButton,
.secondaryButton,
.smallButton,
.adminLink {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  transition: 0.2s ease;
}

.primaryButton,
.smallButton {
  border: 1px solid rgba(255, 157, 60, 0.45);
  background: linear-gradient(180deg, #0e6c9e 0%, #0b5a82 100%);
  color: var(--text);
  font-weight: 700;
}

.primaryButton {
  min-height: 52px;
  padding: 0 18px;
}

.secondaryButton,
.smallButton.secondary,
.adminLink {
  border: 1px solid rgba(83, 224, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.secondaryButton {
  min-height: 48px;
  padding: 0 16px;
}

.smallButton {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.adminLink {
  width: fit-content;
  padding: 12px 16px;
}

.primaryButton:hover,
.secondaryButton:hover,
.smallButton:hover,
.adminLink:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.smallButton:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.formHint {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.statusMessage {
  border-radius: 18px;
  padding: 16px 18px;
  font-weight: 700;
}

.statusMessage.success {
  border-color: rgba(25, 195, 125, 0.25);
  color: #d2ffe9;
  background: rgba(25, 195, 125, 0.12);
}

.statusMessage.error {
  border-color: rgba(239, 91, 91, 0.28);
  color: #ffd9d9;
  background: rgba(239, 91, 91, 0.12);
}

.adminPageShell {
  min-height: 100vh;
  padding: 40px 0;
  align-items: center;
}

.adminIntroCard {
  display: grid;
  gap: 18px;
}

.adminPanelColumn {
  display: grid;
  gap: 18px;
}

.dashboardShell {
  padding: 32px 0 56px;
}

.adminLayout {
  display: grid;
  gap: 24px;
}

.adminHeader {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.summaryGrid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.summaryCard {
  display: grid;
  gap: 8px;
}

.summaryCard span {
  color: var(--muted);
}

.summaryCard strong {
  font-size: 2rem;
}

.tableHeader {
  margin-bottom: 18px;
}

.tableWrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

th,
td {
  padding: 16px 12px;
  border-bottom: 1px solid rgba(154, 177, 198, 0.12);
  vertical-align: top;
  text-align: left;
}

th {
  color: #dcecfb;
  font-size: 0.92rem;
}

td {
  color: var(--muted);
  font-size: 0.95rem;
}

td small {
  display: block;
  margin-top: 8px;
  color: #89a1b8;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.pill.success {
  background: rgba(25, 195, 125, 0.15);
  color: #d2ffe9;
}

.pill.warning {
  background: rgba(243, 179, 71, 0.16);
  color: #ffe2af;
}

.pill.neutral {
  background: rgba(154, 177, 198, 0.14);
  color: #dcecfb;
}

.actionGroup {
  display: grid;
  gap: 10px;
}

.emptyState {
  text-align: center;
  color: var(--muted);
}

@media (min-width: 900px) {
  .registrationSection,
  .adminPageShell {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .heroGrid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (max-width: 899px) {
  .adminHeader {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .siteShell,
  .dashboardShell,
  .adminPageShell {
    width: min(100% - 20px, 1200px);
  }

  .heroIntroCard,
  .contentCard,
  .registrationForm,
  .adminCard,
  .adminIntroCard,
  .summaryCard,
  .tableCard,
  .statusMessage {
    padding: 20px;
    border-radius: 20px;
  }

  h1 {
    font-size: 2.2rem;
  }
}
