/* Page Specific CSS for Take Action */

/* Glassmorphism Panels */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
  border-radius: 16px;
}

.glass-amber {
  background: rgba(255, 251, 235, 0.6);
  /* Amber tint */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(254, 243, 199, 0.6);
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.1);
  border-radius: 12px;
  padding: 1.2rem;
}

.glass-gold {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8),
    rgba(254, 243, 199, 0.8)
  );
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.3);
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

/* Action List */
.action-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.action-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.action-list li:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.9);
}

.action-list i {
  font-size: 1.2rem;
  color: #16a34a;
  margin-top: 0.2rem;
  background: #dcfce7;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animations */
.float-icon {
  animation: float 3s ease-in-out infinite;
  display: inline-block;
}

.float-icon-slow {
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Shine Effect for Button */
.btn-shine {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  /* Blue for AI */
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-shine:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.4);
}

.btn-shine::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
    top: -100%;
  }
  20% {
    left: 100%;
    top: 100%;
  }
  100% {
    left: 100%;
    top: 100%;
  }
}

/* AI Section Specifics */
.ai-section:hover {
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.15);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.highlight-message {
  font-size: 1.2rem;
  font-weight: bold;
  color: #92400e;
  line-height: 1.6;
}

.highlight-message i {
  display: block;
  font-size: 1.5rem;
  color: #f59e0b;
  margin-bottom: 0.5rem;
  animation: spin-slow 10s linear infinite;
}

@keyframes spin-slow {
  100% {
    transform: rotate(360deg);
  }
}

.btn-simple {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 30px;
  color: #64748b;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-simple:hover {
  border-color: #94a3b8;
  color: #475569;
  background: #f8fafc;
}

.highlight-text {
  background: linear-gradient(
    120deg,
    rgba(254, 240, 138, 0) 0%,
    rgba(254, 240, 138, 1) 100%
  );
  padding: 0 0.2rem;
}

/* Advice Box Typography */
.advice-header {
  font-weight: 800;
  color: #d97706;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  border-bottom: 1px dashed #fcd34d;
  padding-bottom: 0.5rem;
}

.advice-content {
  font-size: 0.9rem;
  color: #78350f;
  line-height: 1.6;
  font-weight: 500;
}

/* Classes to replace original inline styles */
.intro-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.method-section-title {
    color: #16a34a;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.action-list-footer {
    margin-top: 1.5rem;
}

.ai-section {
    margin: 4rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 20px;
    border: 1px solid #bae6fd;
    text-align: center;
}

.ai-section-title {
    color: #0284c7;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.ai-section-text {
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* AI Section Pulse Effect */
.ai-section.pulse {
    animation: ai-pulse 4s ease-in-out infinite;
    position: relative;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
}

@keyframes ai-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
        border-color: #bae6fd;
    }
    50% {
        box-shadow: 0 0 40px rgba(56, 189, 248, 0.3);
        border-color: #38bdf8;
    }
}

/* Omikuji Component */
.omikuji-container {
    margin: 3rem 0;
    padding: 2.5rem;
    background: #fff;
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.omikuji-container:hover {
    border-style: solid;
    border-color: var(--accent-color);
}

.omikuji-btn {
    background: #fff;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.omikuji-btn:hover {
    background: var(--accent-color);
    color: #fff;
    transform: scale(1.05);
}

.omikuji-result {
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.omikuji-result.show {
    opacity: 1;
    transform: translateY(0);
}

.omikuji-action-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.omikuji-action-sub {
    font-size: 0.9rem;
    color: #64748b;
}

.final-message {
    margin-top: 3rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--accent-color);
}

/* Section Title Fixes for new Layout */
.section-title h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-title .line {
    width: 100px;
    height: 4px;
    background: var(--gradient-1);
    margin: 0;
    border-radius: 2px;
}

.method-section.glass-panel {
    margin: 3rem 0;
    padding: 2rem;
}

.omikuji-container h4 {
    margin-bottom: 1rem;
    color: #475569;
}

.omikuji-container p {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 2rem;
}

/* Site Footer */
.site-footer {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

/* Sidebar Sticky Fix */

/* Sidebar Sticky Fix */
.sidebar {
    position: sticky !important;
    top: calc(var(--nav-height) + 1.5rem) !important;
    height: fit-content;
    z-index: 10;
}

/* Ensure no gap at the top of the first widget */
.sidebar-widget:first-child {
    margin-top: 0;
}
