/* ===================================
   CSS VARIABLES - Design System (Dark Theme)
   =================================== */
:root {
  --purple-primary: #8B5CF6;
  --purple-light: #A78BFA;
  --purple-dark: #7C3AED;
  --gray-50: #0a0a0a;
  --gray-100: #171717;
  --gray-200: #262626;
  --gray-300: #404040;
  --gray-400: #525252;
  --gray-500: #737373;
  --gray-600: #a3a3a3;
  --gray-700: #d4d4d4;
  --gray-800: #e5e5e5;
  --gray-900: #f5f5f5;
  --white: #ffffff;
  --bg-dark: #0f0f0f;
  --bg-card: #1a1a1a;
}

/* ===================================
   BASE STYLES
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--gray-800);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

/* Allow text selection in input fields */
input, textarea {
  -webkit-user-select: text;
  -khtml-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

/* Prevent zoom on input focus */
input[type="text"], 
input[type="email"], 
input[type="tel"], 
input[type="password"], 
textarea, 
select {
  font-size: 16px !important;
  transform: translateZ(0);
  -webkit-appearance: none;
  border-radius: 0;
}

/* Disable text selection on buttons */
button, .subscription-button {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* ===================================
   HEADER STYLES
   =================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 1px solid var(--gray-200);
  padding: 6px 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-image {
  width: 100%;
  max-width: 150px;
  height: 100%;
  max-height: 56px;
}

.globe-icon {
  width: 24px;
  height: 24px;
  color: var(--gray-600);
  cursor: pointer;
  position: absolute;
  right: 16px;
}

/* ===================================
   MAIN CONTAINER
   =================================== */
.main-container {
  max-width: 430px;
  margin: 0 auto;
  background: var(--bg-card);
  min-height: 100vh;
  position: relative;
}

/* ===================================
   PROFILE SECTION - IMPROVED
   =================================== */
.profile-section {
  position: relative;
}

/* Cover Container with Gradient */
.cover-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 64%; /* Maintains 430x175 aspect ratio (175/430 = 0.407) */
  overflow: hidden;
}

.cover-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gradient Overlay */
.cover-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
  z-index: 2;
  pointer-events: none;
}

/* Profile Info Overlay - IMPROVED Z-INDEX */
.profile-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  color: white;
  z-index: 15; /* Higher than profile picture container (z-index: 10) */
}

.profile-name {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.profile-stats {
  display: flex;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-icon {
  width: 16px;
  height: 16px;
}

/* Profile Picture */
.profile-picture-container {
  position: absolute;
  bottom: -66px;
  left: 16px;
  z-index: 10;
}

.profile-picture {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 4px solid var(--bg-card);
  object-fit: cover;
  background: var(--gray-200);
  position: relative;
}

/* Online Status */
.online-status {
  position: absolute;
  bottom: 15px;
  right: 13px;
  width: 20px;
  height: 20px;
  background-color: #22c55e;
  border: 3px solid var(--bg-card);
  border-radius: 50%;
  z-index: 11;
}

/* Profile Details */
.profile-details {
  padding: 78px 16px 16px;
  background: var(--bg-card);
}

.profile-username {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.profile-handle {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.profile-bio {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.4;
  margin-bottom: 16px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--gray-200);
  border-radius: 16px;
  text-decoration: none;
  font-size: 13px;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.instagram-icon {
  width: 16px;
  height: 16px;
}

/* ===================================
   SUBSCRIPTION SECTION - ORIGINAL COM EFEITO PULSE
   =================================== */
.subscription-section {
  padding: 16px;
  background: var(--bg-card);
  border-top: 1px solid var(--gray-200);
}

.subscription-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.subscription-button {
  border-radius: 30px !important;
  padding: 0 25px;
  width: 100%;
  height: 60px !important;
  font-size: 18px;
  font-weight: 300;
  color: #fefefe;
  background: linear-gradient(45deg, var(--purple-light), var(--purple-primary));
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
}

.subscription-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.subscription-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.discount-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #fefefe;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
}

.subscription-price {
  font-weight: 700;
  color: #fefefe;
}

/* Promotions Expandable */
.promotions-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  cursor: pointer;
  color: var(--gray-600);
  font-size: 14px;
}

.chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.promotions-content {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.promotions-content.collapsed {
  max-height: 0;
}

.promotions-content.expanded {
  max-height: 200px;
}

/* ===================================
   TAB NAVIGATION
   =================================== */
.tab-navigation {
  display: flex;
  background: var(--bg-card);
  border-top: 1px solid var(--gray-200);
}

.tab-button {
  flex: 1;
  padding: 16px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.tab-button.active {
  color: var(--purple-primary);
  background-color: rgba(139, 92, 246, 0.1);
  border-bottom-color: var(--purple-primary);
}

/* ===================================
   CONTENT AREA
   =================================== */
.content-area {
  background: var(--bg-card);
  min-height: 300px;
}

/* Post Card */
.post-card {
  border-bottom: 1px solid var(--gray-200);
}

.post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.post-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.post-user-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
}

.post-username {
  font-size: 12px;
  color: var(--gray-500);
}

.post-menu {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: none;
  color: var(--gray-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-menu:hover {
  background: var(--gray-200);
}

/* ===================================
   POST CONTENT WITH VIDEO - NEW
   =================================== */
.post-content {
  position: relative;
  background: var(--gray-200);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background Video with Blur Effect */
.post-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  opacity: 0.7;
  z-index: 1;
}

.lock-overlay {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  z-index: 5;
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(2px);
  border-radius: 12px;
  margin: 20px;
}

.lock-icon {
  width: 48px;
  height: 48px;
  color: var(--gray-900);
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.post-stats-overlay {
  display: flex;
  gap: 16px;
  padding: 8px 16px;
  background: rgba(26, 26, 26, 0.9);
  border-radius: 20px;
  font-size: 12px;
  color: var(--gray-600);
}

.stat-overlay {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Post Actions */
.post-actions {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 16px;
}

.action-button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--gray-600);
  font-size: 13px;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}

.action-button:hover {
  background: var(--gray-200);
}

.action-button.bookmark {
  margin-left: auto;
}

.action-icon {
  width: 20px;
  height: 20px;
}

/* Media Grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-300);
}

.media-item {
  aspect-ratio: 1;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.media-lock {
  width: 32px;
  height: 32px;
  color: var(--gray-500);
}

/* ===================================
   MODAL STYLES - COMPACTO E OTIMIZADO
   =================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 10px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-card);
  border-radius: 16px;
  width: 100%;
  max-width: 380px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

/* Modal Header - Compacto */
.modal-header {
  position: relative;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--gray-300);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-600);
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  background: var(--gray-300);
  transform: scale(1.05);
}

.modal-logo-container {
  text-align: center;
  margin-bottom: 12px;
}

.modal-logo {
  height: 24px;
}

/* Creator Info - Compacto */
.modal-creator-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px;
  background: var(--gray-100);
  border-radius: 12px;
  border: 2px solid rgba(139, 92, 246, 0.2);
}

.modal-creator-avatar-container {
  flex-shrink: 0;
}

.modal-creator-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--purple-primary);
}

.modal-creator-details {
  flex: 1;
  min-width: 0;
}

.modal-creator-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1px;
  line-height: 1.2;
}

.modal-creator-handle {
  font-size: 12px;
  color: var(--gray-600);
  font-weight: 500;
  line-height: 1.2;
}

.modal-plan-info {
  background: linear-gradient(135deg, var(--purple-light), var(--purple-primary));
  color: white;
  padding: 12px 14px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.plan-savings {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  margin-top: 4px;
  display: inline-block;
}

/* Step Indicator - Compacto */
.step-indicator {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 8px;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  transition: all 0.3s ease;
}

.step-dot.active {
  background: var(--purple-primary);
  transform: scale(1.3);
}

.step-dot.completed {
  background: #22c55e;
}

/* Progress Bar - Compacto */
.progress-container {
  margin: 8px 0 12px;
  padding: 0 16px;
}

.progress-label {
  font-size: 10px;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 4px;
  font-weight: 600;
}

.progress-bar {
  width: 100%;
  height: 3px;
  background: var(--gray-300);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple-primary), var(--purple-light));
  border-radius: 2px;
  transition: width 0.6s ease;
}

/* Modal Body - Compacto */
.modal-body {
  padding: 12px 16px 16px;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 4px;
}

.step-subtitle {
  font-size: 12px;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 12px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-300);
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: var(--gray-100);
  font-weight: 500;
  color: var(--gray-900);
}

.form-input:focus {
  outline: none;
  border-color: var(--purple-primary);
  background: var(--gray-200);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
  transform: translateY(-1px);
}

.form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input::placeholder {
  color: var(--gray-500);
  font-weight: 400;
}

.form-error {
  color: #ef4444;
  font-size: 10px;
  margin-top: 3px;
  display: none;
  font-weight: 500;
}

.form-error.show {
  display: block;
}

/* Trust Indicators - Compacto */
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 12px 0;
  padding: 8px;
  background: var(--gray-100);
  border-radius: 10px;
  border: 1px solid var(--gray-300);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: var(--gray-600);
  font-weight: 600;
}

.trust-icon {
  width: 12px;
  height: 12px;
  color: #22c55e;
}

/* Security Badge - Compacto */
.security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 12px;
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  margin: 10px 0;
  font-size: 10px;
  color: #22c55e;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

.security-icon {
  width: 14px;
  height: 14px;
  color: #22c55e;
  flex-shrink: 0;
}

/* Price Comparison - Compacto */
.price-comparison {
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  padding: 10px;
  margin: 12px 0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  font-size: 12px;
}

.price-row:last-child {
  margin-bottom: 0;
  padding-top: 4px;
  border-top: 1px solid rgba(34, 197, 94, 0.3);
  font-weight: 700;
  font-size: 13px;
}

.price-label {
  color: #22c55e;
}

.price-value {
  color: #22c55e;
  font-weight: 600;
}

/* Urgency Indicator - Compacto */
.urgency-indicator {
  background: rgba(255, 243, 205, 0.1);
  border: 2px solid rgba(255, 234, 167, 0.2);
  border-radius: 10px;
  padding: 8px 10px;
  margin: 10px 0;
  text-align: center;
}

.urgency-text {
  color: #fbbf24;
  font-weight: 600;
  font-size: 11px;
  line-height: 1.3;
}

.urgency-timer {
  color: #f59e0b;
  font-weight: 700;
  font-size: 12px;
}

/* Button Styles - Compacto */
.modal-payment-button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-primary));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  position: relative;
  overflow: hidden;
}

.modal-payment-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.modal-payment-button:active {
  transform: translateY(0);
}

.modal-payment-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.button-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.modal-payment-button:hover .button-shimmer {
  left: 100%;
}

.modal-info-text {
  font-size: 10px;
  color: var(--gray-600);
  text-align: center;
  margin-top: 8px;
  line-height: 1.3;
}

/* Payment Step Styles */
.payment-step {
  display: none;
  padding: 16px 20px 20px;
}

.payment-step.active {
  display: block;
}

.payment-header {
  text-align: center;
  margin-bottom: 20px;
}

.payment-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.payment-subtitle {
  font-size: 13px;
  color: var(--gray-600);
}

.qr-code-container {
  text-align: center;
  margin-bottom: 20px;
}

.qr-code-image {
  width: 180px;
  height: 180px;
  margin: 0 auto 12px;
  border: 2px solid var(--gray-300);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.copy-code-container {
  background: var(--gray-100);
  border: 2px solid var(--gray-300);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
}

.copy-code-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.copy-code-content {
  display: flex;
  gap: 8px;
}

.copy-code-text {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 10px;
  font-size: 11px;
  font-family: monospace;
  color: var(--gray-700);
  word-break: break-all;
  line-height: 1.3;
}

.copy-button {
  background: var(--purple-primary);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.copy-button:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
}

.payment-status {
  text-align: center;
  padding: 16px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 14px;
  margin-bottom: 12px;
  border: 2px solid rgba(139, 92, 246, 0.1);
}

.status-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  color: var(--purple-primary);
}

.status-text {
  font-size: 13px;
  color: var(--purple-primary);
  font-weight: 600;
}

.loading-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--purple-primary);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s ease-in-out infinite;
  margin-left: 6px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success Step */
.success-step {
  text-align: center;
  padding: 24px 20px;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  color: #22c55e;
}

.success-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.success-subtitle {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.4;
}

.success-button {
  background: #22c55e;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.success-button:hover {
  background: #16a34a;
  transform: translateY(-1px);
}

/* ===================================
   COOKIE CONSENT
   =================================== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--gray-200);
  padding: 16px;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
  z-index: 1000;
}

.cookie-content {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-text {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.4;
}

.cookie-button {
  align-self: center;
  padding: 10px 24px;
  background: var(--purple-primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(139, 92, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  padding: 12px 16px;
  border-radius: 12px;
  margin: 16px 0;
  font-size: 14px;
  display: none;
  font-weight: 500;
}

.error-message.show {
  display: block;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.fade-in {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================================
   RESPONSIVE DESIGN - OTIMIZADO
   =================================== */
@media (max-width: 480px) {
  .modal-overlay {
    padding: 8px;
  }
  
  .modal-content {
    max-height: 92vh;
    border-radius: 14px;
    max-width: 360px;
  }
  
  .modal-header {
    padding: 14px 14px 10px;
  }
  
  .modal-body {
    padding: 10px 14px 14px;
  }
  
  .modal-creator-info {
    padding: 10px;
    gap: 8px;
  }
  
  .modal-creator-avatar {
    width: 46px;
    height: 46px;
  }
  
  .modal-creator-name {
    font-size: 14px;
  }
  
  .trust-indicators {
    gap: 10px;
    padding: 6px;
  }
  
  .form-input {
    padding: 10px 12px;
  }
  
  .modal-payment-button {
    padding: 12px;
    font-size: 13px;
  }
  
  .qr-code-image {
    width: 160px;
    height: 160px;
  }
  
  .step-title {
    font-size: 15px;
  }
  
  .progress-container {
    padding: 0 14px;
  }
}

@media (max-width: 375px) {
  .modal-overlay {
    padding: 6px;
  }
  
  .modal-content {
    border-radius: 12px;
    max-width: 340px;
  }
  
  .modal-creator-info {
    padding: 8px;
    gap: 6px;
  }
  
  .modal-creator-avatar {
    width: 42px;
    height: 42px;
  }
  
  .trust-indicators {
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .qr-code-image {
    width: 140px;
    height: 140px;
  }
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  
  .cookie-button {
    align-self: auto;
    flex-shrink: 0;
  }

  .modal-content {
    max-width: 400px;
  }

  .modal-creator-info {
    padding: 14px;
  }

  .modal-creator-avatar {
    width: 54px;
    height: 54px;
  }

  .modal-creator-name {
    font-size: 16px;
  }
}