/* includes/styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'MedievalSharp', cursive;
}

.logo 
{
    text-align: center;
}

body {
    background: radial-gradient(circle at center, #0b0a1d, #02010a);
    color: #e0e0d8;
    min-height: 100vh;
    padding: 2rem;
    line-height: 1.6;
}

.profile-container {
    max-width: 800px;
    margin: 0 auto;
}

.profile-card {
    background: linear-gradient(145deg, #1a1825 0%, #0f0e17 100%);
    border: 3px double #4a465e;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 0 25px rgba(94, 234, 212, 0.1);
    position: relative;
    margin-bottom: 2rem;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid #3a536b;
    border-radius: 12px;
    z-index: -1;
}

.character-image {
    width: 100%;
    max-width: 400px;
    height: 350px;
    border: 5px ridge #5e5b7a;
    margin: 1rem auto;
    filter: sepia(0.3) contrast(1.1);
    background: linear-gradient(45deg, #2d2b3a, #3a3750);
    clip-path: polygon(5% 0, 95% 0, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0 95%, 0 5%);
}

.journal-toggle {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 2rem;
    background: linear-gradient(to bottom, #3a3750, #2a2838);
    color: #c5b58a;
    border: 2px groove #5e5b7a;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.journal-toggle:hover {
    background: linear-gradient(to bottom, #4a475f, #3a3848);
    box-shadow: 0 0 15px rgba(148, 123, 214, 0.4);
    transform: translateY(-2px);
}

.journal-page {
    display: none;
    background: linear-gradient(145deg, #1a1825, #0f0e17);
    border: 3px double #4a465e;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
    position: relative;
}

.journal-page h2 {
    color: #c5a472;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'UnifrakturMaguntia', cursive;
    font-size: 2.5rem;
    text-shadow: 2px 2px 3px rgba(0,0,0,0.7);
}

.journal-links {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.journal-link {
    background: linear-gradient(145deg, #2a2838, #1f1d2a);
    padding: 1.5rem;
    border: 2px groove #5e5b7a;
    color: #c5b58a;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 5px;
    position: relative;
}

.journal-link:hover {
    background: linear-gradient(145deg, #3a3848, #2f2d3a);
    box-shadow: 0 0 15px rgba(148, 123, 214, 0.3);
    transform: translateY(-3px);
}

.journal-link::before {
    content: '✦';
    position: absolute;
    top: 5px;
    left: 5px;
    color: #948bd6;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 2px rgba(148, 123, 214, 0.5));
}

.back-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(to bottom, #3a3750, #2a2838);
    color: #c5b58a;
    border: 2px groove #5e5b7a;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: linear-gradient(to bottom, #4a475f, #3a3848);
    box-shadow: 0 0 10px rgba(148, 123, 214, 0.3);
}

.blog-post {
    display: none;
    background: linear-gradient(145deg, #1a1825, #0f0e17);
    border: 3px double #4a465e;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
}

.blog-post h2 {
    color: #c5a472;
    border-bottom: 2px solid #5e5b7a;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    font-family: 'UnifrakturMaguntia', cursive;
}

.blog-post .date {
    color: #5e5b7a;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.blog-post .content {
    line-height: 1.6;
    margin-bottom: 2rem;
    font-family: 'Crimson Pro', serif;
    font-size: 1.1rem;
    color: #d8d5c7;
}

.error {
    color: #ff6b6b;
    padding: 1rem;
    border: 2px dashed #5e5b7a;
    background: linear-gradient(145deg, #2a2838, #1f1d2a);
    margin: 1rem 0;
    border-radius: 5px;
}

@keyframes glow-pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.7; }
    100% { opacity: 0.3; }
}