/* 🔥 Phase 4: 行動促進の極限最適化 */

.urgency-section {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e40af 100%);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.urgency-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 30% 20%,
      rgba(255, 107, 107, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(76, 175, 80, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.urgency-content {
  position: relative;
  z-index: 2;
}

.urgency-header {
  text-align: center;
  margin-bottom: 60px;
}

.urgency-header h2 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 15px;
  background: linear-gradient(45deg, #ff6b6b, #ffd700, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: urgencyGlow 2s ease-in-out infinite;
}

@keyframes urgencyGlow {
  0%,
  100% {
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
  }
  50% {
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
  }
}

.urgency-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

/* 緊急性グリッド */
.urgency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.urgency-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.urgency-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff6b6b, #ffd700, #4ecdc4);
}

.urgency-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.card-icon {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 15px;
  animation: iconBounce 2s ease-in-out infinite;
}

.urgency-card:nth-child(2) .card-icon {
  animation-delay: 0.3s;
}

.urgency-card:nth-child(3) .card-icon {
  animation-delay: 0.6s;
}

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

.urgency-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: white;
}

/* 予約状況 */
.booking-info {
  space-y: 10px;
}

.booking-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-time {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.booking-status-text {
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 700;
}

.booking-status-text.remaining {
  background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
  color: white;
  animation: urgentPulse 1.5s ease-in-out infinite;
}

.booking-status-text.full {
  background: rgba(107, 114, 128, 0.8);
  color: rgba(255, 255, 255, 0.7);
}

@keyframes urgentPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.8);
  }
}

.live-booking {
  margin-top: 15px;
  padding: 10px;
  background: rgba(255, 107, 107, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ff4444;
  border-radius: 50%;
  animation: livePulse 1s ease-in-out infinite;
}

/* 社会的証明 */
.proof-stats {
  space-y: 15px;
}

.proof-item {
  text-align: center;
  padding: 15px 0;
}

.proof-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.proof-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 5px;
}

/* 限定特典 */
.offer-content {
  text-align: center;
}

.offer-badge {
  display: inline-block;
  background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.offer-text {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
}

.offer-text strong {
  color: #ffd700;
  font-size: 1.4rem;
}

.offer-timer {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 10px;
}

.timer {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffd700;
}

/* 最終CTA */
.final-cta {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border-radius: 30px;
  padding: 50px;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #ffd700, #4ecdc4, #ff6b6b);
  animation: borderFlow 3s linear infinite;
}

@keyframes borderFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.cta-content h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.btn-ultimate {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(45deg, #ff6b6b, #ff8e8e, #ffa5a5);
  color: white;
  padding: 25px 50px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  animation: ultimateGlow 2s ease-in-out infinite;
}

.btn-ultimate:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 25px 60px rgba(255, 107, 107, 0.6);
}

.btn-ultimate::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s;
}

.btn-ultimate:hover::before {
  left: 100%;
}

@keyframes ultimateGlow {
  0%,
  100% {
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
  }
  50% {
    box-shadow: 0 15px 50px rgba(255, 107, 107, 0.7);
  }
}

.btn-icon {
  font-size: 1.5rem;
}

.btn-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.btn-main {
  font-size: 1.2rem;
  font-weight: 800;
}

.btn-sub {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 600;
}

.trust-indicators {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-item {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .urgency-header h2 {
    font-size: 2.5rem;
  }

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

  .final-cta {
    padding: 30px 20px;
  }

  .cta-content h3 {
    font-size: 1.8rem;
  }

  .btn-ultimate {
    padding: 20px 40px;
    font-size: 1.1rem;
  }

  .trust-indicators {
    flex-direction: column;
    gap: 15px;
  }
}

@media screen and (max-width: 480px) {
  .urgency-header h2 {
    font-size: 2rem;
  }

  .urgency-card {
    padding: 25px;
  }

  .btn-ultimate {
    padding: 18px 35px;
    font-size: 1rem;
  }

  .btn-content {
    align-items: center;
  }
}
