/* ==========================================================================
   GTA VI PRE-ORDER - DESIGN SYSTEM & GAMER STYLES (VICE CITY EDITION)
   ========================================================================== */

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

:root {
  --color-bg-dark: #07080d;
  --color-bg-surface: #10121d;
  --color-bg-card: rgba(20, 24, 38, 0.75);
  
  --color-pink: #ff007f;
  --color-pink-glow: rgba(255, 0, 127, 0.4);
  --color-cyan: #00f0ff;
  --color-cyan-glow: rgba(0, 240, 255, 0.4);
  --color-gold: #ffb700;
  --color-green: #00e676;
  
  --color-text-main: #ffffff;
  --color-text-muted: #9aa3c0;
  
  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 0, 127, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(10, 12, 20, 0.95) 0%, #07080d 100%);
  background-attachment: fixed;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Announcement Bar */
.top-bar {
  background: linear-gradient(90deg, #ff007f 0%, #7928ca 50%, #00f0ff 100%);
  color: #fff;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 2px 20px rgba(255, 0, 127, 0.4);
  position: relative;
  z-index: 100;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pulse-badge {
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-green);
  animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 10px rgba(0, 230, 118, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* Typography & Headings */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.gradient-text-vice {
  background: linear-gradient(135deg, #ffffff 20%, #ff77bc 60%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #ffe600 0%, #ffb700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons & CTAs */
.btn-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  max-width: 520px;
  padding: 18px 32px;
  background: linear-gradient(135deg, #ff007f 0%, #d8006c 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 0 30px var(--color-pink-glow), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.btn-cta:hover::before {
  left: 100%;
}

.btn-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 45px rgba(255, 0, 127, 0.75), 0 10px 25px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, #ff1a8c 0%, #e60073 100%);
}

.btn-cta:active {
  transform: translateY(0) scale(0.99);
}

.btn-cta-subtext {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--color-cyan);
}

/* Hero Section */
.hero-section {
  padding: 40px 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.logo-gta {
  max-width: 240px;
  height: auto;
  filter: drop-shadow(0 0 25px rgba(255, 0, 127, 0.5));
  animation: logo-float 4s ease-in-out infinite alternate;
}

@keyframes logo-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 0, 127, 0.15);
  border: 1px solid rgba(255, 0, 127, 0.5);
  color: #ff77bc;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.hero-price-tag {
  background: rgba(16, 18, 29, 0.9);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-left: 4px solid var(--color-cyan);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
}

.price-old {
  text-decoration: line-through;
  color: #7b849b;
  font-size: 1.1rem;
}

.price-new {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-green);
  text-shadow: 0 0 15px rgba(0, 230, 118, 0.4);
}

.hero-media {
  position: relative;
}

.hero-img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 0, 127, 0.25);
}

.hero-img-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.hero-img-card:hover img {
  transform: scale(1.03);
}

.hero-badge-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(12px);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Bonus Section */
.bonus-section {
  padding: 60px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 45px;
}

.section-subtitle {
  color: var(--color-pink);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 15px;
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.bonus-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.bonus-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-pink);
  box-shadow: 0 15px 35px rgba(255, 0, 127, 0.2);
}

.bonus-img-wrapper {
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 200px;
  margin-bottom: 18px;
}

.bonus-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bonus-title {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 8px;
}

.bonus-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  flex-grow: 1;
}

.bonus-val {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  color: var(--color-gold);
  font-size: 0.9rem;
}

/* Objections & Features Section */
.features-section {
  padding: 60px 0;
  background: rgba(16, 18, 29, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-box {
  background: rgba(10, 12, 20, 0.8);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 16px;
}

.feature-icon-svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--color-cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 10px;
  border-radius: 12px;
}

.feature-info h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 6px;
}

.feature-info p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Offer Box Section */
.offer-section {
  padding: 70px 0;
}

.offer-card {
  background: linear-gradient(145deg, rgba(20, 24, 38, 0.9) 0%, rgba(10, 11, 18, 0.95) 100%);
  border: 2px solid var(--color-pink);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 0 50px rgba(255, 0, 127, 0.3);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.offer-card::before {
  content: 'DESCONTO 50% OFF';
  position: absolute;
  top: 30px;
  right: -50px;
  background: var(--color-gold);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 900;
  padding: 6px 60px;
  transform: rotate(45deg);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.offer-img img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.stock-meter {
  margin: 20px 0;
}

.stock-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.progress-bar-bg {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 93%;
  background: linear-gradient(90deg, #ff007f, #ffb700);
  border-radius: 6px;
  transition: width 1s ease;
}

/* Footer Simples */
.simple-footer {
  padding: 30px 0;
  background: #040508;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-disclaimer {
  max-width: 700px;
  opacity: 0.7;
}

/* Modal Checkout */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 5, 10, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--color-bg-surface);
  border: 1px solid rgba(255, 0, 127, 0.4);
  box-shadow: 0 0 40px rgba(255, 0, 127, 0.3);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 0, 127, 0.5);
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(6, 8, 14, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

/* PIX QR Result Box */
.pix-result-card {
  background: rgba(10, 12, 20, 0.9);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.qr-code-img {
  width: 200px;
  height: 200px;
  background: #fff;
  padding: 10px;
  border-radius: var(--radius-sm);
  margin: 15px auto;
  display: block;
}

.copia-cola-wrapper {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.copia-cola-input {
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text-muted);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

/* Live Buyer Toast (Bottom Right) */
.buyer-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(16, 18, 28, 0.95);
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 9999;
  max-width: 360px;
  backdrop-filter: blur(10px);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.buyer-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.buyer-avatar-svg {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #ff007f, #00f0ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.buyer-info {
  display: flex;
  flex-direction: column;
}

.buyer-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.buyer-action {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.toast-close {
  background: none;
  border: none;
  color: #7b849b;
  font-size: 1rem;
  cursor: pointer;
  padding: 2px;
  margin-left: auto;
}

.toast-close:hover {
  color: #fff;
}

/* Thank You Page Specifics */
.thankyou-card {
  background: rgba(16, 18, 29, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 760px;
  margin: 60px auto;
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.15);
  backdrop-filter: blur(12px);
  text-align: center;
}

.order-badge-box {
  background: rgba(0, 240, 255, 0.1);
  border: 1px dashed var(--color-cyan);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  display: inline-block;
  color: var(--color-cyan);
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 1px;
  margin: 15px 0;
}

.info-alert-box {
  background: rgba(255, 0, 127, 0.1);
  border-left: 4px solid var(--color-pink);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
  text-align: left;
}

.info-alert-box p {
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Helper Utilities */
.hidden {
  display: none !important;
}

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* Notification Popup */
.copy-notify {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--color-green);
  color: #000;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 10000;
  display: none;
  box-shadow: 0 10px 20px rgba(0, 230, 118, 0.4);
}

.copy-notify.show {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-grid, .offer-card {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
  }

  .logo-gta {
    max-width: 180px;
  }
}
