/* 
 * chance_is_now.css
 * Styles for "Chance is Now" page (genki_methods/chance_is_now.html)
 */

.gradient-text-sub {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

/* Footprint Animation */
.step-svg {
    width: 200px;
    overflow: visible;
}

.footprint {
    animation: footprint-fade 4s infinite;
}

.footprint.left {
    animation-delay: 0s;
}

.footprint.right {
    animation-delay: 1s;
}

.footprint.left-2 {
    animation-delay: 2s;
}

.footprint.right-2 {
    animation: footprint-pulse 4s infinite;
    animation-delay: 3s;
    fill: #3b82f6;
}

@keyframes footprint-fade {
    0%, 75% {
        opacity: 0;
        transform: translateY(10px);
    }
    10%, 65% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes footprint-pulse {
    0%, 75% {
        opacity: 0;
        transform: scale(0.8);
    }
    85% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Story Box Highlighting */
.story-box strong {
    color: #ea580c;
    background: linear-gradient(transparent 70%, #ffedd5 70%);
}

/* --- Design Brush Up Improvements --- */

/* Hero Area Styles (Zero-Base Redesign - Magazine Style) */
.hero-container {
    text-align: left;
    margin-bottom: 5rem;
    position: relative;
    padding: 5rem 3rem;
    background: linear-gradient(120deg, #f0fdf4 0%, #ffffff 60%, #f7fee7 100%);
    border-radius: 20px;
    overflow: hidden; /* For watermark clipping */
    box-shadow: 0 10px 40px -10px rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.1);
}

/* Category Label */
.hero-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1e293b;
    position: relative;
    z-index: 2; /* Above watermark */
}

/* Gradient text part */
.hero-title span {
    background: linear-gradient(135deg, #16a34a, #84cc16);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block; /* Stack on new line for impact */
    font-size: 4.2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: #475569;
    max-width: 600px;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* Giant Watermark Icon */
.hero-watermark {
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 15rem;
    color: rgba(34, 197, 94, 0.05);
    z-index: 1;
    transform: rotate(-15deg);
    pointer-events: none;
}

/* Decorative Circle */
.hero-deco-circle {
    position: absolute;
    top: -50px;
    right: 20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Gradient Text for Main Title content if needed */
.text-gradient-main {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Key Phrase Highlight (Marker Effect) */
.highlight-phrase {
    background: linear-gradient(transparent 60%, rgba(254, 240, 138, 0.7) 60%);
    font-weight: bold;
    color: #1e293b;
    padding: 0 0.2rem;
}

/* Action Steps Cards */
.action-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    list-style: none; /* Remove default list style */
    padding-left: 0;
}

.action-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.action-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.action-card strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #334155;
    font-size: 1.05rem;
}

.action-card span {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

/* Enhancing Section Headers */
h3 i {
    margin-right: 0.5rem;
}

/* SNS Anxiety Box Polish */
.sns-anxiety-box {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transition: transform 0.3s ease;
}

.sns-anxiety-box:hover {
    transform: scale(1.01);
}

/* One Step Runner Animation */
.one-step-container {
    text-align: center;
    margin: 4rem 0;
    position: relative;
    /* Ensure runner is visible relative to this or body? Body is better for diagonal across page */
}

.one-step-btn {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    padding: 1.5rem 4rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.one-step-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(234, 88, 12, 0.5);
}

.one-step-btn:active {
    transform: translateY(-2px);
}

.one-step-btn i {
    margin-right: 0.8rem;
}

/* Done State */
.one-step-btn.done {
    background: linear-gradient(135deg, #fbbf24, #d97706); /* Amber/Orange for warmth */
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.4);
    cursor: default;
}

.one-step-btn.done:hover {
    transform: none;
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.4);
}

/* Runner Icon */
#runner-icon {
    position: fixed;
    bottom: 0;
    left: 0;
    font-size: 8rem;
    color: #3b82f6; /* Changed to Blue as requested */
    z-index: 9999;
    pointer-events: none;
    display: none; /* Hidden by default */
    filter: drop-shadow(4px 4px 10px rgba(0,0,0,0.2));
}

#runner-icon.active {
    display: block;
    animation: run-diagonal 3.5s forwards ease-in; /* Adjusted to 3.5s */
}

@keyframes run-diagonal {
    0% {
        transform: translate(-100px, 100px) scale(0.5) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translate(120vw, -120vh) scale(1.5) rotate(10deg);
        opacity: 0;
    }
}

/* Cleanup: Extracted Utility Classes */
.content-body {
    margin-top: 2rem;
    line-height: 1.8;
    color: #475569;
}

.quote-box {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    font-style: italic;
    width: 100%;
    border-left: 4px solid #db2777;
}

.quote-attribution {
    font-size: 0.9rem;
    display: block;
    text-align: right;
    margin-top: 0.5rem;
    font-style: normal;
}

.final-message {
    font-weight: bold;
    font-size: 1.3rem;
    color: #1e293b;
    margin-top: 2rem;
    text-align: center;
}
