/* ABOUT PAGE (THE ORIGIN) - Side-by-Side Layout */
.about-container {
    display: flex;
    flex-direction: row; 
    gap: 60px;
    align-items: flex-start;
    margin-top: 40px;
    width: 100%;
}

.profile-stats {
    flex: 0 0 250px; /* Width for the side column */
    border-right: var(--border-style);
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: left;
}

/* Candle Image Styling */
.candle-frame {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.candle-image {
    width: 80px; /* Reduced size for a neat appearance */
    height: auto;
    filter: drop-shadow(0 0 8px var(--accent-red));
    opacity: 0.8;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-family: 'Cinzel', serif;
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: var(--accent-red);
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--accent-white);
    letter-spacing: 1px;
}

.about-sigil {
    width: 50px;
    margin-top: 10px;
    opacity: 0.3;
}

/* Bio Text Adjustments */
.bio-text {
    flex: 1;
    text-align: justify;
}

.bio-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Mobile Responsive */
@media (max-width: 850px) {
    .about-container {
        flex-direction: column;
        align-items: center;
    }
    .profile-stats {
        flex: none;
        border-right: none;
        border-bottom: var(--border-style);
        padding-right: 0;
        padding-bottom: 40px;
        width: 100%;
        max-width: 400px;
        align-items: center;
        text-align: center;
    }
    .candle-frame {
        justify-content: center;
    }
}

/* Contact/Links Page Fixes */
.links-container {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.link-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
    border: var(--border-style);
    background: rgba(15, 0, 4, 0.4);
    text-decoration: none;
    color: var(--text-color); /* Theme gray/white instead of blue */
    transition: all 0.4s ease;
}

.link-card:hover {
    background: rgba(158, 0, 36, 0.15);
    border-color: var(--bright-red);
    transform: translateY(-3px);
}

.link-label {
    font-family: 'Cinzel', serif;
    color: var(--accent-red); /* Title of card is red */
    font-weight: 700;
    letter-spacing: 2px;
}

.link-desc {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.8;
}

/* Archives & Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
}

.gallery-item {
    border: var(--border-style);
    padding: 10px;
    background: rgba(10, 10, 10, 0.5);
}

.gallery-item img {
    width: 100%;
    height: auto;
    filter: grayscale(0.5) contrast(1.2);
}

.img-caption {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    margin-top: 10px;
    color: var(--accent-red);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .button-grid { grid-template-columns: 1fr; }
}
/* JOURNAL (CHRONICLES) */
.log-entry {
    max-width: 600px;
    width: 100%;
    margin-bottom: 60px;
}

.entry-date {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem; /* Slightly larger for readability */
    color: var(--accent-red); /* This matches the theme red */
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}