@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Cairo:wght@400;600;700;800;900&display=swap');

:root {
  --bg-dark: #090a0f;
  --card-bg: #111318;
  --card-border: #1e2028;
  --input-bg: #14161f;
  --input-border: #242735;
  --snap-gold: #FFC700;
  --snap-gold-hover: #ffd633;
  --snap-gold-glow: rgba(255, 199, 0, 0.45);
  --snap-gold-dim: rgba(255, 199, 0, 0.12);
  --discord-blurple: #5865F2;
  --discord-hover: #4752C4;
  --text-white: #ffffff;
  --text-gray: #9ca3af;
  --text-muted: #6b7280;
  --accent-purple: #8B5CF6;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --accent-red: #ef4444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

[dir="rtl"] {
  font-family: 'Cairo', 'Inter', sans-serif;
}

.ambient-gold-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 199, 0, 0.09) 0%, rgba(255, 199, 0, 0.02) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #090a0f;
}
::-webkit-scrollbar-thumb {
  background: #1f2230;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
::-webkit-scrollbar-thumb:hover {
  background: #FFC700;
}

.snap-form-card {
  background: linear-gradient(180deg, #13151c 0%, #0e1015 100%);
  border: 1px solid #20232f;
  border-radius: 28px;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 199, 0, 0.04);
  position: relative;
  backdrop-filter: blur(20px);
}

.snap-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 199, 0, 0.35), transparent);
}

.snap-feature-pill {
  background: #151722;
  border: 1px solid #242738;
  color: #d1d5db;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.38rem 0.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.snap-feature-pill:hover {
  border-color: rgba(255, 199, 0, 0.45);
  background: #1c1f2e;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.snap-warning-box {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.03) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
  color: #fef08a;
  font-size: 0.75rem;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.snap-input-container {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.snap-input-container:hover {
  border-color: #35394d;
  background: #171924;
}

.snap-input-container:focus-within {
  border-color: #FFC700;
  box-shadow: 0 0 0 1px #FFC700, 0 0 20px rgba(255, 199, 0, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.4);
  background: #171924;
}

.snap-input-field {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  width: 100%;
}

.snap-input-field::placeholder {
  color: #4b5166;
  font-weight: 500;
}

.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 100%;
}

.custom-select-trigger {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.custom-select-trigger:hover {
  border-color: #FFC700;
  background: #171924;
  box-shadow: 0 0 0 1px rgba(255, 199, 0, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.custom-select-wrapper.open .custom-select-trigger {
  border-color: #FFC700;
  box-shadow: 0 0 0 1px #FFC700, 0 0 20px rgba(255, 199, 0, 0.25);
  background: #171924;
}

.custom-select-trigger i {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-select-wrapper.open .custom-select-trigger i {
  transform: rotate(180deg);
  color: #FFC700;
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(18, 20, 28, 0.98);
  border: 1px solid #2c3042;
  border-radius: 16px;
  box-shadow: 0 20px 45px -5px rgba(0, 0, 0, 0.95), 0 0 25px rgba(255, 199, 0, 0.12);
  padding: 8px;
  z-index: 999;
  display: none;
  flex-direction: column;
  gap: 6px;
  backdrop-filter: blur(20px);
}

.custom-select-wrapper.open .custom-select-options {
  display: flex;
  animation: dropdownPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dropdownPopIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.custom-select-option {
  padding: 0.75rem 1rem;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  color: #d1d5db;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.custom-select-option:hover {
  background: #202436;
  color: #ffffff;
  transform: translateX(3px);
  border-color: rgba(255, 255, 255, 0.06);
}

.custom-select-option.selected {
  background: linear-gradient(90deg, rgba(255, 199, 0, 0.16) 0%, rgba(255, 199, 0, 0.06) 100%);
  color: #FFC700;
  border-color: rgba(255, 199, 0, 0.35);
  box-shadow: 0 0 15px rgba(255, 199, 0, 0.1);
}

.op-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
  position: relative;
}

.op-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.4;
  filter: blur(2px);
}

.op-dot-sfr {
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.9);
}

.op-dot-bouygues {
  background: #3b82f6;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.9);
}

.op-dot-orange {
  background: #f97316;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.9);
}

.btn-snap-cta {
  background: linear-gradient(180deg, #FFD633 0%, #FFC700 100%);
  color: #000000;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.95rem 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 25px rgba(255, 199, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-snap-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(25deg);
  transition: all 0.75s ease;
}

.btn-snap-cta:hover {
  background: linear-gradient(180deg, #ffe066 0%, #ffd633 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 199, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-snap-cta:hover::after {
  left: 130%;
}

.btn-snap-cta:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 3px 12px rgba(255, 199, 0, 0.3);
}

.squircle-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(180deg, #181b26 0%, #12141c 100%);
  border: 1px solid #282c3c;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pin-input-box {
  width: 54px;
  height: 60px;
  background: #151722;
  border: 1px solid #282c3c;
  border-radius: 15px;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  font-family: monospace;
  color: #FFC700;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.pin-input-box:focus {
  border-color: #FFC700;
  box-shadow: 0 0 20px rgba(255, 199, 0, 0.35), inset 0 2px 4px rgba(0, 0, 0, 0.5);
  background: #1c1f2e;
  transform: translateY(-2px);
}

.customer-card {
  background: linear-gradient(180deg, #11131a 0%, #0d0e14 100%);
  border: 1px solid #1c1f2b;
  border-radius: 22px;
  position: relative;
  overflow: visible;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  transition: all 0.25s ease;
}

.customer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.customer-tab-btn {
  background: #151722;
  color: #9ca3af;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.6rem 1.3rem;
  border-radius: 9999px;
  border: 1px solid #242738;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.customer-tab-btn:hover {
  background: #1e2233;
  color: #ffffff;
  border-color: rgba(255, 199, 0, 0.35);
  transform: translateY(-1px);
}

.customer-tab-btn.active {
  background: linear-gradient(180deg, #FFD633 0%, #FFC700 100%);
  color: #000000;
  font-weight: 800;
  border-color: #FFC700;
  box-shadow: 0 6px 20px rgba(255, 199, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-discord-login {
  background: linear-gradient(180deg, #6370f4 0%, #5865F2 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.9rem 1.6rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 25px rgba(88, 101, 242, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-discord-login:hover {
  background: linear-gradient(180deg, #727ef6 0%, #4752C4 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.6);
}

.btn-discord-login:active {
  transform: translateY(1px);
}

.owner-priority-badge {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.25) 0%, rgba(202, 138, 4, 0.35) 100%);
  border: 1px solid rgba(234, 179, 8, 0.6);
  color: #fef08a;
  box-shadow: 0 0 15px rgba(234, 179, 8, 0.3);
  animation: goldPulse 2.2s infinite ease-in-out;
}

.oauth-verified-badge {
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.4);
  color: #8ea1e1;
  text-shadow: 0 0 10px rgba(88, 101, 242, 0.3);
}

@keyframes goldPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 199, 0, 0.25); }
  50% { box-shadow: 0 0 24px rgba(255, 199, 0, 0.55); }
}

.data-row {
  background: #13151e;
  border-radius: 13px;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #1e212f;
  transition: all 0.2s ease;
}
.data-row:hover {
  border-color: #2e3247;
  background: #161824;
}

.data-row-green {
  background: linear-gradient(90deg, #0d1e16 0%, #0b1812 100%);
  border-color: #17422b;
}
.data-row-green:hover {
  border-color: #1e5c3c;
}

.data-row-blue {
  background: linear-gradient(90deg, #0f1929 0%, #0c1320 100%);
  border-color: #1d3252;
}
.data-row-blue:hover {
  border-color: #274470;
}

.btn-copy-sm {
  background: #1c1f2d;
  border: 1px solid #2a2e42;
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.btn-copy-sm:hover {
  background: #272b3f;
  color: #ffffff;
  border-color: #454c6e;
  transform: translateY(-1px);
}

.btn-action-apple {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-action-apple:hover {
  background: linear-gradient(180deg, #60a5fa 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-action-xbox {
  background: linear-gradient(180deg, #7e22ce 0%, #581c87 100%);
  color: #f3e8ff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(126, 34, 206, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-action-xbox:hover {
  background: linear-gradient(180deg, #9333ea 0%, #6b21a8 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(126, 34, 206, 0.5);
}

.btn-action-sfr {
  background: linear-gradient(180deg, #5c2020 0%, #451a1a 100%);
  color: #fca5a5;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 13px;
  border: 1px solid rgba(239, 68, 68, 0.3);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}
.btn-action-sfr:hover {
  background: linear-gradient(180deg, #752828 0%, #5c2020 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}

.btn-action-orange {
  background: linear-gradient(180deg, #5c3520 0%, #452a1a 100%);
  color: #fdba74;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 13px;
  border: 1px solid rgba(249, 115, 22, 0.3);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
}
.btn-action-orange:hover {
  background: linear-gradient(180deg, #754228 0%, #5c3520 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
}

.btn-action-valider {
  background: linear-gradient(180deg, #059669 0%, #064e3b 100%);
  color: #a7f3d0;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 13px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.btn-action-valider:hover {
  background: linear-gradient(180deg, #10b981 0%, #047857 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5);
}

.btn-action-bad {
  background: linear-gradient(180deg, #381515 0%, #2b1111 100%);
  color: #f87171;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 13px;
  border: 1px solid rgba(239, 68, 68, 0.3);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-action-bad:hover {
  background: linear-gradient(180deg, #4d1c1c 0%, #381515 100%);
  color: #ffffff;
  transform: translateY(-2px);
  border-color: #ef4444;
}

.banner-waiting-visitor {
  background: rgba(88, 28, 135, 0.2);
  border: 1px dashed #7e22ce;
  border-radius: 13px;
  padding: 0.9rem 1.1rem;
  color: #e9d5ff;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 0 20px rgba(126, 34, 206, 0.15);
}

.banner-action-done {
  background: linear-gradient(90deg, #064e3b 0%, #047857 100%);
  border: 1px solid #10b981;
  border-radius: 13px;
  padding: 0.9rem 1.1rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.claim-lead-card {
  background: #13151e;
  border: 1px solid #232738;
  border-radius: 18px;
  padding: 1.1rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.claim-lead-card:hover {
  border-color: #FFC700;
  box-shadow: 0 6px 25px rgba(255, 199, 0, 0.15);
  transform: translateY(-2px);
}

.btn-fast-claim {
  background: linear-gradient(180deg, #FFD633 0%, #FFC700 100%);
  color: #000000;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.7rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 12px rgba(255, 199, 0, 0.35);
}

.btn-fast-claim:hover {
  background: linear-gradient(180deg, #ffe066 0%, #ffd633 100%);
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(255, 199, 0, 0.5);
}

#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

[dir="rtl"] #toast-container {
  right: auto;
  left: 24px;
}

.toast-item {
  pointer-events: auto;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards, toastOut 0.4s 4.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-15px) scale(0.9); }
}

.hidden {
  display: none !important;
}

.custom-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: modalFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.custom-modal-backdrop.hidden,
#discord-oauth-modal.hidden,
#key-activation-modal.hidden {
  display: none !important;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.custom-modal-box {
  background: linear-gradient(180deg, #151824 0%, #0e1017 100%);
  border: 1px solid #282d40;
  border-radius: 24px;
  max-width: 440px;
  width: 100%;
  padding: 1.75rem;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 199, 0, 0.08);
  position: relative;
  animation: modalZoomIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalZoomIn {
  from { opacity: 0; transform: scale(0.93) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.btn-modal-confirm {
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}
.btn-modal-confirm:hover {
  background: linear-gradient(180deg, #f87171 0%, #ef4444 100%);
  transform: translateY(-1px);
}

.btn-modal-cancel {
  background: #1c1f2e;
  color: #d1d5db;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border: 1px solid #2e3347;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-modal-cancel:hover {
  background: #252a3d;
  color: #ffffff;
}

.btn-modal-primary {
  background: linear-gradient(180deg, #FFD633 0%, #FFC700 100%);
  color: #000000;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 199, 0, 0.35);
}
.btn-modal-primary:hover {
  background: linear-gradient(180deg, #ffe066 0%, #ffd633 100%);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  
  .snap-form-card {
    border-radius: 22px;
    padding: 1.25rem 1rem !important;
  }

  .customer-card {
    border-radius: 18px;
    padding: 1.25rem 1rem !important;
  }

  .pin-input-box {
    width: 44px;
    height: 52px;
    font-size: 1.3rem;
    border-radius: 12px;
  }

  #pub-pin-container {
    gap: 0.4rem !important;
  }

  .customer-tab-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.75rem;
  }

  .btn-action-apple,
  .btn-action-xbox,
  .btn-action-sfr,
  .btn-action-orange,
  .btn-action-valider,
  .btn-action-bad {
    padding: 0.75rem 0.75rem;
    font-size: 0.75rem;
  }

  h1 { font-size: 1.6rem !important; }
  h2 { font-size: 1.3rem !important; }
  h3 { font-size: 1.1rem !important; }

  .custom-modal-box {
    padding: 1.25rem;
    border-radius: 20px;
    max-width: 95vw;
  }

  #toast-container {
    bottom: 12px;
    right: 12px;
    left: 12px;
  }
  .toast-item {
    max-width: 100% !important;
  }
}

@media (max-width: 380px) {
  
  .pin-input-box {
    width: 38px;
    height: 48px;
    font-size: 1.15rem;
  }

  .snap-feature-pill {
    font-size: 0.65rem;
    padding: 0.3rem 0.55rem;
  }
}

