/* ─── android.css ─────────────────────────────────────────────
   Styles for /android coming soon page.
   All variables come from legal.bundle.css (included first).
   ──────────────────────────────────────────────────────────── */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes widget-float {
  0%, 100% { transform: translateY(0) scale(1);     box-shadow: 0 6px 20px rgba(233, 30, 140, 0.55); }
  50%       { transform: translateY(-10px) scale(1.06); box-shadow: 0 16px 36px rgba(233, 30, 140, 0.8); }
}

@keyframes phone-glow {
  0%, 100% { box-shadow: 0 24px 64px rgba(233, 30, 140, 0.2), 0 4px 16px rgba(0,0,0,0.15); }
  50%       { box-shadow: 0 28px 72px rgba(168, 85, 247, 0.3), 0 4px 16px rgba(0,0,0,0.15); }
}

@keyframes blob-drift {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50%       { transform: translateY(-8px) scale(1.08); opacity: 0.7; }
}

/* ─── Page wrapper ─────────────────────────────────────────── */
.android-main {
  padding-top: 32px;
  padding-bottom: 80px;
}

/* ─── Hero ─────────────────────────────────────────────────── */
.android-hero {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 56px;
  animation: fade-up 0.55s 0.05s ease both;
}

.android-hero-content {
  flex: 1;
  min-width: 0;
}

.android-coming-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--pink);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  margin-bottom: 18px;
}

.android-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 10px;
}

.android-hero-sub {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 14px;
}

.android-hero-desc {
  font-size: 0.95rem;
  color: var(--text-sec);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 28px;
}

.android-hero-desc em {
  font-style: normal;
  font-weight: 700;
  color: var(--text);
}

/* ─── Notify button (Discord) ─────────────────────────────── */
.android-notify-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: #5865F2;
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(88, 101, 242, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.android-notify-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(88, 101, 242, 0.6);
}

.android-discord-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ─── Hero visual (phone + calc panel) ───────────────────── */
.android-hero-visual {
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ─── CSS Phone mockup ────────────────────────────────────── */
.android-phone {
  width: 170px;
  height: 330px;
  background: #e8e0ef;
  border: 5px solid #e8e0ef;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  animation: phone-glow 4s ease-in-out infinite;
  flex-shrink: 0;
}

.android-phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 14px;
  background: #e8e0ef;
  border-radius: 0 0 10px 10px;
  z-index: 3;
}

.android-phone-screen {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, #100f1e 0%, #1c1240 55%, #0d1726 100%);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 16px;
}

/* Colourful game blobs to suggest Roblox is running */
.android-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.android-blob-1 {
  width: 64px;
  height: 64px;
  top: 38px;
  left: 18px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, transparent 70%);
  animation: blob-drift 3.5s ease-in-out infinite;
}

.android-blob-2 {
  width: 48px;
  height: 48px;
  top: 80px;
  right: 22px;
  background: radial-gradient(circle, rgba(233, 30, 140, 0.25) 0%, transparent 70%);
  animation: blob-drift 2.8s 0.6s ease-in-out infinite;
}

.android-blob-3 {
  width: 36px;
  height: 36px;
  top: 150px;
  left: 40px;
  background: radial-gradient(circle, rgba(46, 204, 143, 0.25) 0%, transparent 70%);
  animation: blob-drift 4s 1.2s ease-in-out infinite;
}

/* Subtle "game UI" bar at top of phone screen */
.android-game-bar {
  position: absolute;
  top: 22px;
  left: 12px;
  right: 12px;
  height: 8px;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
}

/* The floating widget button */
.android-widget-fab {
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  background: var(--pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: widget-float 3s ease-in-out infinite;
  flex-shrink: 0;
}

.android-widget-fab img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.android-phone-home-bar {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  z-index: 4;
}

/* ─── Calculator panel preview ─────────────────────────────── */
.android-calc-panel {
  width: 148px;
  background: var(--bg-panel);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px var(--shadow-lg);
  flex-shrink: 0;
  animation: fade-up 0.55s 0.3s ease both;
}

.android-calc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  background: var(--pink-soft);
}

.android-calc-close {
  font-size: 0.7rem;
  color: var(--text-muted);
  cursor: pointer;
}

.android-calc-sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin: 0;
}

.android-calc-side {
  background: var(--bg-panel);
  padding: 10px 8px;
}

.android-calc-side-label {
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.android-calc-add {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--pink);
  background: var(--pink-pale);
  border: 1px dashed var(--rose);
  border-radius: 8px;
  padding: 7px 4px;
  text-align: center;
  cursor: pointer;
}

.android-calc-verdict {
  padding: 10px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--positive);
  border-top: 1px solid var(--border);
  background: rgba(46, 204, 143, 0.06);
}

/* ─── Widget spotlight ─────────────────────────────────────── */
.android-spotlight {
  max-width: 720px;
  margin: 0 auto 56px;
  padding: 40px 32px;
  background: linear-gradient(135deg, var(--bg-panel) 0%, var(--pink-soft) 100%);
  border: 1.5px solid var(--rose);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fade-up 0.55s 0.1s ease both;
}

.android-spotlight::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(233, 30, 140, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.android-spotlight-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pink);
  background: var(--pink-soft);
  border: 1px solid var(--rose);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  margin-bottom: 14px;
}

.android-spotlight h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.2;
}

.android-spotlight p {
  font-size: 0.92rem;
  color: var(--text-sec);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 20px;
}

.android-spotlight-chips {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.android-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-sec);
  background: var(--bg-panel);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
}

.android-chip i { color: var(--pink); }

/* ─── Features grid ───────────────────────────────────────── */
.android-features {
  max-width: 960px;
  margin: 0 auto 56px;
  padding: 0 24px;
  animation: fade-up 0.55s 0.15s ease both;
}

.android-features-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--text);
  text-align: center;
  margin-bottom: 28px;
}

.android-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.android-feature {
  background: var(--bg-panel);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.android-feature:hover {
  box-shadow: 0 8px 28px var(--shadow-lg);
  transform: translateY(-2px);
}

.android-feature:nth-child(1) { border-top: 3px solid var(--pink); }
.android-feature:nth-child(2) { border-top: 3px solid var(--amvgg); }
.android-feature:nth-child(3) { border-top: 3px solid var(--positive); }
.android-feature:nth-child(4) { border-top: 3px solid var(--pink-mid); }

.android-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--pink-soft);
  border: 1.5px solid var(--rose);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--pink);
  margin-bottom: 14px;
}

.android-feature:nth-child(2) .android-feature-icon { background: var(--amvgg-soft); border-color: var(--amvgg-border); color: var(--amvgg); }
.android-feature:nth-child(3) .android-feature-icon { background: rgba(46,204,143,0.1); border-color: rgba(46,204,143,0.25); color: var(--positive); }
.android-feature:nth-child(4) .android-feature-icon { background: var(--pink-soft); border-color: var(--rose); color: var(--pink-mid); }

.android-feature h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  margin: 0 0 8px;
}

.android-feature p {
  font-size: 0.88rem;
  color: var(--text-sec);
  line-height: 1.6;
  margin: 0;
}

/* ─── Bottom CTA section ──────────────────────────────────── */
.android-cta-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  animation: fade-up 0.55s 0.2s ease both;
}

.android-cta-inner {
  background: var(--bg-panel);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 4px 24px var(--shadow);
}

.android-cta-inner h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text);
  margin: 0 0 10px;
}

.android-cta-inner p {
  font-size: 0.92rem;
  color: var(--text-sec);
  line-height: 1.6;
  margin: 0 0 22px;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 799px) {
  .android-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 36px;
  }
  .android-hero-content { text-align: center; }
  .android-hero-desc    { margin-left: auto; margin-right: auto; }
  .android-hero-visual  { justify-content: center; }
}

@media (max-width: 599px) {
  .android-features-grid { grid-template-columns: 1fr; }
  .android-spotlight      { padding: 28px 18px; }
  .android-calc-panel     { display: none; }
  .android-cta-inner      { padding: 28px 18px; }
}
