/* ============================================================
   iris-luxury.css — 公爵家メイド / 高級便箋
   💚 深緑 × 金箔 × 封蝋 × 最上級のご褒美感
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Noto+Serif+JP:wght@300;500;700&family=IM+Fell+English:ital@0;1&display=swap');

:root {
    --ink:       #1a2a1a;
    --paper:     #f4f0e6;
    --gold:      #c9a84c;
    --gold2:     #e8c97a;
    --accent:    #2d5a2d;   /* 深緑 */
    --accent2:   #4a8a4a;
    --wax:       #8b1a1a;   /* 封蝋 */
    --night-bg:  #0a120a;
    --shadow:    rgba(0,0,0,0.5);
    --border-op: 0.6;
}

* { box-sizing: border-box; }

body {
    background-color: var(--night-bg);
    margin: 0;
    font-family: 'Noto Serif JP', serif;
    color: var(--ink);
    line-height: 1.9;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

/* 背景：深緑の夜 × 金粒子 */
.letter-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(45,90,45,0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 90%, rgba(201,168,76,0.08) 0%, transparent 50%),
        linear-gradient(160deg, #060e06 0%, #0a120a 60%, #060d0d 100%);
    z-index: -1;
}

.letter-container {
    max-width: 700px;
    width: 100%;
    filter: drop-shadow(0 20px 50px var(--shadow));
    opacity: 0;
    transition: opacity 1.8s ease-in;
}

/* 便箋：深緑の縁取り + 金格子テクスチャ */
.letter-paper {
    background-color: var(--paper);
    padding: 70px 60px;
    position: relative;
    border-radius: 1px;
    border-top: 4px solid var(--accent);
    border-bottom: 4px solid var(--accent);
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 27px,
            rgba(45,90,45,0.04) 28px
        );
}

/* 二重枠：外枠 */
.letter-paper::before {
    content: '';
    position: absolute;
    top: 14px; bottom: 14px; left: 14px; right: 14px;
    border: 1px solid var(--gold);
    pointer-events: none;
    opacity: var(--border-op);
}

/* 内枠 */
.letter-paper::after {
    content: '';
    position: absolute;
    top: 18px; bottom: 18px; left: 18px; right: 18px;
    border: 1px solid var(--gold);
    pointer-events: none;
    opacity: 0.3;
}

/* 封蝋風アイコンエリア */
.letter-header { margin-bottom: 44px; text-align: center; }

.tea-accent {
    display: inline-block;
    font-size: 1rem;
    letter-spacing: 0.4em;
    font-family: 'Cinzel', serif;
    color: var(--gold);
    background: var(--accent);
    padding: 6px 22px;
    border-radius: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* 封蝋ドット */
.letter-header::before {
    content: '❧';
    display: block;
    font-size: 2.2rem;
    color: var(--wax);
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(139,26,26,0.4));
}

.recipient-line {
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    letter-spacing: 0.08em;
}

.letter-intro { margin-bottom: 32px; font-weight: 500; }

.tea-suggestion {
    margin-top: 22px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(45,90,45,0.08), rgba(201,168,76,0.05));
    border-left: 3px solid var(--gold);
    font-size: 0.95rem;
    font-style: italic;
}

.letter-divider {
    border: none;
    border-top: 1px solid var(--gold);
    margin: 44px 0;
    position: relative;
}

.letter-divider::before,
.letter-divider::after {
    content: '◆';
    position: absolute;
    top: -8px;
    font-size: 0.7rem;
    color: var(--gold);
}
.letter-divider::before { left: 0; }
.letter-divider::after  { right: 0; }

.review-meta { margin-bottom: 32px; }

.read-status {
    font-family: 'Cinzel', serif;
    color: var(--accent2);
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.review-summary {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 10px;
    padding: 12px 16px;
    border-left: 3px solid var(--wax);
    background: rgba(139,26,26,0.04);
}

.letter-body p {
    margin-bottom: 1.5em;
    text-align: justify;
}

.letter-footer { margin-top: 64px; text-align: right; }

.closing {
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 24px;
}

.signature {
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'IM Fell English', serif;
    font-style: italic;
    color: var(--gold);
}

.sign-label { color: var(--accent); }

@media (max-width: 600px) {
    .letter-paper    { padding: 50px 28px; }
    .recipient-line  { font-size: 1.1rem; }
    .tea-accent      { font-size: 0.85rem; }
}

/* ===== Reviewed Work Block ===== */
.work-meta {
    margin: 18px 0 28px;
    padding: 18px 20px;
    border: 1px solid rgba(200, 160, 80, 0.28);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.work-label {
    margin: 0 0 8px;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: #c8a050;
    opacity: 0.9;
}

.work-title {
    margin: 0 0 10px;
    font-size: 1.28rem;
    line-height: 1.6;
    color: #557a5b;
    font-weight: 700;
}

.work-link {
    margin: 0;
    font-size: 0.95rem;
}

.work-link a {
    color: #6c8f6f;
    text-decoration: none;
    border-bottom: 1px solid rgba(108, 143, 111, 0.45);
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.work-link a:hover {
    opacity: 0.82;
    border-color: rgba(108, 143, 111, 0.8);
}
