/* ============================================================
   FUN SOCCER LUMAJANG — OFFICIAL BIO LINK DESIGN SYSTEM
   Theme: Crimson Athletic Dark (Generous Sizing · Full Mobile Fill)
   ============================================================ */

:root {
  /* Color Palette */
  --bg-deep: #07090c;
  --bg-pitch: #0c1015;
  --surface-card: rgba(18, 23, 30, 0.85);
  --surface-card-hover: rgba(26, 33, 44, 0.95);
  --surface-border: rgba(255, 255, 255, 0.09);
  --surface-border-hover: rgba(217, 4, 41, 0.4);

  /* Athletic Brand Colors */
  --crimson: #d90429;
  --crimson-vibrant: #ef233c;
  --crimson-glow: rgba(217, 4, 41, 0.35);
  --crimson-soft: rgba(217, 4, 41, 0.12);

  /* WhatsApp Green */
  --wa-green: #25D366;
  --wa-glow: rgba(37, 211, 102, 0.35);
  --wa-soft: rgba(37, 211, 102, 0.12);

  /* Typography Colors */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Dimensions */
  --container-max-w: 430px;
  --border-radius-card: 16px;
  --border-radius-pill: 999px;

  /* Font Families */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Transitions */
  --trans-spring: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  --trans-smooth: all 0.2s ease;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  height: 100%;
}

body {
  min-height: 100%;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.45;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 6px 16px 24px;
  position: relative;
  background-color: #080a0e;
}

/* Ambient Visual Effects (Disabled to remove gradients) */
.ambient-glow {
  display: none;
}

/* Pitch Line Texture Grid */
.stadium-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: 30px 30px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

/* Main Container Frame */
.bio-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ------------------------------------------------------------
   Top Bar
   ------------------------------------------------------------ */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 4px 0;
}

.est-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  padding: 3px 9px;
  border-radius: var(--border-radius-pill);
}

.icon-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--surface-border);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--trans-spring);
  backdrop-filter: blur(10px);
}

.icon-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px) scale(1.05);
}

.icon-btn:active {
  transform: scale(0.95);
}

/* ------------------------------------------------------------
   Profile Section (Bold & Large)
   ------------------------------------------------------------ */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 2px;
}

.avatar-wrapper {
  position: relative;
  width: 98px;
  height: 98px;
  margin-bottom: 12px;
}

.avatar-ring {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.avatar-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  padding: 2px;
  border: 3px solid var(--bg-deep);
  box-shadow: inset 0 0 10px rgba(0,0,0,0.15);
}

.status-indicator {
  position: absolute;
  bottom: 2px;
  right: 4px;
  z-index: 3;
  width: 18px;
  height: 18px;
  background: #0f141c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-deep);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 0 8px #25D366;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { transform: scale(0.9); opacity: 0.85; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px #25D366; }
}

.profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.title-with-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.community-name {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 155, 240, 0.15);
  border-radius: 50%;
  padding: 2px;
  border: 1px solid rgba(29, 155, 240, 0.4);
}

.tagline {
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 500;
  max-width: 330px;
  line-height: 1.4;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 3px;
}

.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  padding: 4px 11px;
  border-radius: var(--border-radius-pill);
}

.highlight-pill {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.25);
  color: #38ef7d;
}

.live-dot {
  width: 5px;
  height: 5px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 0 5px #25D366;
}

/* ------------------------------------------------------------
   Main Action Link Cards (Fuller & Comfortable)
   ------------------------------------------------------------ */
.links-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--border-radius-card);
  padding: 13px 16px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  outline: none;
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition: var(--trans-spring);
  width: 100%;
  text-align: left;
  overflow: hidden;
}

/* Subtle Left Accent Bar (🔴 Crimson Kuda Semeru) */
.link-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3.5px;
  background: var(--crimson-vibrant);
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  opacity: 0;
  transform: scaleY(0.4);
  transition: var(--trans-spring);
}

.link-card:hover {
  transform: translateY(-2px);
  background: var(--surface-card-hover);
  border-color: rgba(239, 35, 60, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(239, 35, 60, 0.12);
}

.link-card:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.link-card:active {
  transform: scale(0.98);
}

/* Card Icons — Unified Dark Slate Capsule (Menghilangkan Warna-Warni Tabrakan) */
.card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f1f5f9;
  transition: var(--trans-spring);
}

.link-card:hover .card-icon {
  background: rgba(239, 35, 60, 0.14);
  border-color: var(--crimson-vibrant);
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(239, 35, 60, 0.25);
}

/* Card Content Typography */
.card-content {
  flex: 1;
  min-width: 0;
}

.card-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  line-height: 1.25;
}

.card-desc {
  font-size: 0.77rem;
  color: var(--text-secondary);
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans-spring);
}

.link-card:hover .card-arrow {
  color: var(--crimson-vibrant);
  transform: translateX(4px);
}

/* ------------------------------------------------------------
   Auto-Sliding Sponsors Section (Enlarged Card-Scale Marquee)
   ------------------------------------------------------------ */
.sponsors-section {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--border-radius-card);
  padding: 12px 14px 14px;
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.sponsors-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 2px;
}

.sponsors-title {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.sponsors-cta {
  font-size: 0.63rem;
  font-weight: 700;
  color: #f8fafc;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: var(--trans-smooth);
}

.sponsors-cta:hover {
  background: var(--crimson-vibrant);
  border-color: var(--crimson-vibrant);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 35, 60, 0.35);
}

.sponsors-marquee-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 2px 0;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.sponsors-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: slideMarquee 20s linear infinite;
}

.sponsors-track:hover {
  animation-play-state: paused;
}

@keyframes slideMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.sponsor-item {
  flex-shrink: 0;
}

.sponsor-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px 14px;
  min-height: 48px;
  min-width: 120px;
  transition: var(--trans-spring);
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.sponsor-pill:hover {
  border-color: rgba(37, 211, 102, 0.5);
  background: rgba(37, 211, 102, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Image Sponsor Styling Support (Generous display) */
.sponsor-item img,
.sponsor-pill img {
  max-height: 36px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  filter: none;
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sponsor-pill:hover img,
.sponsor-item:hover img {
  opacity: 1;
  transform: scale(1.06);
}

/* ------------------------------------------------------------
   Socials Section (Comfortable Horizontal Grid)
   ------------------------------------------------------------ */
.socials-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
}

.socials-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.socials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  width: 100%;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 9px 8px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--trans-spring);
  backdrop-filter: blur(10px);
}

.social-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.social-btn:active {
  transform: scale(0.96);
}

.social-btn:nth-child(1):hover {
  color: #ff3e72;
  border-color: rgba(255, 62, 114, 0.4);
}

.social-btn:nth-child(2):hover {
  color: #00f2fe;
  border-color: rgba(0, 242, 254, 0.4);
}

.social-btn:nth-child(3):hover {
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.4);
}

.social-name {
  font-size: 0.74rem;
  font-weight: 600;
}

/* ------------------------------------------------------------
   Footer (Minimal)
   ------------------------------------------------------------ */
.footer-section {
  text-align: center;
  padding: 4px 0 0;
}

.copyright {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.sub-footer {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ------------------------------------------------------------
   Modal Dialog (Bottom-Sheet for Mobile)
   ------------------------------------------------------------ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-sheet {
  background: #11151c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  width: 100%;
  max-width: var(--container-max-w);
  padding: 14px 18px 28px;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.32, 1.25, 0.6, 1);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.65);
}

.modal-backdrop.is-active .modal-sheet {
  transform: translateY(0);
}

.sheet-drag-handle {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: 0 auto 12px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.modal-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--crimson-vibrant);
  margin-bottom: 2px;
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
}

.close-modal-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-secondary);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--trans-spring);
}

.close-modal-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  transform: rotate(90deg);
}

/* ------------------------------------------------------------
   Schedule & Photo Modal Components
   ------------------------------------------------------------ */
.schedule-modal-badge {
  color: #06b6d4 !important;
}

/* Tab Switcher Navigation */
.modal-tab-nav {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 14px;
  gap: 4px;
}

.tab-pill {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 9px;
  cursor: pointer;
  transition: var(--trans-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.tab-pill:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.tab-pill.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.tab-panel {
  display: none;
  animation: fadeInTab 0.2s ease-in-out;
}

.tab-panel.active {
  display: block;
}

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

/* Scrollable modal body for multiple schedules/photos */
.modal-scrollable {
  max-height: 65vh;
  overflow-y: auto;
  padding-right: 2px;
  -webkit-overflow-scrolling: touch;
}

.modal-scrollable::-webkit-scrollbar {
  width: 4px;
}

.modal-scrollable::-webkit-scrollbar-track {
  background: transparent;
}

.modal-scrollable::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

/* Schedule Card */
.schedule-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 11px;
  transition: var(--trans-spring);
}

.schedule-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.schedule-tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #06b6d4;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 2.5px 8px;
  border-radius: 6px;
}

.schedule-time-badge {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2.5px 8px;
  border-radius: 6px;
}

.schedule-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.schedule-date {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0;
}

.schedule-detail-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.schedule-detail-row svg {
  flex-shrink: 0;
  color: #06b6d4;
}

.schedule-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  line-height: 1.35;
}

.schedule-btn-wrap {
  margin-top: 9px;
  display: flex;
  align-items: center;
}

.schedule-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.32);
  border-radius: 8px;
  color: #25D366;
  font-size: 0.73rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--trans-spring);
}

.schedule-wa-btn:hover {
  background: #25D366;
  color: #080a0e;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transform: translateY(-1px);
}

/* Photo Album Card */
.photo-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  transition: var(--trans-spring);
}

.photo-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(6, 182, 212, 0.35);
}

.photo-info {
  flex: 1;
  min-width: 0;
}

.photo-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.photo-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.photo-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.photo-btn-open {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(6, 182, 212, 0.18);
  border: 1px solid rgba(6, 182, 212, 0.4);
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--trans-smooth);
}

.photo-btn-open:hover {
  background: #06b6d4;
  color: #080a0e;
}

.photo-btn-copy {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--trans-smooth);
}

.photo-btn-copy:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

/* Loading & Empty States */
.loading-state, .empty-state {
  text-align: center;
  padding: 26px 16px;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.spinner-dot {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: #06b6d4;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Shortcut Admin Link to Google Spreadsheet */
.sheet-admin-link-wrap {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  text-align: center;
}

.sheet-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: var(--trans-smooth);
}

.sheet-admin-link:hover {
  color: #06b6d4;
  border-color: rgba(6, 182, 212, 0.35);
  background: rgba(6, 182, 212, 0.1);
  transform: translateY(-1px);
}

.modal-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.4;
}

.collab-options {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.collab-item {
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  padding: 13px;
  text-decoration: none;
  color: inherit;
  transition: var(--trans-spring);
}

.collab-item:hover,
.collab-item:focus {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateX(3px);
}

.collab-item:active {
  transform: scale(0.98);
}

.collab-item-icon {
  font-size: 1.3rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.collab-item-text {
  flex: 1;
  min-width: 0;
}

.collab-item-text strong {
  display: block;
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1px;
}

.collab-item-text span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.collab-arrow {
  color: var(--text-muted);
  font-weight: 700;
  transition: var(--trans-spring);
}

.collab-item:hover .collab-arrow {
  color: #fbbf24;
  transform: translateX(3px);
}

.collab-modal-badge {
  color: #fbbf24 !important;
}

/* ------------------------------------------------------------
   Toast Notification
   ------------------------------------------------------------ */
.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f131a;
  border: 1px solid rgba(37, 211, 102, 0.6);
  color: #ffffff;
  padding: 11px 22px;
  border-radius: var(--border-radius-pill);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(16px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.toast-notification.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast-icon {
  width: 20px;
  height: 20px;
  background: #25D366;
  color: #07090c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.72rem;
}

/* Desktop Centering enhancement */
@media (min-width: 600px) {
  body {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .modal-sheet {
    border-radius: 20px;
    margin-bottom: auto;
    margin-top: auto;
    align-self: center;
  }
}
