/* ==========================================================================
   GOLD365 Single Page Ultra-Clean Mobile App Stylesheet
   ========================================================================== */

:root {
  --primary-gold: #ffd700;
  --secondary-gold: #e6a100;
  --dark-gold: #b37d00;
  --gold-grad: linear-gradient(135deg, #fff3a8 0%, #ffd700 50%, #d49b00 100%);
  --wa-green: #25d366;
  --wa-green-dark: #128c7e;
  --wa-grad: linear-gradient(135deg, #25d366 0%, #159c46 100%);
  --bg-deep: #08090e;
  --card-bg: #11141f;
  --card-border: rgba(255, 215, 0, 0.28);
  --text-white: #ffffff;
  --text-muted: #9aa1b5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body.single-page-body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(37, 211, 102, 0.08) 0%, transparent 50%);
  color: var(--text-white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

/* Single Screen Container */
.single-card-app {
  width: 100%;
  max-width: 440px;
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 26px;
  padding: 22px 18px 18px;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.85),
    0 0 35px rgba(255, 215, 0, 0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Card Glow Effect */
.card-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 100px;
  background: radial-gradient(ellipse, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

/* Header */
.sp-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  width: 100%;
}

.sp-logo {
  height: 52px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7));
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.sp-tagline-badge {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffd700;
  letter-spacing: 0.5px;
}

/* Main Content Wrapper */
.sp-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Alert Pill */
.sp-alert-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 59, 48, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.35);
  padding: 6px 14px;
  border-radius: 30px;
}

.sp-alert-text {
  color: #ff5252;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.fire {
  font-size: 0.95rem;
  animation: pulseFire 1.5s infinite;
}

@keyframes pulseFire {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Price Box */
.sp-price-box {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(17, 20, 31, 0.9));
  border: 1.5px solid rgba(255, 215, 0, 0.4);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.08);
}

.sp-price-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.sp-price-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  line-height: 1.1;
  margin-top: 2px;
}

.sp-currency {
  font-size: 2rem;
  color: var(--primary-gold);
  font-weight: 800;
}

.sp-amount {
  font-family: 'Rajdhani', sans-serif;
  font-size: 3.6rem;
  font-weight: 900;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.4));
}

.sp-only {
  font-size: 1.1rem;
  font-weight: 900;
  color: #ffffff;
  margin-left: 6px;
  letter-spacing: 1px;
}

/* Cricket Hook */
.sp-cricket-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(255, 215, 0, 0.25);
  border-radius: 14px;
  padding: 10px 12px;
}

.sp-cricket-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.sp-cricket-title h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffd700;
}

.bat-icon, .ball-icon {
  font-size: 1.2rem;
}

.sp-cricket-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 3px;
}

/* Action Section */
.sp-action-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
}

.sp-action-heading {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.sp-action-heading span {
  animation: bounceDown 1.2s infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* Big Buttons */
.sp-btn {
  display: flex;
  align-items: center;
  padding: 13px 16px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

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

.sp-btn-wa {
  background: var(--wa-grad);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sp-btn-wa:hover {
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.sp-btn-web {
  background: linear-gradient(135deg, #181d2e 0%, #10131f 100%);
  color: #ffffff;
  border: 1.5px solid rgba(255, 215, 0, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.sp-btn-web:hover {
  border-color: #ffd700;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.25);
}

.sp-btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-right: 12px;
  flex-shrink: 0;
}

.sp-btn-wa .sp-btn-icon {
  background: rgba(255, 255, 255, 0.22);
}

.sp-btn-web .sp-btn-icon {
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
}

.sp-btn-text {
  flex-grow: 1;
  text-align: left;
}

.sp-btn-main {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.sp-btn-sub {
  display: block;
  font-size: 0.72rem;
  opacity: 0.9;
  font-weight: 500;
  color: inherit;
}

.sp-btn-arrow {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-left: 8px;
}

/* Quick Copy Bar */
.sp-copy-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.2s;
}

.sp-copy-bar:hover {
  background: rgba(255, 215, 0, 0.08);
}

.sp-copy-label {
  color: var(--text-muted);
}

.sp-copy-bar strong {
  color: #ffd700;
}

.sp-copy-badge {
  background: #202638;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.7rem;
}

/* Footer Section */
.sp-footer {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sp-support-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #38e47b;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

.pulse-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wa-green);
  box-shadow: 0 0 8px var(--wa-green);
  animation: pulseLive 1.6s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

.sp-trust-note {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
}

.sp-admin-row {
  margin-top: 4px;
}

.sp-admin-link {
  font-size: 0.68rem;
  color: #ffd700;
  opacity: 0.7;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: opacity 0.2s;
}

.sp-admin-link:hover {
  opacity: 1;
}

/* Toast */
.toast {
  visibility: hidden;
  min-width: 220px;
  background-color: #ffd700;
  color: #08090e;
  text-align: center;
  border-radius: 25px;
  padding: 10px 16px;
  position: fixed;
  z-index: 1000;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

.toast.show {
  visibility: visible;
  opacity: 1;
}

/* Small Screen Adaptation */
@media (max-height: 680px) {
  .single-card-app {
    padding: 14px 14px 12px;
    gap: 8px;
  }
  .sp-logo {
    height: 44px;
  }
  .sp-amount {
    font-size: 3rem;
  }
  .sp-btn {
    padding: 10px 14px;
  }
}
