/* --------------------------------------------------------------------------
   Pro Mode & Pro Modal
   -------------------------------------------------------------------------- */
.btn-pro-badge {
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.btn-pro-badge:not(.is-pro) {
  color: var(--graphite-medium);
  border-color: var(--paper-border-focus);
  background: rgba(0, 0, 0, 0.03);
}

.btn-pro-badge:not(.is-pro) .pro-status-icon {
  opacity: 0.55;
  transition: opacity 0.15s ease;
}

.btn-pro-badge:not(.is-pro):hover {
  background: #ffffff;
  color: #ea580c;
  border-color: #ea580c;
  transform: translateY(-1px);
}

.btn-pro-badge:not(.is-pro):hover .pro-status-icon {
  opacity: 1;
}

.btn-pro-badge.is-pro {
  color: #047857;
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(209, 250, 229, 0.7);
  font-weight: 700;
}

.btn-pro-badge.is-pro:hover {
  background: #ffffff;
  border-color: #10b981;
  color: #059669;
  transform: translateY(-1px);
}

.pro-card {
  max-width: 490px;
  max-height: 90vh;
  overflow-y: auto;
}

.pro-card .reverb-header {
  position: relative;
  justify-content: center;
}

.pro-header-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pro-card .reverb-header .modal-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.pro-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.pro-hero-section {
  text-align: center;
  padding: 8px 0 14px 0;
  border-bottom: 1px solid var(--paper-border);
}

.pro-headline {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--graphite-dark);
  margin: 4px 0 6px 0;
}

.pro-headline-sub {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--graphite-medium);
  margin-top: 3px;
}

.pro-founders-banner {
  background: rgba(254, 243, 199, 0.55);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin: 12px 0 10px 0;
  text-align: center;
}

.pro-founders-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b45309;
  margin-bottom: 4px;
}

.pro-founders-text {
  font-size: 0.81rem;
  line-height: 1.45;
  color: #451a03;
  margin: 0;
}

.pro-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.pro-original-price {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--graphite-light);
  text-decoration: line-through;
  opacity: 0.7;
}

.pro-price-tag {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 800;
  color: #ea580c;
}

.pro-discount-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  background: #ea580c;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.pro-price-sub {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--graphite-medium);
}

.pro-headline {
  cursor: pointer;
  user-select: none;
  transition: transform 0.12s ease, color 0.2s ease, text-shadow 0.2s ease;
}

.pro-headline:active,
.pro-headline.pro-headline-click {
  transform: scale(0.97);
}

.pro-headline.pro-headline-activated {
  animation: proEasterEggShine 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  color: #ea580c !important;
  text-shadow: 0 0 16px rgba(234, 88, 12, 0.45);
}

@keyframes proEasterEggShine {
  0% { transform: scale(1); filter: brightness(1); }
  25% { transform: scale(1.05); filter: brightness(1.3); }
  50% { transform: scale(0.98); filter: brightness(1.15); }
  75% { transform: scale(1.02); filter: brightness(1.05); }
  100% { transform: scale(1); filter: brightness(1); }
}

.pro-features-grid {
  display: flex;
  flex-direction: column;
  margin: 14px 0;
  background: var(--paper-panel);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-md);
  padding: 6px 14px;
}

.pro-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 10px 0;
}

.pro-feature-item:not(:last-child) {
  border-bottom: 1px solid var(--paper-border) !important;
}

.pro-feature-icon {
  font-size: 1.15rem;
  line-height: 1.2;
}

.pro-feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pro-feature-text strong {
  font-size: 0.82rem;
  color: var(--graphite-dark);
}

.pro-feature-text span {
  font-size: 0.74rem;
  color: var(--graphite-medium);
  line-height: 1.35;
}

.pro-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding-top: 6px;
}

.btn-pro-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
  width: 100%;
  height: 42px;
  font-size: 0.92rem;
  font-weight: 600 !important;
  background: #ea580c !important;
  color: #ffffff !important;
  border-radius: var(--radius-pill);
  border: 1px solid #ea580c !important;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
  transition: all 0.15s ease;
}

.btn-pro-action:hover {
  background: #c2410c !important;
  border-color: #c2410c !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45) !important;
  transform: translateY(-1px);
}

.btn-pro-action:active {
  background: #9a3412 !important;
  border-color: #9a3412 !important;
  color: #ffffff !important;
  transform: translateY(0);
}

.pro-license-section {
  width: 100%;
  margin: 6px 0 8px 0;
  text-align: center;
}

.btn-toggle-license {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(234, 88, 12, 0.08);
  border: 1px solid rgba(234, 88, 12, 0.25);
  border-radius: var(--radius-pill);
  color: #ea580c;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-main);
  text-decoration: none;
  cursor: pointer;
  padding: 8px 18px;
  transition: all 0.18s ease;
}

.btn-toggle-license:hover {
  background: rgba(234, 88, 12, 0.18);
  border-color: #ea580c;
  color: #ea580c;
  transform: translateY(-1px);
}

.pro-demo-toggle-row.pro-demo-revealed {
  animation: proDemoSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes proDemoSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pro-license-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  width: 100%;
}

.pro-license-input {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 6px 10px;
  border: 1px solid var(--paper-border-focus);
  border-radius: 6px;
  background: #ffffff;
  color: var(--graphite-dark);
  flex: 1;
  max-width: 250px;
  outline: none;
  transition: border-color 0.15s ease;
}

.pro-license-input:focus {
  border-color: #ea580c;
}

.btn-activate-license {
  background: #ea580c;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.btn-activate-license:hover {
  opacity: 0.9;
}

.pro-demo-toggle-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pro-demo-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--graphite-medium);
  cursor: pointer;
}

.pro-demo-label input[type="checkbox"] {
  cursor: pointer;
}

/* Pro Ad Unlock Button */
.pro-ad-unlock-wrap {
  margin: 6px 0 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.btn-unlock-pro-ad {
  background: transparent;
  border: 1px dashed var(--pencil-green, #3f7e58);
  color: var(--pencil-green, #3f7e58);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn-unlock-pro-ad:hover {
  background: rgba(63, 126, 88, 0.12);
  border-color: #2e6042;
  transform: translateY(-1px);
}

[data-theme="dark"] .btn-unlock-pro-ad {
  border-color: #4ade80;
  color: #4ade80;
}

[data-theme="dark"] .btn-unlock-pro-ad:hover {
  background: rgba(74, 222, 128, 0.15);
}

.pro-ad-timer-status {
  font-size: 0.74rem;
  font-family: var(--font-mono, monospace);
  color: var(--pencil-gold, #c78932);
  font-weight: 600;
}

/* Rewarded Ad Card & Visual Simulator */
.ad-card {
  max-width: 380px !important;
  text-align: center;
}

.ad-badge {
  background: rgba(199, 137, 50, 0.2);
  color: var(--pencil-gold, #c78932);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 8px;
  letter-spacing: 0.5px;
}

.ad-content-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
}

.ad-video-mock {
  background: linear-gradient(135deg, #1f1d1a 0%, #2e2822 100%);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

.ad-video-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #bbb;
}

.ad-visual-showcase {
  padding: 12px 0;
}

.ad-showcase-icon {
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.ad-visual-showcase h4 {
  margin: 0 0 4px 0;
  font-size: 1.1rem;
  color: #f5f0eb;
}

.ad-visual-showcase p {
  margin: 0;
  font-size: 0.78rem;
  color: #aaa;
}

.ad-progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 14px;
}

.ad-progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--pencil-green, #4ade80);
  transition: width 0.25s linear;
}

.btn-claim-reward {
  width: 100%;
  padding: 10px 16px;
}

/* Without Founders the Mute all / Select row only appears to show the Align button. */
body:not(.is-pro-active) #header-pro-row > :not(#btn-align-tracks) {
  display: none !important;
}
