
/* Universal Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 100%; }
body {
    background-color: #fdfbf7;
    color: #4a3b32;
    line-height: 1.8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
a { text-decoration: none; color: #a66a38; font-weight: 500; }
a:hover { color: #794c25; text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; margin: 25px auto; border-radius: 10px; box-shadow: 0 6px 12px rgba(139, 90, 43, 0.15); }

/* Header Styling */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 15px 5%;
    border-bottom: 3px solid #d4a373;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(139, 90, 43, 0.1);
}
.logo-area .brand-img {
    height: 55px;
    width: auto;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
}
.header-auth { display: flex; gap: 15px; }
.btn-red-header {
    background: linear-gradient(135deg, #d4a373, #a66a38);
    color: #ffffff !important;
    padding: 10px 25px;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(166, 106, 56, 0.3);
}
.btn-red-header:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(166, 106, 56, 0.5); text-decoration: none; }

/* Main Container */
.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(139, 90, 43, 0.08);
    border: 1px solid #faeddf;
}
h1, h2, h3, h4 { color: #5c3a21; margin-bottom: 20px; margin-top: 35px; line-height: 1.3; }
h1 { font-size: 2.6rem; text-align: center; color: #8d5524; border-bottom: 2px dashed #d4a373; padding-bottom: 15px; }
h2 { font-size: 2rem; border-left: 5px solid #d4a373; padding-left: 15px; }
p { margin-bottom: 20px; font-size: 1.1rem; color: #5e4d41; text-align: justify; }
ul, ol { margin-left: 25px; margin-bottom: 25px; color: #5e4d41; font-size: 1.1rem; }
li { margin-bottom: 12px; }

/* Buttons */
.btn {
    display: block;
    width: fit-content;
    margin: 30px auto;
    padding: 16px 45px;
    font-size: 1.15rem;
    font-weight: bold;
    border-radius: 8px;
    text-align: center;
    color: #fff !important;
    transition: all 0.3s ease;
}
.btn-red { background: linear-gradient(135deg, #d4a373, #8d5524); box-shadow: 0 4px 12px rgba(141, 85, 36, 0.3); }
.btn-red:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(141, 85, 36, 0.5); text-decoration: none; }
.btn-telegram { background: linear-gradient(135deg, #b8860b, #8b6508); box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3); }
.btn-telegram:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(184, 134, 11, 0.5); text-decoration: none;}

/* Footer */
.bottom-footer {
    background-color: #3e2723;
    color: #d7ccc8;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 4px solid #a66a38;
}
.footer-links { margin-top: 20px; display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; }
.footer-links a { color: #d4a373; font-weight: bold; font-size: 1.05rem; }
.footer-links a:hover { color: #fff; }

/* Mobile */
@media (max-width: 768px) {
    .top-header { flex-direction: column; gap: 15px; }
    .header-auth { width: 100%; justify-content: center; }
    .container { padding: 25px; margin: 20px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
}
