/* ============================================
   SIDE A ENHANCEMENTS - Interactive elements
   ============================================ */

/* Academic Timeline Modal */
.timeline-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
  overflow-y: auto;
  padding: 20px;
}

.timeline-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

.timeline-container {
  background: var(--bg-alt);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  padding: 40px 30px;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-base);
}

.timeline-modal.active .timeline-container {
  transform: scale(1);
}

.timeline-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--text-alt);
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.timeline-close:hover {
  background: var(--accent-red);
  transform: rotate(90deg);
}

.timeline-header {
  text-align: center;
  margin-bottom: 40px;
}

.timeline-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent-red);
  margin-bottom: 8px;
}

.timeline-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--mono);
  letter-spacing: 1px;
}

/* Timeline Items */
.timeline-track {
  position: relative;
  padding-left: 40px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-red) 0%, rgba(255, 59, 48, 0.3) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.timeline-item:hover {
  transform: translateX(8px);
}

.timeline-dot {
  position: absolute;
  left: -32px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--accent-red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg-alt), 0 0 0 6px var(--accent-red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--bg-alt), 0 0 0 6px var(--accent-red); }
  50% { box-shadow: 0 0 0 4px var(--bg-alt), 0 0 0 10px rgba(255, 59, 48, 0.4); }
}

.timeline-year {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--mono);
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.timeline-institution {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-alt);
  margin-bottom: 8px;
}

.timeline-degree {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.timeline-achievement {
  font-size: 13px;
  color: var(--accent-red);
  font-weight: 600;
  margin-bottom: 12px;
}

.timeline-link {
  display: inline-block;
  color: var(--accent-red);
  font-size: 13px;
  font-family: var(--mono);
  text-decoration: none;
  border: 1px solid var(--accent-red);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  margin-top: 8px;
}

.timeline-link:hover {
  background: var(--accent-red);
  color: white;
}

/* UCAB Details Dropdown */
.ucab-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  margin-top: 12px;
}

.ucab-details.expanded {
  max-height: 500px;
}

.ucab-section {
  background: rgba(255, 59, 48, 0.1);
  border-left: 3px solid var(--accent-red);
  padding: 16px;
  margin-top: 12px;
  border-radius: var(--radius-sm);
}

.ucab-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ucab-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ucab-list li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.ucab-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-red);
  font-weight: bold;
}

.ucab-list.skills li::before {
  content: '•';
}

/* Clickable subtitle in CV */
.subtitle .clickable {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-color: var(--accent-red);
  text-underline-offset: 3px;
  transition: all var(--transition-fast);
  position: relative;
  display: inline-block;
}

.subtitle .clickable::after {
  content: '📚';
  font-size: 12px;
  margin-left: 4px;
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.subtitle .clickable:hover {
  color: var(--accent-red);
  text-shadow: 0 0 8px rgba(255, 59, 48, 0.5);
  transform: translateY(-1px);
}

.subtitle .clickable:hover::after {
  opacity: 1;
  transform: scale(1.2);
}

/* Mobile */
@media (max-width: 768px) {
  .timeline-container {
    padding: 30px 20px;
  }

  .timeline-title {
    font-size: 24px;
  }

  .timeline-track {
    padding-left: 30px;
  }

  .timeline-dot {
    left: -27px;
  }
}

body.timeline-open {
  overflow: hidden;
}

/* ============================================
   SKILL BARS - Interactive expertise display
   ============================================ */

.skills-section {
  margin-bottom: 30px;
}

.skill-item {
  margin-bottom: 20px;
  position: relative;
}

.skill-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  letter-spacing: 0.5px;
}

.skill-name {
  cursor: pointer;
  transition: color var(--transition-fast);
}

.skill-name:hover {
  color: var(--accent-red);
}

.skill-bar-container {
  width: 100%;
  height: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.skill-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-red), #ff6b5f);
  border-radius: 6px;
  transition: width 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  box-shadow: 0 0 10px rgba(255, 59, 48, 0.4);
}

.skill-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

.skill-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  background: rgba(0, 0, 0, 0.95);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--mono);
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  border: 1px solid var(--accent-red);
  z-index: 100;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.skill-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--accent-red);
}

.skill-item:hover .skill-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Interests Section */
.interests-section {
  margin-top: 30px;
}

.interests-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.interests-list li {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 12px;
  padding: 8px 12px 8px 24px;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-sans);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  text-decoration: underline;
  text-decoration-color: rgba(255, 59, 48, 0.3);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.interests-list li::before {
  content: '→';
  position: absolute;
  left: 8px;
  color: var(--accent-red);
  font-weight: bold;
  font-size: 16px;
  transition: all var(--transition-fast);
}

.interests-list li::after {
  content: '👆';
  position: absolute;
  right: 8px;
  opacity: 0;
  transition: all var(--transition-fast);
  font-size: 14px;
}

.interests-list li:hover {
  color: var(--accent-red);
  transform: translateX(6px);
  background: rgba(255, 59, 48, 0.08);
  border-color: rgba(255, 59, 48, 0.3);
  text-decoration-color: var(--accent-red);
  box-shadow: 0 2px 8px rgba(255, 59, 48, 0.15);
}

.interests-list li:hover::before {
  animation: bounce 0.5s ease;
  transform: translateX(3px);
}

.interests-list li:hover::after {
  opacity: 0.8;
  animation: wiggle 0.6s ease infinite;
}

.valentine-interest-item {
  display: none;
}

body[data-theme="valentine"] .valentine-interest-item {
  display: block;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

/* Mobile */
@media (max-width: 768px) {
  .skill-tooltip {
    font-size: 11px;
    padding: 6px 10px;
  }
}

/* ============================================
   HEIGHT SCALE - Comparative height visualization
   ============================================ */

.height-scale-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
  overflow-y: auto;
  padding: 20px;
}

.height-scale-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

.height-scale-container {
  background: var(--bg-alt);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  padding: 40px 30px;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-base);
}

.height-scale-modal.active .height-scale-container {
  transform: scale(1);
}

.height-scale-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--text-alt);
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.height-scale-close:hover {
  background: var(--accent-red);
  transform: rotate(90deg);
}

.height-scale-header {
  text-align: center;
  margin-bottom: 40px;
}

.height-scale-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-red);
  margin-bottom: 8px;
}

.height-scale-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--mono);
}

/* Height Chart */
.height-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 400px;
  margin-bottom: 20px;
  padding: 0 20px 60px 20px;
  position: relative;
}

.height-chart::before {
  content: '';
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.height-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  max-width: 120px;
  height: 100%;
  animation: growUp 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
}

@keyframes growUp {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.height-bar {
  width: 60px;
  background: linear-gradient(180deg, rgba(255, 59, 48, 0.3), var(--accent-red));
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  position: relative;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.height-person.highlight .height-bar {
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.5), #ffd700);
  border-color: #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.height-bar:hover {
  transform: scale(1.05);
}

.height-icon {
  font-size: 20px;
  opacity: 0.8;
  filter: grayscale(20%);
  transition: all var(--transition-fast);
}

.height-person:hover .height-icon {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

.height-person.highlight .height-icon {
  font-size: 24px;
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
}

.height-value {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-red);
  font-family: var(--mono);
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.7);
  padding: 2px 6px;
  border-radius: 4px;
}

.height-person.highlight .height-value {
  color: #ffd700;
  font-size: 14px;
}

.height-label {
  position: absolute;
  bottom: -55px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-family: var(--mono);
  line-height: 1.3;
  white-space: nowrap;
  width: 100px;
}

.height-person.highlight .height-label {
  color: #ffd700;
  font-weight: 700;
}

/* Mobile */
@media (max-width: 768px) {
  .height-scale-container {
    padding: 30px 20px;
  }

  .height-chart {
    height: 280px;
    padding: 0 5px 85px 5px; /* Increased bottom padding for labels */
  }

  .height-chart::before {
    bottom: 85px;
  }

  .height-bar {
    width: 32px; /* Slightly smaller bars */
  }

  .height-icon {
    font-size: 14px;
  }

  .height-person.highlight .height-icon {
    font-size: 16px;
  }

  .height-value {
    font-size: 9px;
    top: -18px;
    padding: 1px 3px;
  }

  .height-label {
    font-size: 9px;
    bottom: -80px; /* Moved down more */
    width: 55px; /* Reduced width to prevent overlap */
    line-height: 1.2;
    white-space: normal; /* Allow text wrapping on mobile */
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 28px; /* Limit to 2 lines */
  }

  .height-person {
    max-width: 55px; /* Match label width */
  }
}

body.height-scale-open {
  overflow: hidden;
}

/* ============================================
   GYM WIDGET - Workout stats from Hevy.com
   ============================================ */

.gym-widget-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
  overflow-y: auto;
  padding: 20px;
}

.gym-widget-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

.gym-widget-container {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 2px solid var(--accent-red);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  padding: 60px 40px 40px 40px;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-base);
  box-shadow: 0 0 40px rgba(255, 59, 48, 0.3);
  max-height: 90vh;
  overflow-y: auto;
}

.gym-widget-modal.active .gym-widget-container {
  transform: scale(1);
}

.gym-widget-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255, 59, 48, 0.2);
  border: 1px solid var(--accent-red);
  border-radius: 50%;
  color: var(--accent-red);
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.gym-widget-close:hover {
  background: var(--accent-red);
  color: white;
  transform: rotate(90deg);
}

.gym-widget-header {
  text-align: center;
  margin-bottom: 30px;
}

.gym-widget-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent-red);
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(255, 59, 48, 0.5);
}

.gym-widget-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--mono);
  letter-spacing: 1px;
}

.gym-workout-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-alt);
  margin-bottom: 12px;
  text-align: center;
}

.gym-workout-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
  margin-top: 24px;
}

.gym-meta-item {
  background: rgba(255, 59, 48, 0.05);
  border: 1px solid rgba(255, 59, 48, 0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  transition: all var(--transition-fast);
}

.gym-meta-item:hover {
  background: rgba(255, 59, 48, 0.1);
  border-color: rgba(255, 59, 48, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.2);
}

.gym-meta-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--mono);
  margin-bottom: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.gym-meta-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-red);
  font-family: var(--mono);
  letter-spacing: 0.5px;
}

.gym-exercises {
  margin-top: 32px;
}

.gym-exercises-title {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--mono);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 59, 48, 0.3);
}

.gym-exercise {
  background: rgba(255, 59, 48, 0.03);
  border: 1px solid rgba(255, 59, 48, 0.2);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.gym-exercise:hover {
  background: rgba(255, 59, 48, 0.08);
  border-color: rgba(255, 59, 48, 0.4);
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.15);
}

.gym-exercise-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gym-exercise-name::before {
  content: '💪';
  font-size: 20px;
}

.gym-muscle-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 59, 48, 0.8);
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--mono);
}

.gym-sets {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gym-set {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
}

.gym-set:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 59, 48, 0.3);
  transform: translateX(4px);
}

.gym-set-number {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--mono);
  font-weight: 600;
  min-width: 50px;
}

.gym-set-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-alt);
  font-family: var(--mono);
  letter-spacing: 0.5px;
}

.gym-set-value::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--accent-red);
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
}

.gym-loading {
  text-align: center;
  padding: 40px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--mono);
}

.gym-error {
  text-align: center;
  padding: 40px;
  color: var(--accent-red);
  font-family: var(--mono);
}

.gym-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--accent-red);
  font-size: 13px;
  font-family: var(--mono);
  text-decoration: none;
  border: 1px solid var(--accent-red);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-align: center;
}

.gym-link:hover {
  background: var(--accent-red);
  color: white;
}

/* Mobile */
@media (max-width: 768px) {
  .gym-widget-container {
    padding: 50px 20px 30px 20px;
  }

  .gym-widget-title {
    font-size: 24px;
  }

  .gym-workout-name {
    font-size: 20px;
  }

  .gym-workout-meta {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 32px;
  }

  .gym-meta-item {
    padding: 12px;
  }

  .gym-meta-value {
    font-size: 18px;
  }

  .gym-exercise {
    padding: 16px;
    margin-bottom: 16px;
  }

  .gym-exercise-name {
    font-size: 16px;
  }

  .gym-set {
    padding: 10px 12px;
  }

  .gym-set-value {
    font-size: 14px;
  }

  .gym-exercises-title {
    font-size: 14px;
  }
}

body.gym-widget-open {
  overflow: hidden;
}

/* Gym Navigation Controls */
.gym-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0;
  padding: 16px;
  background: rgba(255, 59, 48, 0.05);
  border: 1px solid rgba(255, 59, 48, 0.2);
  border-radius: var(--radius-md);
}

.gym-nav-btn {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.gym-nav-btn:hover:not(.disabled) {
  background: var(--accent-red);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
}

.gym-nav-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: rgba(255, 59, 48, 0.3);
}

.gym-nav-indicator {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.5px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile */
@media (max-width: 768px) {
  .gym-navigation {
    flex-direction: column;
    gap: 12px;
  }

  .gym-nav-btn {
    width: 100%;
    padding: 12px 16px;
  }

  .gym-nav-indicator {
    order: -1;
    font-size: 11px;
  }
}

/* ============================================
   SIDE B CTA BUTTONS
   ============================================ */
.main-cta-button,
.return-button {
  padding: 18px 40px !important;
  display: block !important;
  font-weight: bold !important;
  border-radius: 4px !important;
  letter-spacing: 2px !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  font-family: var(--mono) !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  width: 320px !important;
  text-align: center !important;
  border: 2px solid !important;
}

.main-cta-button {
  color: var(--accent-red) !important;
  background: rgba(255, 59, 48, 0.1) !important;
  border-color: var(--accent-red) !important;
  text-decoration: none !important;
}

.main-cta-button:hover {
  background: var(--accent-red) !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(255, 59, 48, 0.4) !important;
}

.instagram-access-hidden {
  display: none !important;
}

.return-button {
  color: #ffd700 !important;
  background: rgba(139, 69, 19, 0.2) !important;
  border-color: rgba(255, 215, 0, 0.4) !important;
}

.return-button:hover {
  background: rgba(139, 69, 19, 0.4) !important;
  border-color: rgba(255, 215, 0, 0.7) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3) !important;
}

.alt-cta-section {
  text-align: center;
  margin-top: 60px;
  font-family: var(--mono);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.alt-easter-wrapper {
  margin-top: 14px;
}

/* Valentine flowers modal */
.valentine-flowers-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 6, 10, 0.92);
  backdrop-filter: blur(8px);
  z-index: 10003;
}

.valentine-flowers-modal.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.valentine-flowers-container {
  position: relative;
  width: 100%;
  min-width: 0; /* previene truncado en flex children */
  max-width: 560px;
  border: 1px solid rgba(255, 182, 193, 0.4);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(560px 300px at 50% 22%, rgba(255, 199, 229, 0.22), transparent 60%),
    linear-gradient(165deg, #2a0d1f 0%, #3f1732 55%, #271021 100%);
  padding: 56px 28px 34px;
  text-align: center;
  box-shadow: 0 0 45px rgba(255, 105, 180, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.valentine-flowers-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 228, 236, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #ffe4ec;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.valentine-flowers-close:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(90deg);
}

/* ============================================
   ROSA DE SAN VALENTÍN - CSS puro
   7 pétalos en capas + tallo + hojas + glow
   ============================================ */

.rose-scene {
  position: relative;
  width: 160px;
  height: 240px;
  margin: 0 auto 28px;
}

/* ── Tallo ── */
.rose-stem {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 5px;
  height: 120px;
  margin-left: -2.5px;
  background: linear-gradient(180deg, #3a7d44, #2d6a37);
  border-radius: 3px;
  transform-origin: bottom center;
  animation: roseStemGrow 1s ease-out forwards;
}

/* ── Hojas ── */
.rose-leaf {
  position: absolute;
  width: 36px;
  height: 18px;
  border-radius: 0 50% 50% 0;
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  opacity: 0;
  animation: roseLeafIn 0.5s ease forwards;
}

.rose-leaf-l {
  bottom: 58px;
  left: 50%;
  margin-left: -38px;
  transform: rotate(-30deg);
  border-radius: 50% 0 0 50%;
  animation-delay: 0.7s;
}

.rose-leaf-r {
  bottom: 38px;
  left: 50%;
  margin-left: 4px;
  transform: rotate(25deg);
  animation-delay: 0.9s;
}

/* ── Capullo (contenedor de pétalos) ── */
.rose-bloom {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100px;
  height: 100px;
  margin-left: -50px;
  margin-top: 10px;
  opacity: 0;
  transform: scale(0.3);
  animation: roseBloomIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.6s;
}

/* ── Pétalos individuales ── */
.rp {
  position: absolute;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(145deg, #e8446c, #d63a5e);
}

/* Capa exterior — pétalos más grandes, abiertos */
.rp-1 {
  width: 52px; height: 52px;
  top: 2px; left: 0;
  transform: rotate(-40deg);
  background: linear-gradient(135deg, #e8446c, #c03058);
  opacity: 0.85;
}
.rp-2 {
  width: 50px; height: 50px;
  top: -2px; right: 4px;
  transform: rotate(50deg);
  background: linear-gradient(135deg, #f06292, #d63a5e);
  opacity: 0.9;
}
.rp-3 {
  width: 48px; height: 48px;
  bottom: 4px; left: -2px;
  transform: rotate(-80deg);
  background: linear-gradient(135deg, #d63a5e, #ad2a4a);
  opacity: 0.8;
}
.rp-4 {
  width: 46px; height: 46px;
  bottom: 0; right: 0;
  transform: rotate(90deg);
  background: linear-gradient(135deg, #ec407a, #c73860);
  opacity: 0.85;
}

/* Capa interior — pétalos medianos, más cerrados */
.rp-5 {
  width: 38px; height: 38px;
  top: 14px; left: 12px;
  transform: rotate(-20deg);
  background: linear-gradient(145deg, #f48fb1, #e8446c);
  opacity: 0.95;
}
.rp-6 {
  width: 36px; height: 36px;
  top: 12px; right: 14px;
  transform: rotate(30deg);
  background: linear-gradient(145deg, #f06292, #ec407a);
}

/* Centro — pétalo más interno */
.rp-7 {
  width: 26px; height: 26px;
  top: 22px; left: 50%;
  margin-left: -13px;
  transform: rotate(10deg);
  background: linear-gradient(160deg, #f8bbd0, #f48fb1);
  border-radius: 50%;
}

/* Centro dorado */
.rose-core {
  position: absolute;
  width: 14px;
  height: 14px;
  top: 30px;
  left: 50%;
  margin-left: -7px;
  background: radial-gradient(circle, #fff3e0, #ffcc80, #ffab40);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 171, 64, 0.5);
  z-index: 2;
}

/* Glow ambiental detrás de la flor */
.rose-glow {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 140px;
  height: 140px;
  margin-left: -70px;
  background: radial-gradient(circle, rgba(232, 68, 108, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: roseGlowPulse 3s ease-in-out infinite;
  pointer-events: none;
}

/* Animaciones */
@keyframes roseStemGrow {
  from { height: 0; opacity: 0; }
  to { height: 120px; opacity: 1; }
}

@keyframes roseLeafIn {
  from { opacity: 0; transform: scale(0.4) rotate(0deg); }
  to { opacity: 1; }
}

@keyframes roseBloomIn {
  from { opacity: 0; transform: scale(0.3); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes roseGlowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.08); }
}

/* Mensaje */
.valentine-flowers-msg {
  color: rgba(245, 220, 230, 0.6);
  font-family: var(--font-sans);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 11px;
  margin: 0 0 14px;
  font-weight: 600;
}

.valentine-flowers-text {
  margin: 0;
  color: #f5dce6;
  font-size: 18px;
  max-width: 400px;
  margin-inline: auto;
  line-height: 1.65;
  font-weight: 300;
}

@media (max-width: 768px) {
  .rose-scene {
    width: 130px;
    height: 200px;
  }

  .valentine-flowers-text {
    font-size: 16px;
  }
}

body.valentine-flowers-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .valentine-flowers-container {
    padding: 50px 20px 26px;
  }

  .valentine-flowers-text {
    font-size: 16px;
  }

  .valentine-flower-stage {
    width: min(100%, 290px);
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .main-cta-button,
  .return-button {
    width: 90% !important;
    max-width: 300px !important;
    padding: 16px 30px !important;
  }
}
