/* === Tombola Page - NexaTel Brand (SFR + Orange) === */
@import url('/assets/css/nexatel-design.css');

/* Page shell */
.tombola-page {
  background: var(--color-dark);
  color: var(--color-white);
  font-family: var(--font-sans);
}

.tombola-container,
.page-shell,
.site-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-4);
}

/* Header */
.tmb-header,
.nx-header {
  background: rgba(26, 26, 26, 0.95);
  border-bottom: 1px solid rgba(255, 121, 0, 0.2);
  backdrop-filter: blur(8px);
}

.tmb-header-brand,
.nx-header__name {
  background: var(--gradient-button);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: var(--weight-extrabold);
}

.nx-header__label {
  color: var(--color-orange-light);
  font-weight: var(--weight-semibold);
}

/* Hero */
.nx-hero-title,
.tmb-hero-title,
#hero-title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: var(--weight-extrabold);
  background: var(--gradient-button);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: var(--leading-tight);
}

.nx-hero-sub,
.tmb-hero-sub {
  color: var(--color-gray-400);
}

/* Wheel */
.wheel-container,
.nx-wheel-wrap,
.tmb-wheel-wrap {
  position: relative;
  margin: var(--space-8) auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tmb-wheel-ring,
.nx-wheel-ring {
  border-radius: 50%;
  box-shadow: var(--shadow-xl), 0 0 40px rgba(255, 121, 0, 0.25);
}

.tmb-wheel-hub,
.nx-wheel-hub {
  background: var(--gradient-brand) !important;
  border: 4px solid var(--color-white);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.tmb-wheel-pointer,
.nx-wheel-pointer {
  border-top-color: var(--color-orange) !important;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

/* Notification box */
.notif-box,
.notif-info-details,
.participation-card,
.tmb-notif-step {
  background: var(--color-white);
  border: 2px solid var(--color-orange);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  color: var(--color-dark);
}

.notif-info-details[open],
.notif-box.enabled,
.tmb-notif-step {
  background: linear-gradient(135deg, rgba(255, 121, 0, 0.05) 0%, rgba(230, 0, 0, 0.05) 100%);
}

.participation-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 121, 0, 0.35);
  color: var(--color-white);
}

.participation-card__title {
  color: var(--color-white);
  font-weight: var(--weight-bold);
}

.participation-card__text {
  color: var(--color-gray-400);
}

.participation-badge {
  display: inline-block;
  background: var(--gradient-button);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
}

/* Primary CTA — gradient orange→red */
.btn-notif-activate,
#nx-spin-btn,
.nx-btn--gold,
.tmb-btn-play {
  background: var(--gradient-button) !important;
  color: var(--color-white) !important;
  padding: var(--space-4) var(--space-8) !important;
  font-size: var(--text-lg) !important;
  font-weight: var(--weight-bold) !important;
  border-radius: var(--radius-full) !important;
  border: none !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  box-shadow: var(--shadow-lg), 0 0 24px rgba(255, 121, 0, 0.3) !important;
  transition: all var(--duration-base) var(--ease-out);
  min-width: 280px;
  text-decoration: none;
}

.btn-notif-activate:hover,
#nx-spin-btn:hover,
.nx-btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), 0 0 32px rgba(230, 0, 0, 0.25) !important;
  filter: brightness(1.08);
}

.btn-notif-activate:disabled,
#nx-spin-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-notif-activate.success {
  background: var(--color-success) !important;
}

/* Form */
.tombola-form,
.tmb-form,
.tmb-card.tmb-participate {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  color: var(--color-dark);
}

.tmb-field label,
.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-gray-700);
  margin-bottom: var(--space-2);
}

.tmb-field input,
.form-input,
.tmb-form input[type="text"],
.tmb-form input[type="email"],
.tmb-form input[type="tel"] {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-family: var(--font-sans);
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  color: var(--color-dark);
  transition: all var(--duration-base) var(--ease-out);
}

.tmb-field input:focus,
.form-input:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: var(--shadow-glow);
}

.tmb-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  cursor: pointer;
  color: var(--color-gray-700);
  font-size: var(--text-sm);
}

.tmb-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-orange);
  margin-top: 2px;
}

#tmb-submit {
  background: var(--gradient-button) !important;
  color: var(--color-white) !important;
  width: 100%;
}

/* Prize display */
.prize-display,
.tmb-wheel-result,
.nx-result:not(.tmb-hidden) {
  background: var(--gradient-brand);
  color: var(--color-white);
  padding: var(--space-6);
  border-radius: var(--radius-2xl);
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.nx-prize-value,
.tmb-prize-value {
  color: var(--color-orange-light) !important;
  font-weight: var(--weight-bold);
}

.nx-prize-badge {
  background: var(--gradient-button);
  color: var(--color-white);
}

.nx-section-title,
.tmb-section-title {
  background: var(--gradient-button);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: var(--weight-extrabold);
}

/* Status messages */
.status-message,
.tmb-notice,
.tmb-state,
.nx-blocked-msg {
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  margin: var(--space-4) auto;
  max-width: 600px;
  font-weight: var(--weight-medium);
}

.tmb-success,
.status-message.success {
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-success);
  border-left: 4px solid var(--color-success);
}

.status-message.error,
.nx-blocked-msg {
  background: rgba(239, 68, 68, 0.12);
  color: var(--color-danger);
  border-left: 4px solid var(--color-danger);
}

/* Counter pill */
.nx-counter-dot,
.tmb-live-dot {
  background: var(--color-orange) !important;
  box-shadow: 0 0 8px var(--color-orange);
}

#tmb-notif-pill-text {
  color: var(--color-orange-light);
}

/* Footer */
.tmb-footer,
.nx-footer {
  text-align: center;
  margin-top: var(--space-12);
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(255, 121, 0, 0.2);
  color: var(--color-gray-500);
  font-size: var(--text-sm);
}

.tmb-footer a,
.nx-footer a {
  color: var(--color-orange);
  text-decoration: none;
}

.tmb-footer a:hover,
.nx-footer a:hover {
  text-decoration: underline;
}

/* Why section */
.why-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  max-width: 700px;
  margin: var(--space-6) auto;
}

.why-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 121, 0, 0.2);
}

.why-item-icon {
  font-size: var(--text-xl);
  color: var(--color-orange);
}

.why-item-text {
  font-size: var(--text-sm);
  color: var(--color-gray-400);
  font-weight: var(--weight-medium);
}

/* Overlay */
.nx-overlay__panel--card {
  border-color: rgba(255, 121, 0, 0.3) !important;
}

.nx-overlay__title {
  background: var(--gradient-button);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Mobile */
@media (max-width: 768px) {
  .tombola-container,
  .page-shell {
    padding: var(--space-4) var(--space-3);
  }

  .btn-notif-activate,
  #nx-spin-btn,
  .nx-btn--gold {
    width: 100%;
    min-width: unset;
  }

  .tombola-form,
  .tmb-form {
    padding: var(--space-5);
  }
}
