/**
 * Florent Stroppa - Shared Styles
 * Common CSS used across multiple pages
 */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');

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

/* CSS Variables */
:root {
  --header-height: 72px;
  --accent: #FFFFFF;
  --accent-dim: rgba(255, 255, 255, 0.6);
  --bg: #000;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.1);

  /* Terminal colors */
  --terminal-bg: #0a0a0a;
  --terminal-green: #4ade80;
  --terminal-cyan: #22d3ee;
  --terminal-yellow: #facc15;
  --terminal-magenta: #e879f9;

  /* C64 colors */
  --c64-blue: #40318D;
  --c64-light-blue: #7B71D5;
  --c64-cyan: #6ABFC6;
  --c64-white: #FFFFFF;
  --c64-black: #000000;
  --c64-red: #883932;
  --c64-green: #55A049;
  --c64-yellow: #BFCE72;
  --c64-dark-grey: #505050;
  --c64-purple: #9F4E85;
}

/* Base Typography */
body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: #fff;
  min-height: 100vh;
}

/* ============================================
   HEADER & NAVIGATION (Shared across all pages)
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.15) 100%);
}

/* Header layout groups */
.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Header navigation links (CC and ME) */
.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-nav-link {
  position: relative;
  color: var(--accent-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.header-nav-link:hover,
.header-nav-link.active {
  color: var(--accent);
}

/* Tooltip for header nav links */
.header-nav-link::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 200;
}

.header-nav-link:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Logo with dropdown */
.logo-container {
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.logo:hover {
  background: rgba(255, 255, 255, 0.1);
}

.logo-icon {
  height: 24px;
  width: 24px;
  object-fit: contain;
}

/* Logo dropdown menu */
.logo-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 300;
}

.logo-container:hover .logo-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.logo-dropdown a {
  display: block;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: background 0.15s ease, color 0.15s ease;
}

.logo-dropdown a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.logo-dropdown a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.logo-dropdown .dropdown-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 8px 0;
}

/* Year Navigation - in header */
.year-nav {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.year-tab {
  padding: 0 12px;
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--accent-dim);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  text-decoration: none;
}

.year-tab:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

.year-tab.active {
  color: var(--accent);
}

/* Active indicator - white segment ON TOP of separator line */
.year-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.2s ease;
  z-index: 10;
}

.year-tab.active::after {
  width: 24px;
}

/* Custom tooltip for year tabs */
.year-tab[title]::before {
  content: attr(title);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 200;
}

.year-tab:hover[title]::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Mobile year navigation arrows */
.year-nav-mobile {
  display: none;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.year-nav-arrow {
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  color: var(--accent-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.2s;
  text-decoration: none;
}

.year-nav-arrow:hover {
  color: var(--accent);
}

.year-nav-arrow svg {
  width: 16px;
  height: 16px;
}

.year-nav-current {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  min-width: 24px;
  text-align: center;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--accent);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  position: relative;
  text-decoration: none;
}

.header-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.header-btn.audio-on {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
}

/* Styled tooltips for header buttons */
.header-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  transform: translateY(-4px);
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 200;
}

.header-btn:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   COMMON COMPONENTS
   ============================================ */

/* Section Title */
.section-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* Skill Tags */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

/* Link Cards */
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--accent);
  transition: all 0.2s;
}

.link-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.link-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-icon svg {
  width: 20px;
  height: 20px;
}

.link-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.link-info span {
  font-size: 12px;
  color: var(--accent-dim);
}

/* Contact Button */
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* ============================================
   PHOTO & MEDIA
   ============================================ */

.photo-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.photo-wrapper img,
.photo-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
  text-align: center;
  padding: 40px;
}

.photo-placeholder svg {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  opacity: 0.3;
}

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   CONTENT & TYPOGRAPHY
   ============================================ */

.section {
  margin-bottom: 60px;
}

.intro {
  margin-bottom: 60px;
}

.intro h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.intro .tagline {
  font-size: 20px;
  color: var(--accent-dim);
  font-weight: 400;
  line-height: 1.6;
}

.bio {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.bio p {
  margin-bottom: 20px;
}

/* ============================================
   EXPERIENCE
   ============================================ */

.experience-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.experience-item:last-child {
  border-bottom: none;
}

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

.experience-title {
  font-size: 18px;
  font-weight: 600;
}

.experience-date {
  font-size: 14px;
  color: var(--accent-dim);
  white-space: nowrap;
  margin-left: 20px;
}

.experience-company {
  font-size: 14px;
  color: var(--accent-dim);
  margin-bottom: 12px;
}

.experience-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   CANVAS OVERLAYS (for tunnel, elevated, etc.)
   ============================================ */

.overlay {
  position: fixed;
  z-index: 100;
  pointer-events: none;
}

.overlay.top-left {
  top: 30px;
  left: 30px;
}

.overlay.top-right {
  top: 30px;
  right: 30px;
  text-align: right;
}

.overlay.bottom-center {
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.overlay .title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.overlay .subtitle {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
}

.overlay .credits {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 8px;
}

.back-link {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  pointer-events: auto;
  transition: color 0.2s;
}

.back-link:hover {
  color: #fff;
}

.controls {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.controls kbd {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin: 0 2px;
}

/* ============================================
   LOADING SCREEN
   ============================================ */

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  transition: opacity 0.5s;
}

.loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 4px;
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast {
  position: fixed;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 12px 24px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  z-index: 400;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

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

.toast.success {
  border-color: rgba(74, 222, 128, 0.3);
}

.toast.error {
  border-color: rgba(239, 68, 68, 0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .header {
    padding: 0 20px;
  }

  .header::after {
    left: 20px;
    right: 20px;
  }

  .nav {
    gap: 20px;
  }

  .links-grid {
    grid-template-columns: 1fr;
  }

  .intro h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0 16px;
  }

  .header::after {
    left: 16px;
    right: 16px;
  }

  .header-left {
    gap: 12px;
  }

  /* Hide full year nav, show mobile version */
  .year-nav {
    display: none;
  }

  .year-nav-mobile {
    display: flex;
  }

  .header-right {
    gap: 16px;
  }

  .header-nav {
    gap: 16px;
  }

  .header-nav-link {
    font-size: 13px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-btn {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 640px) {
  .header {
    height: 60px;
  }

  .logo {
    font-size: 12px;
  }

  .nav {
    gap: 16px;
  }

  .nav a {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0 12px;
    height: 56px;
  }

  .header::after {
    left: 12px;
    right: 12px;
  }

  .header-left {
    gap: 8px;
    flex-shrink: 0;
  }

  .logo-icon {
    height: 22px;
    width: 22px;
  }

  .year-nav-current {
    font-size: 13px;
  }

  .year-nav-arrow {
    width: 24px;
    height: 24px;
  }

  .year-nav-arrow svg {
    width: 14px;
    height: 14px;
  }

  .header-right {
    gap: 8px;
    justify-content: flex-end;
    overflow: visible;
  }

  .header-nav {
    gap: 12px;
  }

  .header-nav-link {
    font-size: 12px;
  }

  .header-actions {
    gap: 4px;
    flex-wrap: nowrap;
  }

  .header-btn {
    width: 26px;
    height: 26px;
    font-size: 10px;
    flex-shrink: 0;
  }

  .header-btn svg {
    width: 12px;
    height: 12px;
  }

  /* Hide tooltip on mobile - they don't work well with touch */
  .header-btn::after {
    display: none;
  }
}

/* Very small screens - show only essential icons */
@media (max-width: 400px) {
  /* Hide share and audio on small screens */
  .header-actions .header-btn[data-tooltip="Share"],
  .header-actions .header-btn[data-tooltip="Audio"],
  .header-actions #share-btn,
  .header-actions #audio-toggle {
    display: none !important;
  }

  .header-actions {
    gap: 6px;
  }

  .header-btn {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 360px) {
  .header-actions {
    gap: 2px;
  }

  .header-btn {
    width: 26px;
    height: 26px;
    font-size: 10px;
  }

  .header-btn svg {
    width: 12px;
    height: 12px;
  }
}

/* ==========================================
   SHARE MODAL
   ========================================== */
.share-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.share-modal.visible {
  opacity: 1;
  visibility: visible;
}

.share-modal-content {
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow: auto;
}

.share-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.share-modal-title {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-dim);
}

.share-modal-close {
  background: transparent;
  border: none;
  color: var(--accent-dim);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.share-modal-close:hover {
  color: #fff;
}

.share-preview {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-preview-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
}

.share-preview-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.share-info {
  font-size: 13px;
  color: var(--accent-dim);
  margin-bottom: 16px;
  text-align: center;
}

.share-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 20px;
}

.share-link-icon {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.share-link-url {
  flex: 1;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.share-btn {
  flex: 1;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.share-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.share-btn.primary {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.share-btn.primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.share-btn.success {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}

/* Mobile share button - full width at bottom */
.share-btn-mobile {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  margin-top: 16px;
  background: #fff;
  border: none;
  border-radius: 12px;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.share-btn-mobile:hover {
  background: rgba(255, 255, 255, 0.9);
}

.share-btn-mobile:active {
  transform: scale(0.98);
}

/* Toast notifications */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 12px 24px;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1001;
}

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

.toast.success {
  border-color: #22c55e;
}

.toast.error {
  border-color: #ef4444;
}

/* Mobile adjustments for share modal */
@media (max-width: 480px) {
  .share-modal-content {
    padding: 20px;
    border-radius: 12px;
  }

  .share-actions {
    flex-direction: column;
  }

  .share-btn {
    min-width: auto;
  }
}
