/* Global Variables & Reset */
:root {
  --bg-dark: #07090b;
  --bg-card: #0d1117;
  --text-main: #ffffff;
  --text-muted: #8b949e;
  --primary: #ff3344; /* Casino Red */
  --primary-hover: #dd2233;
  --accent-gold: #ffd700; /* Gold details */
  --success: #10b981; 
  --error: #ff3344;
  --border-color: #21262d;
  --font-stack: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-stack);
  line-height: 1.5;
  padding: 0;
  min-height: 100vh;
}

/* Page Layout */
.container {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #0c0d0f;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  padding: 16px;
  position: relative;
}

header {
  text-align: center;
  padding: 24px 0 16px;
  border-bottom: 1px solid var(--border-color);
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 30%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  background: rgba(255, 215, 0, 0.1);
  color: var(--accent-gold);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid rgba(255, 215, 0, 0.25);
  text-transform: uppercase;
}

.tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Feed Section */
.feed-section {
  background-color: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 20px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* Locked Overlay */
.lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 15, 17, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.lock-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 51, 68, 0.1);
  border: 1px solid rgba(255, 51, 68, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--primary);
}

.lock-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.lock-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 280px;
  margin-bottom: 16px;
}

/* Input Fields & Buttons */
.input-group {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 320px;
}

.key-input {
  flex: 1;
  background-color: #0d0f11;
  border: 1px solid #32383e;
  border-radius: 6px;
  padding: 8px 12px;
  color: #fff;
  font-family: var(--font-stack);
  font-weight: 600;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.key-input:focus {
  border-color: var(--primary);
}

.btn-primary {
  background-color: var(--primary);
  color: #0c0d0f;
  border: none;
  font-weight: 700;
  font-family: var(--font-stack);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.error-message {
  color: var(--error);
  font-size: 0.75rem;
  margin-top: 6px;
  font-weight: 600;
  display: none;
}

/* Predictions Feed Row */
.cards-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.pred-card {
  background-color: #0e1013;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  font-weight: 800;
  font-size: 1.1rem;
}

.pred-card.red {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
  background: linear-gradient(180deg, #15181c 0%, rgba(239, 68, 68, 0.05) 100%);
}

.pred-card.black {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  background: linear-gradient(180deg, #15181c 0%, rgba(255, 255, 255, 0.02) 100%);
}

.card-num {
  position: absolute;
  top: 4px;
  left: 6px;
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 550;
}

/* Info Panels */
.info-section {
  margin-bottom: 20px;
}

.info-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 16px;
}

.pricing-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.pricing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background-color: #0c0d0f;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.pricing-label {
  font-size: 0.9rem;
  font-weight: 600;
}

.pricing-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.momo-instructions {
  background-color: rgba(255, 51, 68, 0.03);
  border: 1px dashed rgba(255, 51, 68, 0.2);
  border-radius: 8px;
  padding: 14px;
  margin-top: 12px;
}

.momo-instructions h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.momo-instructions ol {
  padding-left: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.momo-instructions li {
  margin-bottom: 6px;
}

.momo-instructions strong {
  color: #fff;
}

/* Footer styling */
footer {
  text-align: center;
  padding: 20px 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

/* Registration / Sign Up Page styles */
.signup-overlay-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0b0e14;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.signup-card {
  background-color: #10141f;
  border: 1px solid #1a2233;
  width: 100%;
  max-width: 640px;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.signup-header {
  text-align: left;
  margin-bottom: 24px;
}

.spindict-title-glow {
  font-size: 2.2rem;
  font-weight: 850;
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.spin-red {
  color: #ff3344;
  text-shadow: 0 0 15px rgba(255, 51, 68, 0.5);
}

.dict-white {
  color: #ffffff;
}

.signup-subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  color: #a0a8b5;
}

.signup-form {
  display: flex;
  flex-direction: column;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 580px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .signup-card {
    padding: 20px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #a0a8b5;
  margin-bottom: 8px;
}

.signup-input-field {
  background-color: #0b0e14;
  border: 1px solid #232d3f;
  border-radius: 8px;
  color: #ffffff;
  padding: 12px;
  font-family: var(--font-stack);
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.signup-input-field:focus {
  border-color: #ff3344;
  box-shadow: 0 0 0 2.5px rgba(255, 51, 68, 0.25);
}

.form-subtext {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 6px;
  line-height: 1.35;
}

.signup-btn-gradient {
  background: linear-gradient(90deg, #ff3344 0%, #990011 100%);
  color: #ffffff;
  font-family: var(--font-stack);
  font-size: 1rem;
  font-weight: 800;
  height: 46px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 51, 68, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}

.signup-btn-gradient:hover {
  box-shadow: 0 6px 20px rgba(255, 51, 68, 0.45);
}

.signup-btn-gradient:active {
  transform: scale(0.98);
}

.signup-footer-link {
  text-align: left;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #a0a8b5;
}

.link-span {
  color: #ff3344;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.link-span:hover {
  text-decoration: underline;
}

/* Premium card restrictions styling */
.pred-card.premium-locked {
  background-color: rgba(21, 24, 28, 0.7) !important;
  border: 1px dashed rgba(255, 51, 68, 0.25) !important;
  color: rgba(255, 255, 255, 0.1) !important;
  cursor: not-allowed;
}

.pred-card.premium-locked::after {
  content: '🔒';
  font-size: 0.8rem;
  position: absolute;
  bottom: 4px;
  right: 6px;
}

/* Selected package highlight state */
.package-option.selected {
  border-color: #ff3344 !important;
  background-color: rgba(255, 51, 68, 0.05) !important;
}

/* Paystack Modal Overlay */
.paystack-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(13, 14, 16, 0.85);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.paystack-card {
  background-color: #ffffff;
  color: #333333;
  width: 100%;
  max-width: 360px;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
}

.paystack-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.paystack-sec {
  font-size: 0.65rem;
  color: #a0a0a0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.paystack-body {
  display: flex;
  flex-direction: column;
}

.paystack-email {
  font-size: 0.85rem;
  color: #666666;
  margin-bottom: 4px;
}

.paystack-amount {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 20px;
}

.paystack-btn {
  background-color: #3ac583; /* Paystack Green */
  color: #ffffff;
  font-weight: 700;
  height: 44px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background-color 0.2s;
  width: 100%;
}

.paystack-btn:hover {
  background-color: #2fb072;
}

.paystack-cancel {
  text-align: center;
  margin-top: 12px;
  font-size: 0.8rem;
  color: #999999;
  cursor: pointer;
}

