* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tektur', sans-serif;
}

body {
    background-color: #131314;
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER (Как на Index) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(19, 19, 20, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    margin-right: auto;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #f0f600;
}

.logo span { color: #ff3cc7; }

/* Навигация */
.nav-links {
    display: flex;
    gap: 30px;
    margin: 0 40px;
}

.nav-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active-link {
    color: #f0c808;
    text-shadow: 0 0 10px rgba(240, 200, 8, 0.3);
}

/* Соцсети */
.header-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 16px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-icon:hover {
    background: #f0c808;
    color: #000;
    border-color: #f0c808;
    transform: translateY(-2px);
}

main {
    margin-top: 180px; 
    padding: 0 0 50px 0; 
    position: relative;
    z-index: 1;
}

.agreement-section {
    max-width: 900px;
    margin: 0 auto;
}

.agreement-section {
    max-width: 900px;
    margin: 0 auto;
}

.page-title {
    text-align: center;
    font-size: 36px;
    color: #fff;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #f0c808, #ff3cc7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    text-align: center;
    color: #888;
    font-size: 16px;
    margin-bottom: 40px;
}

/* БЛОК С ТЕКСТОМ */
.agreement-box {
    background: #181819;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
    font-family: 'Comfortaa', cursive; /* Чуть более мягкий шрифт для чтения */
}

.term-block {
    margin-bottom: 30px;
}

.term-block h2 {
    color: #f0c808;
    font-family: 'Tektur', sans-serif;
    font-size: 20px;
    margin-bottom: 15px;
    border-left: 3px solid #ff3cc7;
    padding-left: 15px;
}

.term-block p {
    color: #ccc;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.term-block ul {
    list-style: none;
    padding-left: 20px;
}

.term-block li {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.term-block li::before {
    content: "•";
    color: #ff3cc7;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.term-block strong {
    color: #fff;
}

.last-update {
    margin-top: 40px;
    text-align: right;
    font-size: 12px;
    color: #555;
    font-style: italic;
    border-top: 1px solid #2a2a2a;
    padding-top: 20px;
}

/* FOOTER (как на index) */
footer {
    background: rgba(10, 10, 10, 0.9);
    padding: 50px 0 20px;
    border-top: 1px solid #40531b;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: #f0c808;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdb009;
    transition: color 0.3s;
    text-decoration: none;
}

.footer-links a:hover {
    color: #00e5e8;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #40531b;
    color: #618b4a;
    font-size: 14px;
    position: relative;
}

.author-signature {
    position: absolute;
    bottom: 5px;
    right: 10px;
    color: transparent;
    font-size: 1px;
    user-select: none;
}
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        margin: 10px 0;
        gap: 20px;
    }
}