* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  font-family: Arial, sans-serif;
  background:
	radial-gradient(circle at top, rgba(99, 102, 241, 0.10), transparent 35%),
	#f5f7fb;
  color: #111827;
}

body {
  overflow-x: hidden;
}

.gateway-page {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.gateway-card {
  width: 100%;
  max-width: 430px;
  background: #ffffff;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  border: 1px solid #e5e7eb;
}

.gateway-card h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.intro-text {
  margin: 10px 0 18px;
  color: #7a7670;
  font-size: 13px;
  line-height: 1.6;
}

.destination-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 16px 14px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #dbdbdb;
}

.site-info {
  position: absolute;
  top: -9px;
  left: 28px;
  z-index: 2;
  padding: 0 8px;
  background: #ffffff;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
}

.destination-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  background: #e8f0fe;
}

.destination-icon img {
  width: 43px;
  height: 43px;
  object-fit: contain;
  display: block;
}

.destination-content {
  min-width: 0;
  flex: 1;
}

.small-title {
  display: block;
  max-width: 100%;
  font-size: 12px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.destination-card .dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b0aba4;
  vertical-align: middle;
  margin: 0 3px;
}

.destination-content h2 {
  margin: 4px 0 0;
  font-size: 18px;
  line-height: 1.25;
  word-break: break-word;
}

.continue-button {
  width: 100%;
  min-height: 50px;
  margin-top: 14px;
  border: 0;
  border-radius: 16px;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: #884aa7;
  color: #ffffff;
  transition: background 0.2s ease, transform 0.2s ease;
  display: block;
  text-align: center;
  text-decoration: none
}

.continue-button:not(:disabled):hover {
  transform: translateY(-1px);
}

.continue-button.disabled,
.continue-button:disabled {
  background: #c9a8d8;
  color: #ffffff;
  opacity: 1;
  cursor: not-allowed;
  transform: none;
}

.info-box {
  padding: 14px;
  border-radius: 16px;
  text-align: center;
}

.info-box p {
  margin: 0;
  color: #7a7670;
  font-size: 11px;
  line-height: 1.5;
}

.media-panel {
  width: 100%;
  height: 305px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  background: #000000;
  border-radius: 20px;
}

.media-title-bar {
  width: 100%;
  height: 40px;
  flex: 0 0 40px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  background: #333;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none
}

.media-stage {
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  color: #9ca3af;
  font-size: 14px;
  text-align: center;
}

.fake-video-player {
  padding: 0;
  position: relative;
  background:
	linear-gradient(to bottom, #303030 0%, #303030 58%, #1d1d1d 100%);
  overflow: hidden;
  user-select: none;
}

.fake-video-player::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
	radial-gradient(circle at center, rgba(255, 255, 255, 0.015), transparent 44%),
	linear-gradient(to bottom, transparent 45%, rgba(0, 0, 0, 0.42) 100%);
  pointer-events: none;
}

.fake-video-controls {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 29px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

.fake-control {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  position: relative;
  opacity: 0.72;
  cursor: pointer;
  flex: 0 0 auto;
}

.fake-control:hover {
  opacity: 1;
}

.fake-play-control::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 5px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #aeb4bb;
}

.fake-video-player.is-playing .fake-play-control::before {
  left: 5px;
  top: 4px;
  width: 4px;
  height: 14px;
  border: 0;
  background: #aeb4bb;
  box-shadow: 8px 0 0 #aeb4bb;
}

.fake-video-time {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  min-width: 38px;
  text-align: left;
}

.fake-control-spacer {
  flex: 1;
}

.fake-volume-control::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 7px;
  height: 8px;
  background: #9ca3af;
  clip-path: polygon(0 25%, 45% 25%, 100% 0, 100% 100%, 45% 75%, 0 75%);
}

.fake-volume-control::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 5px;
  width: 8px;
  height: 12px;
  border: 2px solid #9ca3af;
  border-left: 0;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 0 999px 999px 0;
}

.fake-video-player.is-muted .fake-volume-control::after {
  left: 12px;
  top: 4px;
  width: 2px;
  height: 15px;
  border: 0;
  background: #ef4444;
  transform: rotate(-38deg);
  border-radius: 999px;
}

.fake-fullscreen-control::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 14px;
  height: 14px;
  border: 2px solid #9ca3af;
  border-radius: 2px;
  opacity: 0.85;
}

.fake-menu-control::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #9ca3af;
  box-shadow: 0 6px 0 #9ca3af, 0 12px 0 #9ca3af;
}

.fake-progress-bar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 20px;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: #6b7280;
  z-index: 2;
}

.fake-progress-fill {
  width: 12%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #d1d5db;
  transition: width 0.35s linear;
}

.media-actions {
  width: 100%;
  flex: 0 0 auto;
  padding: 10px 14px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #222222;
}

.media-action-btn {
  height: 32px;
  width: 50%;
  padding: 0 21px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.media-action-outline {
  width: 50%;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.media-action-primary {
  color: #ffffff;
  background: #884aa7;
  border: 1px solid #884aa7;
}

.secure-container {
    padding: 15px 5px;
    text-align: center;
    animation: fadeInSecure 0.5s ease-out;
}

.secure-badge-wrapper {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 10px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.secure-icon-box {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #a855f7 0%, #884aa7 100%);
    color: #ffffff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(136, 74, 167, 0.4);
    z-index: 2;
    transition: transform 0.3s ease;
}

.secure-icon-box svg {
    width: 28px;
    height: 28px;
}

.pulse-ring {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(136, 74, 167, 0.15);
    border-radius: 24px;
    z-index: 1;
    animation: securePulse 2s infinite ease-in-out;
}

.secure-title-group h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.secure-title-group p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0 auto 28px;
    line-height: 1.6;
    max-width: 90%;
}

.turnstile-glass-card {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(248, 250, 252, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 24px 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 4px 12px rgba(15, 23, 42, 0.03);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.turnstile-glass-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 10px 30px rgba(136, 74, 167, 0.06);
}

.secure-container.verified .secure-icon-box {
    transform: scale(1.1);
    background: #22c55e;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

.secure-footer-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 5px;
}

@keyframes securePulse {
    0% { transform: scale(0.92); opacity: 0.5; }
    50% { transform: scale(1.06); opacity: 1; }
    100% { transform: scale(0.92); opacity: 0.5; }
}

@keyframes fadeInSecure {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.rotation-slot {
  width: 100%;
  margin: 14px 0 0;
}

.rotation-slot .rotation-item {
  display: none;
  margin: 5px 0
}

.rotation-slot .rotation-item.is-active {
  display: flex
}

.upgrade-card {
  width: 100%;
  min-height: 82px;
  margin: 0;
  padding: 14px 16px;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  border-radius: 18px;
  background: linear-gradient(199deg, #200031 0%, #5a3d69 48%, #430065 100%);
  border: 1px solid rgba(255, 215, 0, 0.28);
  color: #ffffff;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.upgrade-card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 55%;
  height: 180%;
  background: linear-gradient(
	120deg,
	transparent,
	rgba(255, 255, 255, 0.13),
	transparent
  );
  transform: rotate(18deg);
}

.upgrade-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 3px rgb(92 0 128 / 28%);
}

.upgrade-card-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.25);
  z-index: 1;
}

.upgrade-card-icon svg {
  width: 34px;
  height: 34px;
  fill: #ffd447;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}

.upgrade-card-content {
  flex: 1;
  min-width: 0;
  z-index: 1;
}

.upgrade-card-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.upgrade-card-desc {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #ffd447;
}

.upgrade-card-arrow {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  z-index: 1;
}

.upgrade-card-arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.message-card {
  width: 100%;
  min-height: 82px;
  padding: 14px 16px;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  border-radius: 18px;
  background: #055f0b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.message-card-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  background: #18c43a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.message-card-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.message-card-badge {
  position: absolute;
  top: -7px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff1744;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.message-card-content {
  min-width: 0;
  flex: 1;
}

.message-card-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

.message-card-desc {
  margin-top: 5px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  color: #ffffff;
}

.message-card-desc strong {
  font-weight: 800;
}

.footer-links {
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  border-top: 0.5px solid #dbdbdb;
  padding: 20px 0 0;
  margin-top: 18px;
}

.footer-links a {
  color: #4b5563;
  text-decoration: none;
}

@media (max-width: 480px) {
  .gateway-page {
	min-height: auto;
	align-items: flex-start;
	padding: 0px;
  }

  .gateway-card {
	max-width: 100%;
	border-radius: 0px;
	padding: 16px;
	box-shadow: 0 14px 40px rgba(15, 23, 42, 0.10);
  }

  .gateway-card h1 {
	font-size: 21px;
  }

  .intro-text {
	font-size: 13px;
	margin-bottom: 14px;
  }

  .destination-card {
	padding: 23px 14px 14px;
	gap: 12px;
	border-radius: 14px;
  }

  .site-info {
	left: 22px;
	font-size: 13px;
  }

  .destination-icon {
	width: 42px;
	height: 42px;
	min-width: 42px;
	border-radius: 14px;
  }

  .destination-icon img {
	width: 43px;
	height: 43px;
  }

  .destination-content h2 {
	font-size: 16px;
  }

  .continue-button {
	padding: 14px 16px;
	font-size: 14px;
	border-radius: 14px;
  }

  .info-box {
	padding: 13px;
  }

  .media-panel {
	height: 270px;
	border-radius: 16px;
  }

  .media-title-bar {
	height: 38px;
	flex-basis: 38px;
	padding: 0 14px;
	font-size: 13.5px;
  }

  .media-actions {
	padding: 9px 10px 11px;
	gap: 9px;
  }

  .media-action-btn {
	height: 31px;
	padding: 0 16px;
	font-size: 12.5px;
  }

  .media-action-outline {
	width: 50%;
  }

  .fake-video-controls {
	left: 14px;
	right: 14px;
	bottom: 28px;
	gap: 13px;
  }

  .fake-progress-bar {
	left: 14px;
	right: 14px;
	bottom: 20px;
  }

  .fake-video-time {
	font-size: 13.5px;
  }

  .upgrade-card,
  .message-card {
	min-height: 76px;
	border-radius: 16px;
  }

  .upgrade-card {
	padding: 13px 14px;
	gap: 12px;
  }

  .upgrade-card-icon {
	width: 48px;
	height: 48px;
	min-width: 48px;
	border-radius: 14px;
  }

  .upgrade-card-icon svg {
	width: 30px;
	height: 30px;
  }

  .upgrade-card-title {
	font-size: 15px;
  }

  .upgrade-card-desc {
	font-size: 12px;
  }

  .upgrade-card-arrow {
	width: 36px;
	height: 36px;
	min-width: 36px;
  }

  .message-card {
	padding: 13px 14px;
	gap: 12px;
  }

  .message-card-icon {
	width: 38px;
	height: 38px;
	min-width: 38px;
	border-radius: 9px;
  }

  .message-card-img {
	border-radius: 9px;
  }

  .message-card-title {
	font-size: 15px;
  }

  .message-card-desc {
	font-size: 12.5px;
  }
}

@media (max-width: 360px) {
  .gateway-card {
	padding: 14px;
	border-radius: 0px;
  }

  .gateway-card h1 {
	font-size: 19px;
  }

  .destination-card {
	align-items: flex-start;
	gap: 10px;
	padding: 22px 12px 12px;
  }

  .site-info {
	left: 20px;
	font-size: 12.5px;
  }

  .destination-icon {
	width: 40px;
	height: 40px;
	min-width: 40px;
	border-radius: 13px;
  }

  .small-title {
	font-size: 11.5px;
  }

  .destination-content h2 {
	font-size: 15px;
	margin-top: 3px;
	line-height: 1.25;
  }

  .media-panel {
	height: 260px;
  }

  .media-action-btn {
	padding: 0 13px;
  }

}