/* ============================================================
   FirePulse — Profile Page Styles (v6 FINAL)
   Own Profile + Public View (Same Layout) + Badge + Social
   Hero Name: Real Name top, @username below (stacked)
   ============================================================ */

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

html { height: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #000000;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  padding-bottom: 62px;
  margin: 0;
  overflow-x: hidden;
}

/* ============================================================
   LOADING SKELETON
   ============================================================ */
.profile-loading {
  flex: 1 0 auto;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
}
.profile-skeleton-header {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.skeleton {
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}
.skeleton-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 12px;
}
.skeleton-line-lg { width: 60%; height: 24px; }
.skeleton-line-md { width: 40%; height: 16px; }
.skeleton-line-sm { width: 30%; height: 14px; }
.profile-skeleton-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.skeleton-card-block { height: 180px; width: 100%; }
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================================
   LOGIN REQUIRED / NOT FOUND
   ============================================================ */
.login-required {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 20px;
  flex: 1 0 auto;
}
.login-prompt { text-align: center; max-width: 400px; }
.login-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #ff0000;
  margin-bottom: 20px;
  object-fit: cover;
}
.login-prompt h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}
.login-prompt p { color: #888888; font-size: 14px; margin-bottom: 24px; }
.login-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-login, .btn-register {
  padding: 12px 32px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-login { background: #ff0000; color: #ffffff; border: none; }
.btn-login:hover { background: #cc0000; }
.btn-register {
  background: transparent;
  color: #ffffff;
  border: 1px solid #333333;
}
.btn-register:hover { border-color: #ff0000; color: #ff0000; }

/* ============================================================
   OWN PROFILE CONTAINER
   ============================================================ */
.own-profile-content {
  flex: 1 0 auto;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
}

/* ============================================================
   OWN HEADER
   ============================================================ */
.own-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #0a0a0a;
  border-bottom: 1px solid #1a1a1a;
  gap: 12px;
}

.header-setting-btn {
  background: transparent;
  border: none;
  border-radius: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}
.header-setting-btn:hover {
  transform: scale(1.08);
}
.header-setting-btn i {
  font-size: 22px;
  color: #cccccc;
  transition: color 0.3s ease;
}
.header-setting-btn:hover i { color: #ff0000; }

.header-name {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}

.header-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.header-avatar-wrap:hover { transform: scale(1.05); }
.header-avatar-wrap:active { transform: scale(0.98); }
.header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #2a2a2a;
  background: #111;
  transition: border-color 0.3s ease;
}
.header-avatar-wrap:hover .header-avatar { border-color: #ff0000; }
.header-avatar-chevron {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  background: #ff0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0a0a0a;
  z-index: 2;
}
.header-avatar-chevron i { font-size: 7px; color: #ffffff; }

.own-header-divider { height: 1px; background: #1a1a1a; }

/* ============================================================
   HERO BLOCK (Own + Public)
   ============================================================ */
.profile-hero-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 24px;
  background: #0a0a0a;
  text-align: center;
}

.public-hero-block {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.profile-hero-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ff0000;
  margin-bottom: 16px;
  background: #111;
}

/* ⭐ FIX: Name + Username stacked (column layout) */
.profile-hero-name-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
  width: 100%;
}

.profile-hero-name {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  word-break: break-word;
  letter-spacing: -0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  text-align: center;
}

.profile-hero-username {
  font-size: 13px;
  color: #888888;
  font-weight: 500;
  word-break: break-all;
  text-align: center;
  display: block;
}

.profile-hero-bio {
  font-size: 14px;
  color: #aaaaaa;
  margin: 10px 0 0;
  max-width: 520px;
  line-height: 1.7;
  word-break: break-word;
  white-space: pre-wrap;
  text-align: center;
}

/* ===== Public Hero Meta (Role + Location) ===== */
.profile-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
  margin-bottom: 4px;
}
.role-badge {
  padding: 4px 12px;
  background: rgba(255, 0, 0, 0.1);
  color: #ff0000;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.location-text {
  color: #888888;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.location-text i { font-size: 13px; color: #888888; }

/* ===== Hero Social (below bio, centered) ===== */
.profile-hero-social {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 16px;
}
.profile-hero-social .social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   OWN CARDS (Also used in Public)
   ============================================================ */
.own-section-divider { height: 1px; background: #1a1a1a; margin: 0; }

.public-section-divider {
  height: 1px;
  background: #1a1a1a;
  max-width: 800px;
  margin: 0 auto;
}

.own-card {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0;
}

.own-card-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1a1a1a;
  text-align: left;
}
.own-card-header i { color: #ff0000; font-size: 16px; }
.own-card-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: left;
  flex-wrap: wrap;
}
.roster-count-inline {
  font-size: 12px;
  color: #888888;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 8px;
}

.own-table { display: flex; flex-direction: column; }
.own-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #1a1a1a;
}
.own-row:last-child { border-bottom: none; padding-bottom: 0; }
.own-row:first-child { padding-top: 0; }

.own-cell.label {
  text-align: left;
  padding-left: 0;
  padding-right: 16px;
  border-right: 1px solid #2a2a2a;
  font-size: 13px;
  font-weight: 700;
  color: #cccccc;
  letter-spacing: 0.3px;
}
.own-cell.value {
  text-align: left;
  padding-left: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  word-break: break-word;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ===== Copy UID Button ===== */
.copy-uid-btn {
  background: #2a2a2a;
  border: none;
  border-radius: 6px;
  padding: 5px 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #aaaaaa;
  font-size: 12px;
}
.copy-uid-btn:hover { background: #ff0000; color: #ffffff; }
.copy-confirmation {
  font-size: 11px;
  color: #44ff44;
  font-weight: 600;
}

/* ===== Card Subsection ===== */
.own-card-subsection {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #1a1a1a;
}
.own-subsection-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #cccccc;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  text-align: left;
}
.own-subsection-title i { color: #ff0000; font-size: 13px; }

.team-description {
  font-size: 14px;
  color: #aaaaaa;
  line-height: 1.8;
  margin: 0;
  word-break: break-word;
  white-space: pre-wrap;
}

/* ============================================================
   SOCIAL LINKS
   ============================================================ */
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social-links.center-links {
  justify-content: center;
}
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #2a2a2a;
  background: #111111;
}
.social-btn i {
  font-size: 18px;
  color: #cccccc;
  transition: color 0.3s ease;
}
.social-btn:hover { transform: translateY(-3px); border-color: #ff0000; }
.social-btn:hover i { color: #ff0000; }

/* ============================================================
   WHATSAPP OWN ACTIONS
   ============================================================ */
.own-actions { margin: 20px 0 30px; }
.btn-whatsapp {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: #25d366;
  color: #ffffff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}
.btn-whatsapp i { font-size: 18px; }
.btn-whatsapp:hover {
  background: #1eb954;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

/* ============================================================
   INVITATION SECTION
   ============================================================ */
.invitation-section {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 16px 0;
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.invitation-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1a1a1a;
  text-align: left;
}
.invitation-header i { color: #ff0000; font-size: 18px; }
.invitation-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.invitation-count {
  color: #ff0000;
  font-weight: 700;
  font-size: 13px;
  margin-left: 4px;
}
.invitation-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.invitation-card {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.25s ease;
}
.invitation-card:hover {
  border-color: #333333;
  background: #111111;
}
.invitation-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.invitation-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #2a2a2a;
  background: #111;
  flex-shrink: 0;
}
.invitation-info { flex: 1; min-width: 0; }
.invitation-team-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 2px;
  word-break: break-word;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.invitation-team-username {
  font-size: 12px;
  color: #888888;
  margin: 0;
  word-break: break-all;
}

.btn-view-team {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  background: transparent;
  color: #ffffff;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-bottom: 14px;
}
.btn-view-team:hover {
  border-color: #00ccff;
  color: #00ccff;
}
.btn-view-team i { font-size: 11px; }

.invitation-actions {
  display: flex;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #1a1a1a;
}
.btn-invite-accept,
.btn-invite-reject {
  flex: 1;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  min-height: 42px;
}
.btn-invite-accept {
  background: #22c55e;
  color: #ffffff;
}
.btn-invite-accept:hover:not(:disabled) {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.25);
}
.btn-invite-accept:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-invite-reject {
  background: transparent;
  color: #ff4444;
  border: 1px solid rgba(255, 68, 68, 0.4);
}
.btn-invite-reject:hover:not(:disabled) {
  background: rgba(255, 68, 68, 0.1);
  border-color: #ff4444;
}
.btn-invite-reject:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================================
   ROSTER PUBLIC DISPLAY
   ============================================================ */
.roster-public-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.roster-public-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 10px;
}
.roster-public-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #2a2a2a;
  flex-shrink: 0;
  background: #111;
}
.roster-public-info { min-width: 0; }
.roster-public-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.roster-public-username {
  font-size: 11px;
  color: #888888;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-view-player {
  padding: 6px 14px;
  background: #ff0000;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
  cursor: pointer;
}
.btn-view-player:hover {
  background: #cc0000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}
.roster-public-empty {
  text-align: center;
  padding: 20px 16px;
  background: #0d0d0d;
  border: 1px dashed #2a2a2a;
  border-radius: 10px;
}
.roster-public-empty i {
  font-size: 24px;
  color: #333333;
  margin-bottom: 6px;
  display: block;
}
.roster-public-empty p {
  font-size: 12px;
  color: #666666;
  margin: 0;
}

/* ============================================================
   PUBLIC PROFILE CONTAINER
   ============================================================ */
.profile-content {
  flex: 1 0 auto;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px 20px;
  width: 100%;
}

/* ============================================================
   PUBLIC FOOTER (simple)
   ============================================================ */
.public-footer {
  text-align: center;
  padding: 24px 16px 12px;
  margin-top: 24px;
  border-top: 1px solid #1a1a1a;
}
.public-footer p {
  font-size: 12px;
  color: #555555;
  margin: 0;
}
.public-footer a {
  color: #666666;
  text-decoration: none;
  transition: color 0.2s ease;
}
.public-footer a:hover { color: #ff0000; }

/* ============================================================
   SWITCH MODAL
   ============================================================ */
.switch-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  animation: switchFade 0.25s ease;
}
.switch-modal-overlay.active { display: flex !important; }
@keyframes switchFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.switch-modal {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  animation: switchSlide 0.3s ease;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
@keyframes switchSlide {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.switch-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 16px;
  border-bottom: 1px solid #1a1a1a;
  position: sticky;
  top: 0;
  background: #0a0a0a;
  z-index: 2;
  border-radius: 20px 20px 0 0;
}
.switch-modal-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.switch-modal-close {
  background: #111111;
  border: 1px solid #2a2a2a;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888888;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.switch-modal-close:hover { color: #ff0000; border-color: #ff0000; }
.switch-modal-body { padding: 16px 16px 24px; }
.switch-modal-text {
  font-size: 12px;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  margin: 0 0 12px 6px;
}

.switch-list { display: flex; flex-direction: column; gap: 8px; }
.switch-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #111111;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.switch-item:hover {
  border-color: #333333;
  background: #161616;
}
.switch-item.is-active {
  border-color: #ff0000;
  background: rgba(255, 0, 0, 0.05);
  cursor: default;
}
.switch-item.is-active:hover { background: rgba(255, 0, 0, 0.05); }
.switch-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #2a2a2a;
  background: #111;
  flex-shrink: 0;
}
.switch-item.is-active .switch-avatar { border-color: #ff0000; }
.switch-info { min-width: 0; }
.switch-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.switch-username {
  font-size: 12px;
  color: #888888;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.switch-badge {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.switch-badge.player {
  background: rgba(255, 0, 0, 0.15);
  color: #ff0000;
  border: 1px solid rgba(255, 0, 0, 0.3);
}
.switch-badge.team {
  background: rgba(0, 200, 255, 0.15);
  color: #00ccff;
  border: 1px solid rgba(0, 200, 255, 0.3);
}
.switch-badge.current {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* ============================================================
   ACCEPT/REJECT CONFIRM MODAL
   ============================================================ */
.accept-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: switchFade 0.25s ease;
}
.accept-modal-overlay.active { display: flex !important; }
.accept-modal {
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  max-width: 400px;
  width: 100%;
  padding: 32px 24px 24px;
  text-align: center;
  animation: switchSlide 0.3s ease;
}
.accept-modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.accept-modal-icon i { font-size: 30px; color: #22c55e; }
.accept-modal-icon.danger { background: rgba(255, 68, 68, 0.1); }
.accept-modal-icon.danger i { color: #ff4444; }
.accept-modal h3 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
}
.accept-modal p {
  font-size: 14px;
  color: #aaaaaa;
  line-height: 1.7;
  margin: 0 0 20px;
}
.accept-modal-footer { display: flex; gap: 10px; }
.btn-modal-cancel,
.btn-modal-confirm,
.btn-modal-danger {
  flex: 1;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-modal-cancel {
  background: #1a1a1a;
  color: #ffffff;
  border: 1px solid #2a2a2a;
  flex: 0.6;
}
.btn-modal-cancel:hover { border-color: #444444; }
.btn-modal-confirm {
  background: #22c55e;
  color: #ffffff;
}
.btn-modal-confirm:hover:not(:disabled) {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}
.btn-modal-danger {
  background: #ef4444;
  color: #ffffff;
}
.btn-modal-danger:hover:not(:disabled) {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
}
.btn-modal-confirm:disabled,
.btn-modal-danger:disabled { opacity: 0.6; cursor: not-allowed; }

/* ============================================================
   VERIFICATION BADGE
   ============================================================ */
.verification-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
  line-height: 1;
  position: relative;
  top: -1px;
}
.verification-badge i {
  display: block;
  line-height: 1;
  color: inherit;
}
.verification-badge.verified i {
  color: #1d9bf0;
  filter: drop-shadow(0 0 3px rgba(29, 155, 240, 0.4));
}
.verification-badge.golden i {
  color: #ffc107;
  filter: drop-shadow(0 0 3px rgba(255, 193, 7, 0.5));
}

/* ============================================================
   BOTTOM NAV
   ============================================================ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background: #0a0a0a;
  border-top: 1px solid #1a1a1a;
  padding: 8px 0;
  z-index: 1000;
  height: 62px;
  box-sizing: border-box;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #666666;
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  padding: 4px 0;
  transition: all 0.2s ease;
  flex: 1;
  max-width: 80px;
  position: relative;
}
.nav-item i {
  font-size: 20px;
  margin-bottom: 4px;
}
.nav-item.active { color: #ff0000; }

.nav-badge-dot {
  position: absolute;
  top: 2px;
  right: calc(50% - 14px);
  width: 8px;
  height: 8px;
  background: #ff0000;
  border-radius: 50%;
  border: 2px solid #0a0a0a;
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.3);
  animation: badgePulse 1.5s infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  body { padding-bottom: 56px; }
  .bottom-nav { height: 56px; padding: 6px 0; }
  .nav-item span { font-size: 9px; }
  .header-name { font-size: 15px; }
  .nav-badge-dot { right: calc(50% - 12px); }
}

@media (max-width: 480px) {
  body { padding-bottom: 50px; }
  .own-profile-content { padding: 0 12px; }
  .profile-content { padding: 0 12px 16px; }

  /* Header */
  .own-header { padding: 12px; }
  .header-setting-btn { width: 40px; height: 40px; }
  .header-setting-btn i { font-size: 20px; }
  .header-avatar-wrap { width: 36px; height: 36px; }
  .header-avatar { width: 36px; height: 36px; }
  .header-avatar-chevron { width: 14px; height: 14px; }
  .header-avatar-chevron i { font-size: 6px; }
  .header-name { font-size: 14px; }

  /* Hero */
  .profile-hero-block { padding: 22px 12px 18px; }
  .profile-hero-avatar { width: 90px; height: 90px; }
  .profile-hero-name { font-size: 19px; }
  .profile-hero-username { font-size: 12px; }
  .profile-hero-bio { font-size: 13px; }
  .profile-hero-meta { gap: 10px; }
  .role-badge { font-size: 11px; padding: 3px 10px; }
  .location-text { font-size: 12px; }
  .profile-hero-social { margin-top: 14px; }
  .profile-hero-social .social-links { gap: 10px; }
  .social-btn { width: 38px; height: 38px; }
  .social-btn i { font-size: 16px; }

  /* Cards */
  .own-card { padding: 16px; margin: 12px 0; }
  .own-cell.label { font-size: 12px; padding-right: 10px; padding-left: 0; }
  .own-cell.value { font-size: 13px; padding-left: 10px; }

  /* Invitation */
  .invitation-section { padding: 14px 14px; }
  .invitation-header h3 { font-size: 13px; }
  .invitation-logo { width: 48px; height: 48px; }
  .invitation-team-name { font-size: 14px; }
  .invitation-actions { gap: 8px; }
  .btn-invite-accept,
  .btn-invite-reject { font-size: 12px; padding: 10px 12px; }

  /* Switch modal */
  .switch-modal { border-radius: 16px 16px 0 0; }
  .switch-modal-header { padding: 16px 18px 12px; border-radius: 16px 16px 0 0; }
  .switch-modal-body { padding: 14px 14px 20px; }
  .switch-avatar { width: 40px; height: 40px; }
  .switch-name { font-size: 13px; }
  .switch-username { font-size: 11px; }
  .switch-badge { font-size: 8px; padding: 3px 8px; }

  /* Accept modal */
  .accept-modal { padding: 28px 20px 20px; }
  .accept-modal-icon { width: 64px; height: 64px; }
  .accept-modal-icon i { font-size: 26px; }
  .accept-modal h3 { font-size: 18px; }
  .accept-modal-footer { flex-direction: column-reverse; }
  .btn-modal-cancel { flex: 1; }

  /* Roster */
  .roster-public-avatar { width: 36px; height: 36px; }
  .roster-public-name { font-size: 12px; }
  .btn-view-player {
    padding: 5px 10px;
    font-size: 10px;
  }

  /* Nav */
  .bottom-nav { height: 50px; padding: 4px 0; }
  .nav-item span { font-size: 8px; }
  .nav-item i { font-size: 18px; margin-bottom: 2px; }

  /* Footer */
  .public-footer { padding: 20px 12px 8px; }
  .public-footer p { font-size: 11px; }
}

@media (max-width: 360px) {
  .profile-hero-name { font-size: 17px; }
  .profile-hero-avatar { width: 80px; height: 80px; }
  .own-cell.label { font-size: 11px; }
  .own-cell.value { font-size: 12px; }
  .btn-invite-accept,
  .btn-invite-reject { font-size: 11px; padding: 9px 10px; }
}