/* style2.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&family=Oswald:wght@500;700&display=swap');

:root {
  --bg-color: #0b0c10;
  --panel-bg: rgba(25, 27, 34, 0.85);
  --primary-color: #ff9800; /* Standoff 2 Orange */
  --primary-glow: rgba(255, 152, 0, 0.4);
  --text-main: #ffffff;
  --text-muted: #8b8e99;
  --border-color: rgba(255, 255, 255, 0.1);
  --accent-purple: #8e24aa;
  --success-color: #4caf50;
  --error-color: #f44336;
  --promo-border: rgba(255, 152, 0, 0.3);
  --showcase-border: rgba(255, 152, 0, 0.5);
  --btn-grad-start: #ffb74d;
  --btn-grad-end: #f57c00;
  --btn-shadow: 0 10px 20px rgba(245, 124, 0, 0.4);
  --btn-shadow-hover: 0 15px 25px rgba(245, 124, 0, 0.6);
  --accent-grad-start: #ab47bc;
  --accent-grad-end: #6a1b9a;
  --accent-shadow: 0 10px 20px rgba(106, 27, 154, 0.4);
  --accent-shadow-hover: 0 15px 25px rgba(106, 27, 154, 0.6);

  --promo-border: rgba(255, 152, 0, 0.3);
  --showcase-border: rgba(255, 152, 0, 0.5);
  --btn-grad-start: #ffb74d;
  --btn-grad-end: #f57c00;
  --btn-shadow: 0 10px 20px rgba(245, 124, 0, 0.4);
  --btn-shadow-hover: 0 15px 25px rgba(245, 124, 0, 0.6);
  --accent-grad-start: #ab47bc;
  --accent-grad-end: #6a1b9a;
  --accent-shadow: 0 10px 20px rgba(106, 27, 154, 0.4);
  --accent-shadow-hover: 0 15px 25px rgba(106, 27, 154, 0.6);

}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

/* Background Effects */
.glow-bg-1, .glow-bg-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  opacity: 0.6;
}

.glow-bg-1 {
  background: var(--primary-color);
  top: -100px;
  left: -100px;
}

.glow-bg-2 {
  background: var(--accent-purple);
  bottom: -100px;
  right: -100px;
}

.main-container {
  width: 100%;
  max-width: 400px;
  background: var(--panel-bg);
  border-radius: 24px;
  padding: 30px 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  z-index: 1;
  position: relative;
  text-align: center;
  overflow: hidden;
}

/* Typography */
.logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
  background: linear-gradient(to right, #ffffff, #aaaaaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.promo-status {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 25px;
  padding: 6px 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  display: inline-block;
  border: 1px solid var(--promo-border);
}

.highlight-orange {
  color: var(--primary-color);
}

.received-items-title {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.title {
  font-size: 20px;
  font-weight: 800;
  margin: 20px 0 10px;
  line-height: 1.3;
}

.subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.5;
}

/* Beautiful Image Wrapper */
.showcase-container {
  margin: 0 auto 20px;
  width: 180px;
  height: 180px;
  position: relative;
  border-radius: 16px;
  border: 2px solid var(--showcase-border);
  box-shadow: 0 0 30px var(--primary-glow), inset 0 0 20px rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  animation: float 4s ease-in-out infinite;
}

/* Hexagon/Diamond pattern behind item */
.showcase-container::before {
  content: '';
  position: absolute;
  top: 10%; left: 10%; right: 10%; bottom: 10%;
  background: radial-gradient(circle, rgba(255,152,0,0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.showcase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  position: relative;
  transition: transform 0.3s ease;
}

.showcase-container:hover .showcase-image {
  transform: scale(1.05);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Buttons */
.action-btn {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--btn-grad-start) 0%, var(--btn-grad-end) 100%);
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: var(--btn-shadow);
  text-transform: uppercase;
}

.action-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover);
}

.action-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.action-btn:disabled {
  background: #333;
  color: #777;
  cursor: not-allowed;
  box-shadow: none;
}

.active-purple {
  background: linear-gradient(135deg, var(--accent-grad-start) 0%, var(--accent-grad-end) 100%);
  color: white;
  box-shadow: var(--accent-shadow);
}

.active-purple:hover:not(:disabled) {
  box-shadow: var(--accent-shadow-hover);
}

.link-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 14px;
  margin-top: 15px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.link-btn:hover {
  color: var(--text-main);
}

/* Icons */
.check-icon, .shield-icon, .warning-icon {
  display: inline-block;
  vertical-align: middle;
}

.bottom-verify-badge {
  margin-top: 25px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  line-height: 1.4;
  padding: 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
}

/* Steps */
.hidden {
  display: none !important;
}

.card-step {
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.step-header {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
}

/* Input Fields */
.phone-input-row, .password-input-row {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 25px;
  height: 56px;
}

.country-prefix {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 18px;
  font-weight: 600;
  padding-right: 15px;
  border-right: 1px solid var(--border-color);
  color: var(--text-main);
}

.input-display {
  flex-grow: 1;
  font-size: 18px;
  font-weight: 600;
  padding-left: 15px;
  text-align: left;
  color: var(--text-main);
  letter-spacing: 1px;
}

.input-display:empty::before {
  content: '(___) ___-__-__';
  color: var(--text-muted);
}

input[type="password"], input[type="text"] {
  width: 100%;
  background: transparent;
  border: none;
  color: white;
  font-size: 18px;
  font-weight: 600;
  outline: none;
  font-family: inherit;
}

#promo-input-field {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  font-size: 20px;
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--primary-glow);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#promo-input-field:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Virtual Keyboard */
.keyboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 25px;
}

.key-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 15px 0;
  font-size: 24px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.key-btn:active {
  background: rgba(255,255,255,0.15);
  transform: scale(0.95);
}

.disabled-key {
  visibility: hidden;
}

.backspace-key {
  background: rgba(244, 67, 54, 0.1);
  border-color: rgba(244, 67, 54, 0.3);
  color: #ff5252;
}

/* SMS Code Slots */
.sms-sent-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.code-slots-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 25px;
}

.code-slot {
  width: 45px;
  height: 55px;
  border-radius: 10px;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  color: white;
  transition: all 0.3s ease;
}

.code-slot.filled {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(5px);
}

.error-card {
  background: var(--panel-bg);
  border: 1px solid var(--error-color);
  border-radius: 20px;
  padding: 30px 20px;
  width: 90%;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(244, 67, 54, 0.2);
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.warning-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(244, 67, 54, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
}

.error-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.error-message {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.popup-btn {
  padding: 12px;
  font-size: 14px;
}




/* Color Schemes */

body.theme-so2-purple {
  --primary-color: #ff9800;
  --primary-glow: rgba(255, 152, 0, 0.4);
  --accent-purple: #8e24aa;
  
  --promo-border: rgba(255, 152, 0, 0.3);
  --showcase-border: rgba(255, 152, 0, 0.5);
  --btn-grad-start: #ffb74d;
  --btn-grad-end: #f57c00;
  --btn-shadow: 0 10px 20px rgba(245, 124, 0, 0.4);
  --btn-shadow-hover: 0 15px 25px rgba(245, 124, 0, 0.6);
  
  --accent-grad-start: #ab47bc;
  --accent-grad-end: #6a1b9a;
  --accent-shadow: 0 10px 20px rgba(106, 27, 154, 0.4);
  --accent-shadow-hover: 0 15px 25px rgba(106, 27, 154, 0.6);
}

body.theme-so2-dark {
  --primary-color: #f44336;
  --primary-glow: rgba(244, 67, 54, 0.4);
  --accent-purple: #1a1a2e;
  
  --promo-border: rgba(244, 67, 54, 0.3);
  --showcase-border: rgba(244, 67, 54, 0.5);
  --btn-grad-start: #e57373;
  --btn-grad-end: #d32f2f;
  --btn-shadow: 0 10px 20px rgba(211, 47, 47, 0.4);
  --btn-shadow-hover: 0 15px 25px rgba(211, 47, 47, 0.6);
  
  --accent-grad-start: #3f3f5a;
  --accent-grad-end: #1a1a2e;
  --accent-shadow: 0 10px 20px rgba(26, 26, 46, 0.4);
  --accent-shadow-hover: 0 15px 25px rgba(26, 26, 46, 0.6);
}

body.theme-so2-blue {
  --primary-color: #03a9f4;
  --primary-glow: rgba(3, 169, 244, 0.4);
  --accent-purple: #00bcd4;
  
  --promo-border: rgba(3, 169, 244, 0.3);
  --showcase-border: rgba(3, 169, 244, 0.5);
  --btn-grad-start: #4fc3f7;
  --btn-grad-end: #0288d1;
  --btn-shadow: 0 10px 20px rgba(2, 136, 209, 0.4);
  --btn-shadow-hover: 0 15px 25px rgba(2, 136, 209, 0.6);
  
  --accent-grad-start: #4dd0e1;
  --accent-grad-end: #0097a7;
  --accent-shadow: 0 10px 20px rgba(0, 151, 167, 0.4);
  --accent-shadow-hover: 0 15px 25px rgba(0, 151, 167, 0.6);
}

body.theme-so2-gold {
  --primary-color: #ffc107;
  --primary-glow: rgba(255, 193, 7, 0.4);
  --accent-purple: #ffeb3b;
  
  --promo-border: rgba(255, 193, 7, 0.3);
  --showcase-border: rgba(255, 193, 7, 0.5);
  --btn-grad-start: #ffd54f;
  --btn-grad-end: #ffa000;
  --btn-shadow: 0 10px 20px rgba(255, 160, 0, 0.4);
  --btn-shadow-hover: 0 15px 25px rgba(255, 160, 0, 0.6);
  
  --accent-grad-start: #fff59d;
  --accent-grad-end: #fbc02d;
  --accent-shadow: 0 10px 20px rgba(251, 192, 45, 0.4);
  --accent-shadow-hover: 0 15px 25px rgba(251, 192, 45, 0.6);
}
