:root {
    --primary: #5a4636;
    --accent: #d2ad53;
    --soft-peach: #fff6ea;
    --white: #ffffff;
    --bg-color: #fffcf9;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html, body {
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #fffcf9 0%, #f9f0e5 100%);
    color: var(--primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    animation: fadeInPage 0.5s ease-in-out forwards;
}

@keyframes fadeInPage {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.side-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.decor-img {
    position: absolute;
    opacity: 0.12;
    animation: floatAnim ease-in-out infinite alternate;
}

@keyframes floatAnim {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-25px) rotate(4deg); }
}

.decor-left-1 { top: 8%; left: -2%; width: 180px; height: auto; animation-duration: 8s; }
.decor-right-1 { top: 25%; right: 2%; width: 220px; height: auto; animation-duration: 11s; animation-delay: -2s; scale: -1 1; }
.decor-left-2 { top: 60%; left: 3%; width: 160px; height: auto; animation-duration: 9s; animation-delay: -1s; }
.decor-right-2 { top: 78%; right: 4%; width: 190px; height: auto; animation-duration: 10s; animation-delay: -1.5s; scale: -1 1; }

@media (max-width: 900px) {
    .side-decorations { display: none; }
}

.container {
    max-width: 840px;
    margin: 40px auto;
    padding: 45px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(90, 70, 54, 0.06);
    border: 1px solid rgba(210, 173, 83, 0.2);
    position: relative;
    z-index: 10;
    flex: 1;
    width: calc(100% - 40px);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff8ef;
    border: 1px solid rgba(210, 173, 83, 0.35);
    border-radius: 50px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 28px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

h1 {
    font-family: 'Lora', serif;
    font-size: 2.3rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 25px;
    line-height: 1.3;
    text-align: center;
}

h2 {
    font-family: 'Lora', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #9c7820;
    margin-top: 32px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(210, 173, 83, 0.2);
}

p {
    margin-bottom: 16px;
    font-size: 0.98rem;
    color: #5a4636;
    line-height: 1.75;
}

ul {
    margin: 12px 0 20px 24px;
    color: #5a4636;
}

li {
    margin-bottom: 8px;
    font-size: 0.98rem;
    line-height: 1.6;
}

strong {
    color: var(--primary);
}

a {
    color: var(--accent);
    text-decoration: underline;
    transition: color 0.2s;
}

a:hover {
    color: #9c7820;
}

.global-footer {
    text-align: center;
    padding: 25px 20px 0px 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px !important;
    position: relative;
    z-index: 10;
}

.global-footer p { 
    font-size: 13px !important; 
    line-height: 1.5; 
    margin: 0; 
    color: #666;
}

.global-footer-links { 
    margin-top: 8px !important; 
    margin-bottom: 0 !important;
}

.global-footer a { 
    color: var(--primary) !important; 
    text-decoration: underline; 
    margin: 0 8px; 
    font-weight: 600; 
    font-size: 13px !important;
    cursor: pointer;
}

.global-footer a:hover { 
    color: var(--accent) !important; 
}

.obsidus-credit {
    text-align: center;
    padding: 8px 20px 25px 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #777;
    font-size: 12px !important;
    position: relative;
    z-index: 10;
}

.obsidus-credit img { 
    height: 32px !important; 
    vertical-align: middle; 
    margin-left: 6px; 
}

@media (max-width: 768px) {
    .container {
        margin: 20px auto;
        padding: 25px 18px;
        width: calc(100% - 24px);
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.2rem;
    }
}
