@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --bg-page: #191b20;       /* Roblox dark background */
  --bg-container: #23252b;  /* Roblox panel dark theme background */
  --bg-hero-blue: #0084dd;  /* Roblox link/primary action blue */
  --bg-hero-dark: #1b1d22;  /* Roblox dark background block */
  --text-white: #ffffff;
  --text-muted: #b9c3cc;    /* Roblox sub-text/description color */
  --text-light-blue: #00a2ff;
  --bg-input: #e3e7eb;      /* Light gray input text-field background */
  --text-input: #1b1f26;    /* Dark gray input text */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-btn: 0 2px 8px rgba(0, 132, 221, 0.2);
  --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.5);
  --border-radius: 8px;
}

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

html, body {
  min-height: 100vh;
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-white);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

/* Page Shell (Roblox Panel Container) */
.page-shell {
  width: 100%;
  max-width: 460px;
  min-height: 100vh;
  background-color: var(--bg-container);
  border-left: 1px solid #2f323d;
  border-right: 1px solid #2f323d;
  padding: 24px 24px 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-card);
  position: relative;
}

/* Responsive Floating Card Device style */
@media (min-width: 480px) {
  .page-shell {
    min-height: auto;
    border-radius: 4px; /* Roblox uses subtle, blockier border radii */
    margin: 30px 0;
    border: 1px solid #2f323d;
  }
}

/* Hero Panel (Card with diagonal gradient and Roblox logo watermark) */
.hero {
  width: 100%;
  border-radius: 4px;
  background: linear-gradient(
    108deg, 
    var(--bg-hero-blue) 0% 51.5%, 
    #009cff 51.6%, 
    var(--bg-hero-dark) 51.9% 100%
  );
  padding: 34px 20px;
  border-left: 6px solid var(--bg-hero-blue);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

/* Watermark logo representing Roblox Tilt logo inside dark section */
.hero-watermark {
  position: absolute;
  right: -20px;
  top: -20px;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.015);
  border: 4px solid rgba(255, 255, 255, 0.02);
  border-radius: 24px;
  transform: rotate(-12deg);
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hero-watermark-inner {
  width: 40px;
  height: 40px;
  background: var(--bg-hero-dark);
  border-radius: 8px;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.hero .hero-lead {
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--text-muted);
  font-weight: 500;
}

.hero .hero-note {
  font-size: 0.88rem;
  line-height: 1.4;
  color: #a2b4c4;
  font-weight: 500;
}

/* Primary Action Button (Roblox Style Pill shape) */
.verify-action {
  width: 100%;
  margin: 8px 0 30px;
}

.btn-primary {
  width: 100%;
  padding: 14px 24px;
  background-color: var(--bg-hero-blue);
  border: none;
  border-radius: 999px; /* Rounded pill style from screenshot */
  color: var(--text-white);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background-color: #0095ff;
}

.btn-primary:active {
  transform: scale(0.99);
}

.btn-primary:disabled {
  cursor: wait;
  opacity: 0.82;
}

/* Divider Title */
.divider-title {
  font-size: 0.95rem;
  color: var(--text-white);
  font-weight: 600;
  text-align: center;
  margin-bottom: 18px;
  line-height: 1.4;
  padding: 0 4px;
}

/* Search Form and Input field styling with integrated magnifying glass */
.search-form {
  width: 100%;
  margin-bottom: 20px;
}

.input-container {
  width: 100%;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #727a82;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 14px 20px 14px 44px; /* Space for search magnifying glass */
  background-color: var(--bg-input);
  border: 1px solid #c3c7cc;
  border-radius: 4px;
  color: var(--text-input);
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.search-input::placeholder {
  color: #727a82;
  font-weight: 400;
}

.search-input:focus {
  background-color: #ffffff;
  border-color: var(--bg-hero-blue);
  box-shadow: 0 0 0 1px var(--bg-hero-blue);
}

/* Highlight the magnifying glass color when focusing input */
.search-input:focus + .search-icon {
  color: var(--bg-hero-blue);
}

/* Status message output styling */
.status-area {
  width: 100%;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 24px;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.status-area.error {
  color: #ff5560;
  font-weight: 600;
}

.status-area.success {
  color: #10b981; /* Green success color for trust */
  font-weight: 600;
}

/* Verification progress generator */
.verification-generator {
  width: 100%;
  display: none;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 22px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(0, 132, 221, 0.12), rgba(0, 132, 221, 0.02)),
    #1d2026;
  border: 1px solid #323a45;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  animation: fadeIn 0.25s ease forwards;
}

.verification-generator.active {
  display: flex;
}

.generator-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.generator-badge {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(0, 132, 221, 0.18);
  color: #66c4ff;
  box-shadow: inset 0 0 0 1px rgba(102, 196, 255, 0.22);
}

.generator-header strong {
  display: block;
  color: var(--text-white);
  font-size: 0.96rem;
  line-height: 1.25;
}

.generator-header p {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.generator-progress {
  width: 100%;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #14161b;
  box-shadow: inset 0 0 0 1px #30343c;
}

.generator-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bg-hero-blue), #56c6ff);
  transition: width 0.25s ease;
}

.generator-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #8e99a5;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Verification Box */
.verification-box {
  width: 100%;
  background-color: #1e2026;
  border: 1px solid #32353e;
  border-radius: 4px;
  padding: 20px;
  margin-top: 20px;
  display: none;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.3s ease forwards;
}

.verification-box.active {
  display: flex;
}

.verification-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
}

.verification-box p {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.code-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #15161a;
  border: 1px solid #32353e;
  border-radius: 4px;
  padding: 10px 14px;
}

.code-value {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 1px;
}

.copy-btn {
  background: var(--bg-hero-blue);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.copy-btn:hover {
  background-color: #0095ff;
}

.verify-confirm-btn {
  margin-top: 6px;
  border-radius: 4px; /* Square buttons inside Roblox sections */
}

/* Official Security Footer */
.secure-footer {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #2f323d;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.secure-footer-line {
  display: flex;
  align-items: center;
  color: #727a82;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.secure-footer p {
  font-size: 0.72rem;
  line-height: 1.45;
  color: #616970;
  max-width: 380px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Clean scrollbars */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-page);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

/* ─── iOS POPUP ───────────────────────────────── */
.ios-popup {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ios-popup-background {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
}

.ios-popup-content {
  position: relative;
  z-index: 1;
  background: var(--bg-container);
  border: 1px solid #32353e;
  border-radius: 8px;
  width: min(92vw, 420px);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.ios-instruction-gif {
  width: 100%;
  border-radius: 4px;
  border: 1px solid #32353e;
}

.ios-instruction-text h3 {
  font-family: var(--font-sans);
  color: var(--text-white);
  margin: 14px 0 8px;
  font-size: 1.35rem;
  font-weight: 700;
}

.ios-instruction-text p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Success Box Styling */
.success-box {
  width: 100%;
  background-color: #1e2026;
  border: 1px solid #32353e;
  border-radius: 4px;
  padding: 30px 20px;
  margin-top: 20px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.3s ease forwards;
  text-align: center;
}

.success-box.active {
  display: flex;
}

.success-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  display: grid;
  place-items: center;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
  margin-bottom: 8px;
}

.success-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
}

.success-description {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 320px;
}

.success-description strong {
  color: var(--text-white);
}

.success-meta {
  width: 100%;
  background: #15161a;
  border: 1px solid #32353e;
  border-radius: 4px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-around;
  gap: 10px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
}

.meta-item span {
  color: #727a82;
}

.meta-item strong {
  color: var(--text-white);
}

.meta-item .text-success {
  color: #10b981;
}

.success-btn {
  margin-top: 10px;
  border-radius: 4px;
  background-color: #10b981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.success-btn:hover {
  background-color: #059669;
}


