*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #000000;
  color: #ffffff;
  line-height: 1.5;
  scroll-behavior: smooth;
}

#app {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  font-size: 20px;
  line-height: 1;
  padding: 8px 12px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.scroll-hint:hover {
  color: rgba(255, 255, 255, 0.85);
  transform: translateX(-50%) translateY(3px);
}

.next-section {
  position: relative;
  min-height: 100vh;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 2rem;
}

.center-action-btn {
  width: 180px;
  height: 48px;
  border: none;
  border-radius: 10px;
  background: #ffffff;
  color: #000000;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.1s ease;
}

.center-action-btn:hover {
  background: #e5e5e5;
}

.center-action-btn:active {
  transform: scale(0.97);
}

.bottom-section {
  min-height: 100vh;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.tg-circle-wrap {
  width: min(320px, 78vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
}

.tg-circle-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
}

h1 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.kaspersky-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 392px;
  max-width: calc(100vw - 24px);
  background: #1d1e2b;
  color: #f3f4f8;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  user-select: none;
  z-index: 9999;
  cursor: grab;
  animation: k-slide-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.kaspersky-toast.is-dragging {
  cursor: grabbing;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.8);
}

@keyframes k-slide-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.k-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 8px;
}

.k-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.k-logo {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.k-brand-name {
  font-size: 13px;
  font-weight: 500;
  color: #d6d8e3;
}

.k-help-btn {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #9ea3b8;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.k-help-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.k-body {
  padding: 6px 20px 18px;
}

.k-component {
  font-size: 13.5px;
  color: #d0d3e0;
  margin-bottom: 14px;
}

.k-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.38;
  color: #ffffff;
  margin-bottom: 14px;
}

.k-desc {
  font-size: 13.5px;
  line-height: 1.45;
  color: #d2d5e2;
  margin-bottom: 14px;
}

.k-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
  font-size: 12.5px;
}

.k-detail-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px;
  align-items: baseline;
}

.k-detail-row dt {
  color: #b4b8c8;
}

.k-detail-row dd {
  color: #e4e6f0;
  word-break: break-all;
}

.k-help-panel,
.k-status-panel {
  font-size: 12.5px;
  line-height: 1.4;
  padding: 9px 11px;
  border-radius: 6px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d6d9e6;
}

.k-status-panel.is-warning {
  border-color: rgba(224, 49, 75, 0.45);
  background: rgba(224, 49, 75, 0.12);
  color: #ffd6dc;
}

.k-status-panel.is-success {
  border-color: rgba(20, 179, 144, 0.45);
  background: rgba(20, 179, 144, 0.14);
  color: #c8fff1;
}

.k-btn-primary {
  width: 100%;
  padding: 11px 16px;
  border: none;
  border-radius: 6px;
  background: #0e8d74;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
  margin-bottom: 14px;
}

.k-btn-primary:hover {
  background: #119e82;
}

.k-btn-primary:active {
  transform: translateY(1px);
}

.k-btn-link {
  display: inline-block;
  padding: 0;
  border: none;
  background: transparent;
  color: #16b893;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  margin-bottom: 8px;
  transition: color 0.15s ease;
}

.k-btn-link:hover {
  color: #28d7af;
  text-decoration: underline;
}

.k-note {
  font-size: 12.5px;
  color: #d0d3e0;
}

.k-bottom-bar {
  height: 4px;
  width: 100%;
  background: #e0314b;
}
