/* =========================================================
   DivinationChaloce — About / Guide Page
   Dark Theme + Gold Frame + Read-Only Content
   ========================================================= */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    background-color: #000;
}

body.dc-reading-page--about {
    width: 100%;
    min-height: 100vh;
    direction: rtl;
    background-color: #05080f;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    color: #e0e6ed;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* =========================================================
   قاب عمودی
   ========================================================= */

.dc-about-frame {
    position: relative;
    width: 100%;
    max-width: calc(100vh * 0.8);
    min-height: 100vh;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;

    background-image: url('../../assets/images/bg/about-reading-bg.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #0a0f1d;

    box-shadow: 0 0 80px rgba(0, 0, 0, .9);
    z-index: 1;
}

.dc-about-scroll {
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, .4) transparent;
}
.dc-about-scroll::-webkit-scrollbar { width: 6px; }
.dc-about-scroll::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, .4);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .dc-about-frame { max-width: 100%; }
}

/* =========================================================
   Sandwich Menu
   ========================================================= */

.dc-about-menu-toggle {
    position: fixed;
    top: 20px;
    right: calc(50% - (100vh * 0.4) + 20px);
    width: 42px;
    height: 42px;
    background: rgba(10, 15, 29, .85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, .5);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    transition: all .3s ease;
}

.dc-about-menu-toggle:hover {
    background: rgba(212, 175, 55, .25);
    border-color: #f9e596;
}

.dc-about-menu-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: #f9e596;
    border-radius: 2px;
    transition: all .3s ease;
}

.dc-about-menu-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.dc-about-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.dc-about-menu-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.dc-about-menu {
    position: fixed;
    top: 72px;
    right: calc(50% - (100vh * 0.4) + 20px);
    min-width: 200px;
    background: rgba(10, 15, 29, .96);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, .4);
    border-radius: 12px;
    padding: 8px 0;
    z-index: 10000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all .3s ease;
}

.dc-about-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dc-about-menu a {
    display: block;
    padding: 10px 18px;
    color: #e0e6ed;
    text-decoration: none;
    font-size: 13px;
    transition: all .2s ease;
    border-right: 2px solid transparent;
}

.dc-about-menu a:hover {
    background: rgba(212, 175, 55, .1);
    color: #f9e596;
    border-right-color: #d4af37;
}

@media (max-width: 768px) {
    .dc-about-menu-toggle { top: 15px; right: 15px; width: 38px; height: 38px; }
    .dc-about-menu { top: 62px; right: 15px; min-width: 180px; }
    .dc-about-menu a { font-size: 12px; padding: 9px 16px; }
}

/* =========================================================
   Hero
   ========================================================= */

.dc-about-hero {
    position: relative;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(212, 175, 55, .25);
}

.dc-about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 8, 15, .3) 0%, rgba(5, 8, 15, .9) 100%);
    z-index: 1;
}

.dc-about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
}

.dc-about-hero-title {
    margin: 0 0 10px;
    font-size: 2.4rem;
    font-weight: 700;
    color: #f9e596;
    text-shadow: 0 0 30px rgba(212, 175, 55, .7), 0 2px 12px rgba(0, 0, 0, .9);
    letter-spacing: 2px;
}

.dc-about-hero-subtitle {
    margin: 0;
    font-size: 1rem;
    color: #9aa8b9;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .9);
}

/* =========================================================
   Container
   ========================================================= */

.dc-about-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 30px 24px 60px;
    box-sizing: border-box;
}

/* =========================================================
   Tabs
   ========================================================= */

.dc-about-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    padding: 8px;
    background: rgba(10, 15, 29, .75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, .25);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .6);
    flex-wrap: wrap;
    justify-content: center;
}

.dc-about-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 10px;
    text-decoration: none;
    color: #9aa8b9;
    font-weight: 600;
    font-size: .95rem;
    transition: all .25s ease;
    border: 1px solid transparent;
}

.dc-about-tab:hover {
    color: #f9e596;
    background: rgba(212, 175, 55, .08);
    border-color: rgba(212, 175, 55, .3);
}

.dc-about-tab.is-active {
    background: rgba(212, 175, 55, .18);
    color: #f9e596;
    border-color: rgba(212, 175, 55, .6);
    box-shadow: 0 0 20px rgba(212, 175, 55, .25);
    text-shadow: 0 0 10px rgba(212, 175, 55, .5);
}

.dc-about-tab-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: currentColor;
}

/* =========================================================
   Content (Read-Only)
   ========================================================= */

.dc-readonly-content {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

.dc-about-article {
    width: 100%;
    max-width: 100%;
    padding: 30px 24px;
    background: rgba(10, 15, 29, .78);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, .25);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .6);
    line-height: 2.1;
    font-size: 15px;
    color: #e0e6ed;
    text-align: justify;
}

.dc-about-section-title {
    margin: 40px 0 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f9e596;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(212, 175, 55, .4);
    text-shadow: 0 0 20px rgba(212, 175, 55, .5);
}

.dc-about-section-title:first-child {
    margin-top: 0;
}

.dc-about-subtitle {
    margin: 28px 0 14px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #d4af37;
    padding-right: 12px;
    border-right: 3px solid #d4af37;
    text-shadow: 0 0 15px rgba(212, 175, 55, .4);
}

.dc-about-article p {
    margin: 0 0 16px;
    line-height: 2.1;
}

.dc-about-quote {
    margin: 20px 0;
    padding: 16px 20px;
    background: rgba(212, 175, 55, .08);
    border-right: 4px solid #d4af37;
    border-radius: 8px;
    color: #f9e596;
    font-style: italic;
    font-size: 1rem;
    line-height: 2;
    text-align: center;
}

.dc-about-list {
    margin: 16px 0;
    padding-right: 24px;
    line-height: 2;
}

.dc-about-list li {
    margin-bottom: 10px;
    padding-right: 6px;
}

.dc-about-list--ordered {
    list-style-type: persian;
}

.dc-about-list strong {
    color: #d4af37;
}

.dc-about-divider {
    margin: 40px 0;
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, .5), transparent);
}

.dc-about-signature {
    text-align: left;
    font-style: italic;
    color: #d4af37;
    font-size: .95rem;
    margin-top: 30px;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 768px) {
    .dc-about-hero { height: 220px; }
    .dc-about-hero-title { font-size: 1.8rem; }
    .dc-about-hero-subtitle { font-size: .9rem; }

    .dc-about-container { padding: 20px 14px 40px; }

    .dc-about-tabs { padding: 6px; gap: 4px; }
    .dc-about-tab {
        flex: 1;
        justify-content: center;
        padding: 9px 12px;
        font-size: .82rem;
    }
    .dc-about-tab-icon { width: 16px; height: 16px; }

    .dc-about-article {
        padding: 20px 16px;
        font-size: 14px;
        line-height: 2;
    }

    .dc-about-section-title { font-size: 1.2rem; margin: 30px 0 16px; }
    .dc-about-subtitle { font-size: 1rem; margin: 22px 0 12px; }
    .dc-about-quote { padding: 12px 16px; font-size: .9rem; }
}