/* About Me — personal page in existing MargoStory visual language */

.about-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 8px 24px 70px;
}

.about-page .back-home {
    display: inline-block;
    margin-bottom: 28px;
    padding: 12px 24px;
    background: #FFF8F1;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    color: #7A644E;
    font-weight: 600;
    transition: 0.35s;
}

.about-page .back-home:hover {
    transform: translateY(-3px);
    color: #B48B43;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
    gap: 28px;
    align-items: center;
    margin-bottom: 28px;
    padding: 28px;
    background:
        linear-gradient(155deg, rgba(255, 253, 250, 0.94), rgba(250, 236, 222, 0.72) 48%, rgba(247, 230, 220, 0.88)),
        #FFF8F1;
    border-radius: 30px;
    border: 1.5px solid rgba(201, 168, 106, 0.42);
    box-shadow:
        0 18px 42px rgba(76, 55, 29, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    animation: fadeUp 0.8s ease;
}

.about-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8D5F35;
}

.about-hello {
    margin: 0 0 14px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 600;
    line-height: 1.08;
    color: #3F352C;
}

.about-lead {
    margin: 0;
    max-width: 38ch;
    font-size: 16px;
    line-height: 1.65;
    color: #7A644E;
}

.about-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.05;
    max-height: 340px;
    margin: 0 auto;
    border-radius: 26px;
    overflow: hidden;
    background: #111;
    border: 4px solid #C9A86A;
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.14),
        0 0 0 1px rgba(255, 248, 236, 0.5);
}

.about-video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.about-card {
    position: relative;
    padding: 24px 24px 22px;
    background: #FFF8F1;
    border-radius: 28px;
    border: 1px solid rgba(201, 168, 106, 0.28);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.04);
    animation: fadeUp 0.8s ease;
}

.about-card-wide {
    grid-column: 1 / -1;
}

.about-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: rgba(201, 168, 106, 0.16);
    color: #8D5F35;
    font-size: 18px;
}

.about-card h3 {
    margin: 0 0 12px;
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.15;
    color: #3F352C;
}

.about-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #5C4D3E;
}

.about-love-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.about-love-list li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(201, 168, 106, 0.18);
}

.about-love-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-top: 1px;
    border-radius: 50%;
    background: rgba(201, 168, 106, 0.18);
    font-size: 13px;
}

.about-wip {
    background:
        linear-gradient(160deg, rgba(255, 248, 241, 0.98), rgba(244, 228, 198, 0.72));
    border-color: rgba(201, 168, 106, 0.48);
}

.about-thanks {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
    text-align: center;
    background:
        linear-gradient(155deg, rgba(255, 253, 250, 0.96), rgba(236, 210, 170, 0.35));
}

.about-thanks p {
    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
    color: #3F352C;
}

.about-thanks p + p {
    margin-top: 8px;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: #5C4D3E;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    background: #C9A86A;
    color: #3F352C;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.about-btn:hover {
    background: #B48B43;
    color: #fff;
    transform: translateY(-2px);
}

.about-btn-soft {
    background: rgba(201, 168, 106, 0.28);
    color: #7A644E;
    box-shadow: none;
    cursor: default;
}

.about-btn-soft:hover {
    background: rgba(201, 168, 106, 0.28);
    color: #7A644E;
    transform: none;
}

.about-btn-soft:disabled {
    opacity: 0.85;
}

.about-support {
    margin-top: 28px;
}

.about-support[hidden] {
    display: none !important;
}

.about-support-inner {
    max-width: 560px;
    margin: 0 auto;
    padding: 22px 24px 20px;
    text-align: center;
    background: rgba(255, 248, 241, 0.72);
    border-radius: 24px;
    border: 1px dashed rgba(201, 168, 106, 0.45);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.about-support-inner h3 {
    margin: 0 0 10px;
    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    font-weight: 600;
    color: #3F352C;
}

.about-support-inner p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.65;
    color: #7A644E;
}

.about-support-note {
    margin: 10px 0 0 !important;
    font-size: 12px !important;
    letter-spacing: 0.3px;
    color: #9A8772 !important;
}

.language a.active {
    color: #B48B43;
    font-weight: 600;
}

html[dir="rtl"] .about-page .back-home,
html[dir="rtl"] .about-kicker,
html[dir="rtl"] .about-hello,
html[dir="rtl"] .about-card h3,
html[dir="rtl"] .about-support-inner h3 {
    letter-spacing: 0;
}

html[dir="rtl"] .about-love-list li {
    grid-template-columns: 28px minmax(0, 1fr);
}

html[dir="rtl"] .about-btn {
    align-self: flex-start;
}

html[dir="rtl"] .about-kicker {
    text-transform: none;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .about-hero {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .about-video-frame {
        max-width: 320px;
        max-height: 300px;
    }

    .about-lead {
        max-width: none;
    }
}

@media (max-width: 720px) {
    .about-page {
        padding: 4px 16px 56px;
    }

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

    .about-card-wide {
        grid-column: auto;
    }

    .about-card h3 {
        font-size: 24px;
    }

    .about-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .about-hero {
        gap: 18px;
        padding: 18px;
        border-radius: 24px;
    }

    .about-hello {
        font-size: 30px;
    }

    .about-video-frame {
        max-width: 100%;
        border-width: 3px;
        border-radius: 22px;
    }

    .about-card {
        padding: 20px 18px;
        border-radius: 22px;
    }
}
