/* ame_nimo_makezu.css - Page Specific Styles */

.rain-page {
    --rain-primary: #334155;
    --rain-secondary: #475569;
    --rain-accent: #0ea5e9;
    --rain-sky: #38bdf8;
    --rain-light: #f1f5f9;
    --rain-border: #cbd5e1;
    --smile-bg: #fff7ed;
    --smile-border: #fed7aa;
    --smile-text: #ea580c;
}

/* Rain Quote Card */
.rain-quote-card {
    background: linear-gradient(to bottom, var(--rain-primary), var(--rain-secondary));
    color: var(--rain-light);
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 15px 35px rgba(51, 65, 85, 0.25);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 3s ease;
}

/* The Blue Sky Layer (Behind text, Initially hidden) */
.rain-quote-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--rain-sky), var(--rain-accent));
    opacity: 0;
    transition: opacity 3s ease-in-out;
    z-index: 1;
}

.rain-quote-card > * {
    z-index: 10;
    position: relative;
}

/* Brighter State (Blue Sky) */
.rain-quote-card.bright::after {
    opacity: 1;
}

.rain-quote-card.bright {
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.35);
}

/* Rain Animation Layer */
.rain-quote-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    background: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 6px 6px;
    opacity: 0.6;
    animation: rain-fall 1.5s linear infinite;
    transition: opacity 2s ease;
    z-index: 2;
}

.rain-quote-card.bright::before {
    opacity: 0;
}

@keyframes rain-fall {
    0% { transform: translateY(0); }
    100% { transform: translateY(60px); }
}

.rain-quote-text {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 1.15rem;
    line-height: 2.2;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: left;
    display: inline-block;
}

.rain-author {
    margin-top: 2.5rem;
    font-size: 1rem;
    text-align: right;
    width: 100%;
    max-width: 450px;
    opacity: 0.9;
}

/* Notebook Style Box */
.personal-interpretation-box {
    background: #fdfbf7;
    border: 1px solid var(--rain-border);
    box-shadow: 
        5px 5px 15px rgba(0, 0, 0, 0.05),
        inset 0 0 30px rgba(0, 0, 0, 0.02);
    border-radius: 6px;
    padding: 3rem 2rem 3rem 4rem;
    margin: 3.5rem 0;
    position: relative;
    background-image: linear-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 100% 1.8rem;
}

.personal-interpretation-box::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(239, 68, 68, 0.25);
}

.interpretation-title-container {
    text-align: center;
}

.personal-interpretation-title {
    text-align: center;
    color: #475569;
    font-weight: bold;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    background: #fdfbf7;
    display: inline-block;
    padding: 0.4rem 1.5rem;
    border: 2px solid #64748b;
    border-radius: 50px;
    position: relative;
    z-index: 5;
}

.interpretation-text {
    font-weight: bold;
    color: #334155;
    text-align: center;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    line-height: 2.2;
    font-size: 1.1rem;
    margin: 0;
}

/* Highlight Message */
.highlight-message {
    background: rgba(240, 249, 255, 0.7);
    border-left: 5px solid var(--rain-accent);
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 0 12px 12px 0;
    line-height: 1.8;
    color: #0369a1;
    font-weight: 500;
}

/* Section Header */
.section-header {
    color: #0369a1;
    margin-top: 4rem;
    border-bottom: 2px solid #bae6fd;
    padding-bottom: 0.8rem;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Smile Footer */
.smile-footer {
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--smile-text);
    margin: 4rem 0;
    padding: 3rem 2rem;
    background: var(--smile-bg);
    border-radius: 16px;
    border: 1px solid var(--smile-border);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.08);
}

.smile-footer i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.smile-footer::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 180, 0.5) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.5);
    animation: pulse-light 4s infinite ease-in-out;
}

@keyframes pulse-light {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Sidebar Active Link */
.rain-page .sidebar-nav-list li.active-link a {
    color: var(--rain-accent);
    background-color: #f0f9ff;
    border-left: 3px solid var(--rain-accent);
}

/* Method Nav Customization */
.rain-page .method-nav .nav-btn:hover {
    border-color: var(--rain-accent);
    color: var(--rain-accent);
}
