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

:root {
  --bg-dark: #0a0f1d;
  --bg-dark-accent: #0f172a;
  --primary: #00f2fe;
  --secondary: #4facfe;
  --accent: #f43f5e;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --card-bg: rgba(30, 41, 59, 0.4);
  --border-color: rgba(255, 255, 255, 0.08);
  --success: #10b981;
  --warning: #f59e0b;
}

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

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  position: relative;
}

/* Glowing Background Blobs */
body::before, body::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary) 0%, rgba(79, 172, 254, 0.1) 70%);
  filter: blur(80px);
  z-index: -1;
  opacity: 0.5;
}

body::before {
  top: 10%;
  right: -50px;
}

body::after {
  bottom: 20%;
  left: -50px;
  background: radial-gradient(circle, var(--secondary) 0%, rgba(0, 242, 254, 0.1) 70%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  filter: brightness(1.2);
}

/* ── LAYOUT & HEADER ──────────────────────────────────────────────────────── */

header {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(10, 15, 29, 0.7);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  font-weight: 300;
  color: var(--text-primary);
  -webkit-text-fill-color: var(--text-primary);
}

.header-logo-img {
  height: 90px;
  width: auto;
  max-height: 90px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.header-logo-img:hover {
  transform: scale(1.02);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  font-weight: 500;
}

nav a:hover, nav a.active {
  color: var(--text-primary);
}

/* ── BUTTONS ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #000;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 242, 254, 0.5);
  color: #000;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-danger {
  background-color: var(--accent);
  color: white;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.5);
}

/* ── LANDING PAGE HERO ────────────────────────────────────────────────────── */

.hero {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero h1 mark {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* ── SEARCH CARD & INTERFACE ──────────────────────────────────────────────── */

.search-section {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.search-box {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 1.2rem 1.5rem 1.2rem 3.5rem;
  border-radius: 50px;
  border: 2px solid var(--border-color);
  background-color: rgba(10, 15, 29, 0.8);
  color: var(--text-primary);
  font-size: 1.1rem;
  outline: none;
  font-family: inherit;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.search-icon-inside {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 1.2rem;
}

/* Brand Filter Pills */
.brand-filters {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.brand-pill {
  padding: 0.5rem 1.2rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.brand-pill:hover, .brand-pill.active {
  background-color: var(--primary);
  color: #000;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 242, 254, 0.2);
}

/* ── DATA TABLE ──────────────────────────────────────────────────────────── */

.table-wrapper {
  margin-top: 2.5rem;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.premium-table {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(15, 23, 42, 0.6);
  text-align: left;
}

.premium-table th {
  background-color: rgba(30, 41, 59, 0.8);
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.premium-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
  vertical-align: middle;
}

.premium-table tbody tr {
  transition: all 0.2s ease;
}

.premium-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.model-name {
  font-weight: 600;
  color: var(--text-primary);
}

.compat-tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background-color: rgba(79, 172, 254, 0.1);
  color: var(--secondary);
  border-radius: 6px;
  margin: 0.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(79, 172, 254, 0.2);
}

/* VIP Badge and locks */
.vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.lock-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background-color: rgba(244, 63, 94, 0.05);
  border: 1px dashed rgba(244, 63, 94, 0.3);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.88rem;
}

.lock-btn {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  border-radius: 4px;
}

/* Loader / Empty state */
.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem;
  color: var(--text-secondary);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
}

.empty-state span {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

/* ── PRICING SECTION ──────────────────────────────────────────────────────── */

.pricing-section {
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-secondary);
}

.pricing-card {
  max-width: 400px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 2px solid var(--primary);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.15);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
}

.pricing-card.premium-glow::before {
  content: 'MAIS POPULAR';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.price-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
}

.price span.price-suffix {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.features-list {
  list-style: none;
  text-align: left;
  margin: 2.5rem 0;
}

.features-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-primary);
}

.features-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

/* ── FORMS & AUTH ────────────────────────────────────────────────────────── */

.auth-container {
  max-width: 500px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background-color: rgba(10, 15, 29, 0.6);
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

.auth-toggle {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-secondary);
}

/* ── CHECKOUT PAGE & PAYMENT WIZARD ─────────────────────────────────────── */

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.payment-tab {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.payment-tab.active {
  background-color: rgba(0, 242, 254, 0.05);
  border-color: var(--primary);
  color: var(--primary);
}

.payment-content {
  display: none;
}

.payment-content.active {
  display: block;
}

/* PIX Layout */
.pix-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding: 1rem;
}

.qr-code-box {
  background-color: white;
  padding: 1rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-code-box img {
  width: 200px;
  height: 200px;
}

.pix-key-box {
  width: 100%;
}

.copia-cola-input {
  display: flex;
  gap: 0.5rem;
}

.copia-cola-input input {
  flex: 1;
  text-overflow: ellipsis;
}

/* ── CREDIT CARD PREVIEW INTERACTIVE ──────────────────────────────────────── */

.card-preview-wrapper {
  perspective: 1000px;
  width: 100%;
  max-width: 380px;
  height: 220px;
  margin: 0 auto 2rem;
}

.credit-card-preview {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 16px;
  cursor: pointer;
}

.credit-card-preview.flipped {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-front {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.card-back {
  background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
  transform: rotateY(180deg);
  padding: 1.5rem 0;
}

.card-chip {
  width: 40px;
  height: 30px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 6px;
}

.card-number-display {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  word-spacing: 0.1em;
  margin: 1.5rem 0;
  text-align: center;
}

.card-info-row {
  display: flex;
  justify-content: space-between;
}

.card-label {
  font-size: 0.65rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.card-value {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.card-magnetic-strip {
  width: 100%;
  height: 40px;
  background-color: #000;
  margin-top: 1rem;
}

.card-signature-box {
  width: 80%;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 1.5rem auto 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 1rem;
}

.card-signature-box::before {
  content: 'SIGNATURE';
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.3);
  margin-right: auto;
  margin-left: 0.5rem;
}

.cvv-display {
  font-family: 'Outfit', sans-serif;
  font-weight: bold;
  color: #fff;
  font-style: italic;
}

/* ── ACCOUNT SETTINGS & HISTORY ──────────────────────────────────────────── */

.dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

@media (max-width: 850px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-tab {
  padding: 1rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.sidebar-tab:hover {
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
}

.sidebar-tab.active {
  background-color: rgba(0, 242, 254, 0.05);
  border-color: var(--primary);
  color: var(--primary);
}

.dashboard-content {
  display: none;
}

.dashboard-content.active {
  display: block;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge.active { background-color: rgba(16, 185, 129, 0.15); color: var(--success); }
.status-badge.inactive { background-color: rgba(148, 163, 184, 0.15); color: var(--text-secondary); }
.status-badge.overdue { background-color: rgba(245, 158, 11, 0.15); color: var(--warning); }
.status-badge.canceled { background-color: rgba(244, 63, 94, 0.15); color: var(--accent); }

/* Toast notifications */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  background-color: #0f172a;
  color: white;
  border-left: 5px solid var(--primary);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  z-index: 1000;
  display: none;
  animation: slideUp 0.3s forwards;
}

@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--accent); }

/* ── RESPONSIVENESS AND MOBILE OPTIMIZATIONS ────────────────────────────── */

@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }

  header {
    padding: 1rem 0;
  }

  .nav-container {
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
    padding: 0.4rem 1.5rem;
  }

  .logo img, .header-logo-img {
    height: 75px !important;
    max-height: 75px !important;
  }

  #auth-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    display: flex;
  }

  #auth-nav li {
    width: auto;
  }

  #auth-nav a, #auth-nav button {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem !important;
  }

  .hero {
    padding: 4rem 1.5rem 2rem 1.5rem;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero .btn {
    display: block;
    margin: 0.8rem 0 !important;
    width: 100%;
    text-align: center;
  }

  .search-section {
    padding: 1.5rem 1rem;
  }

  .glass-card {
    padding: 1.5rem 1rem;
  }

  .brand-filters {
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    gap: 0.5rem;
    padding-bottom: 0.8rem;
    margin-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .brand-pill {
    flex: 0 0 auto;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .table-wrapper {
    overflow-x: auto;
    margin-top: 1rem;
    border-radius: 8px;
  }

  .premium-table th, .premium-table td {
    padding: 0.8rem 0.6rem;
    font-size: 0.88rem;
  }

  .pricing-section {
    margin: 3rem auto;
    padding: 0 1.5rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  /* Checkout Grid */
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
    margin: 1.5rem auto;
  }

  .card-preview-col {
    display: flex;
    justify-content: center;
    order: -1; /* Mostra o cartão acima do formulário no mobile */
  }

  /* Dashboard / Admin */
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
    margin: 1.5rem auto;
  }

  .dashboard-sidebar {
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.5rem;
    gap: 0.5rem;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .sidebar-tab {
    flex: 0 0 auto;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
  }
  
  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
    text-align: center;
    padding: 0.8rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  /* Ajusta o tamanho da visualização 3D do cartão para caber em telas muito pequenas */
  .card-container {
    transform: scale(0.85);
    margin: -1.5rem 0;
  }

  .logo img, .header-logo-img {
    height: 75px !important;
    max-height: 75px !important;
  }

  .nav-container {
    gap: 0.8rem;
  }

  .premium-table th {
    font-size: 0.8rem;
  }

  .premium-table td {
    font-size: 0.82rem;
  }
  
  .lock-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .lock-btn {
    width: 100%;
    text-align: center;
  }
}

/* ── COMPATIBILITIES LOCK & BLUR STYLE ─────────────────────────────────── */
.compat-blur-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: 0.4rem 0.5rem;
  min-height: 44px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  width: 100%;
}

.compat-blur-content {
  filter: blur(2.5px);
  user-select: none;
  pointer-events: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  width: 100%;
}

.compat-blur-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 29, 0.45);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0 0.8rem;
  border-radius: 8px;
}

.compat-blur-overlay span {
  font-size: 0.85rem;
  color: #e2e8f0;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.compat-blur-btn {
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #000 !important;
  border: none;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.35);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.compat-blur-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.55);
}

@media (max-width: 600px) {
  .compat-blur-overlay {
    padding: 0.2rem;
  }
  .compat-blur-overlay span {
    display: none !important;
  }
  .compat-blur-btn {
    font-size: 0.7rem;
    padding: 0.35rem 0.6rem;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.25);
  }
}

/* ── CAUTION CARD & CANCEL BUTTON STYLE ────────────────────────────────── */
.caution-card {
  margin-top: 3rem;
  padding: 1.5rem;
  background: rgba(244, 63, 94, 0.02);
  border: 1px solid rgba(244, 63, 94, 0.15);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: 0 4px 20px rgba(244, 63, 94, 0.05);
}

.btn-danger-outline {
  background: transparent;
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fda4af;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-danger-outline:hover {
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(244, 63, 94, 0.8);
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.2);
}

/* ── THIN CUSTOM SCROLLBARS FOR BETTER RESPONSIVENESS ─────────────────── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ── PWA INSTALL BUTTON DISPLAY RULES ────────────────────────────────── */
#pwa-install-btn {
  display: none !important;
}

@media (max-width: 1024px) {
  #pwa-install-btn {
    display: inline-flex !important;
  }
}
