.promo-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: promoFadeIn 0.2s ease-out;
}

@keyframes promoFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.promo-modal {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-body) 100%);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px var(--black-50);
  animation: promoSlideUp 0.3s ease-out;
  margin: 0 12px;
}

.promo-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--white-10);
}

.promo-modal-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}

.promo-modal-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Proxima Nova', sans-serif;
}

.promo-modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s;
}

.promo-modal-close:hover {
  color: var(--text-primary);
  background: var(--white-8);
}

.promo-modal-body {
  padding: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.promo-bonus-title {
  margin: 0 0 6px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Proxima Nova', sans-serif;
}

.promo-bonus-subtitle {
  margin: 0 0 20px 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  font-family: 'Proxima Nova', sans-serif;
}

.promo-banner {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

.promo-how,
.promo-terms {
  margin-bottom: 16px;
}

.promo-how h3,
.promo-terms h3 {
  margin: 0 0 10px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Proxima Nova', sans-serif;
}

.promo-how ol,
.promo-terms ol {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
  font-family: 'Proxima Nova', sans-serif;
}

.promo-how ol li,
.promo-terms ol li {
  margin-bottom: 4px;
}

@media (max-width: 480px) {
  .promo-modal-overlay {
    align-items: flex-start;
    padding-top: 20px;
  }

  .promo-modal {
    max-width: 100%;
    margin: 0 8px;
    max-height: calc(100vh - 40px);
  }

  .promo-modal-body {
    padding: 16px;
  }

  .promo-modal-header {
    padding: 14px 16px;
  }
}

/* PromoBanner — thin strip under header, mobile only, guests only */

.promo-banner-strip {
  display: none;
}

@media (max-width: 1023px) {
  .promo-banner-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-hover) 100%);
    padding: 0 12px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .promo-banner-content {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: 1 1;
  }

  .promo-banner-icon {
    color: var(--text-on-accent);
    flex-shrink: 0;
  }

  .promo-banner-text {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-on-accent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .promo-banner-details {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-on-accent);
    opacity: 0.8;
    white-space: nowrap;
    text-decoration: underline;
    flex-shrink: 0;
  }

  .promo-banner-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    color: var(--text-on-accent);
    opacity: 0.7;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    margin-left: 4px;
    -webkit-tap-highlight-color: transparent;
  }

  .promo-banner-close:active {
    opacity: 1;
  }
}

/* ParticipantIcon - team icons from participants database */

.participant-icon {
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 2px;
}

/* Size presets */
.participant-icon--small {
  width: 16px;
  height: 16px;
}

.participant-icon--medium {
  width: 20px;
  height: 20px;
}

.participant-icon--large {
  width: 24px;
  height: 24px;
}

/* Prevent layout shift when icon fails to load */
.participant-icon:not([src]) {
  display: none;
}

/* Visible placeholder while loading or if icon unavailable */
.participant-icon-placeholder {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  flex-shrink: 0;
}

.participant-icon-placeholder.participant-icon--small {
  width: 16px;
  height: 16px;
}

.participant-icon-placeholder.participant-icon--medium {
  width: 20px;
  height: 20px;
}

.participant-icon-placeholder.participant-icon--large {
  width: 24px;
  height: 24px;
}

/* Doubles - two icons side by side */
.participant-icon-doubles {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.participant-icon-doubles--small {
  gap: 1px;
}

.participant-icon-doubles--medium {
  gap: 2px;
}

.participant-icon-doubles--large {
  gap: 2px;
}

.participant-icon-doubles .participant-icon--second {
  margin-left: -6px;
}

.participant-icon-doubles .participant-icon-placeholder.participant-icon--second {
  margin-left: -6px;
}

/* ParticipantInfo - displays extended info for Tennis/MMA participants */

.participant-info {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 10px;
  color: #8b9199;
  color: var(--text-secondary, #8b9199);
  margin-top: 1px;
  flex-wrap: nowrap;
  line-height: 1.2;
}

/* Country flag */
.participant-info-flag {
  width: 14px;
  height: 10px;
  object-fit: cover;
  border-radius: 1px;
  flex-shrink: 0;
}

/* Rank text (WTA: 59, ATP: 105) */
.participant-info-rank {
  font-weight: 500;
  color: #f5a623;
  color: var(--accent-color, #f5a623);
  white-space: nowrap;
}

/* Separator bullet */
.participant-info-sep {
  color: #6c757d;
  color: var(--text-muted, #6c757d);
  font-size: 8px;
}

/* Birthday and age */
.participant-info-age {
  white-space: nowrap;
  color: #6c757d;
  color: var(--text-tertiary, #6c757d);
}

/* Compact mode for tight spaces */
.participant-info.compact {
  font-size: 9px;
  gap: 3px;
}

.participant-info.compact .participant-info-flag {
  width: 12px;
  height: 8px;
}

/* Light theme adjustments */
[data-theme="light"] .participant-info {
  color: #666;
}

[data-theme="light"] .participant-info-rank {
  color: #b88a00;
}

[data-theme="light"] .participant-info-age {
  color: #888;
}

/* Doubles layout - two players side by side */
.participant-info-doubles {
  flex-wrap: wrap;
}

.participant-info-player {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.participant-info-doubles-sep {
  color: #6c757d;
  color: var(--text-muted, #6c757d);
  margin: 0 2px;
}

/* Compact doubles */
.participant-info-doubles.compact .participant-info-player {
  gap: 2px;
}

/* PasswordSecurityPage.css */
.security-page {
  background: var(--bg-primary);
  padding-bottom: 80px;
}

.security-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 10;
}

.security-back {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-back svg {
  width: 24px;
  height: 24px;
}

.security-header h1 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.security-content {
  padding: 20px;
  max-width: 500px;
  margin: 0 auto;
}

.security-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}

.security-card-header {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.security-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-card-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.security-card-header h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.security-card-header p {
  font-size: 13px;
  color: var(--text-tertiary);
  margin: 0;
}

.security-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 10px;
  margin-bottom: 20px;
  color: #22c55e;
  font-size: 14px;
}

.security-success svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.security-error {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
  margin-bottom: 20px;
  color: #ef4444;
  font-size: 14px;
}

.security-error svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.security-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.security-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.security-input-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.security-input-group input {
  background: #0d0d0e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.security-input-group input:focus {
  border-color: var(--accent-green);
}

.security-input-group input::placeholder {
  color: var(--text-quaternary);
}

.security-hint {
  font-size: 12px;
  color: var(--text-quaternary);
}

.security-submit {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: 10px;
}

.security-submit:hover:not(:disabled) {
  opacity: 0.9;
}

.security-submit:active:not(:disabled) {
  transform: scale(0.98);
}

.security-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.security-info {
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.1);
  border-radius: 12px;
  padding: 20px;
}

.security-info h3 {
  font-size: 14px;
  font-weight: 600;
  color: #22c55e;
  margin: 0 0 12px;
}

.security-info ul {
  margin: 0;
  padding-left: 20px;
}

.security-info li {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.security-info li:last-child {
  margin-bottom: 0;
}

/* Mobile */
@media (max-width: 480px) {
  .security-content {
    padding: 16px;
  }

  .security-card {
    padding: 20px;
  }

  .security-card-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* PromotionsPage.css */

.pp-page {
  background-color: var(--bg-primary);
  min-height: 100vh;
  padding-bottom: 80px;
}

.pp-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--separator);
  z-index: 90;
  height: 44px;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .pp-header {
    top: 38px;
  }
}

.pp-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 6px;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .pp-back-btn:hover {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
  }
}

.pp-back-btn:active {
  background-color: var(--bg-tertiary);
}

.pp-header-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: 'Proxima Nova', sans-serif;
}

/* Container */
.pp-container {
  padding: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* Card */
.pp-card {
  background: var(--bg-secondary);
  background: var(--gradient-fixture, var(--bg-secondary));
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.pp-banner-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
}

.pp-bonus-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px;
  font-family: 'Proxima Nova', sans-serif;
}

.pp-bonus-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 16px;
  line-height: 1.4;
  font-family: 'Proxima Nova', sans-serif;
}

.pp-section {
  margin-bottom: 16px;
}

.pp-section h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
  font-family: 'Proxima Nova', sans-serif;
}

.pp-section ol {
  margin: 0;
  padding-left: 20px;
}

.pp-section li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 4px;
  font-family: 'Proxima Nova', sans-serif;
}

.pp-terms-list li {
  font-size: 12px;
}

