/* Styles for legal pages */
/* Обновленные стили для юридических страниц */
.legal-page {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, rgba(43, 31, 66, 0.8), rgba(30, 119, 108, 0.8));
}

.legal-title {
    position: relative;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.legal-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-blue), var(--coral));
    border-radius: 2px;
}

.legal-content {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.legal-last-updated {
    text-align: right;
    font-style: italic;
    color: #a8a8a8;
    margin-bottom: 30px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.legal-content h2 {
    font-size: 1.6rem;
    margin: 40px 0 20px;
    color: var(--neon-blue);
    position: relative;
    padding-bottom: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--coral));
    border-radius: 1.5px;
}

.legal-content h2:first-of-type {
    margin-top: 10px;
}

.legal-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--ivory);
}

.legal-content h4 {
    font-size: 1.2rem;
    margin: 25px 0 15px;
    color: var(--coral);
}

.legal-content p {
    margin-bottom: 18px;
    line-height: 1.7;
    color: #e0e0e0;
}

.legal-content ul, .legal-content ol {
    margin: 0 0 25px 20px;
    padding-left: 15px;
}

.legal-content ul li, .legal-content ol li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #e0e0e0;
}

.legal-contact {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px 25px;
    list-style: none;
    margin-left: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

.legal-contact li {
    padding: 14px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-contact li:last-child {
    border-bottom: none;
}

.legal-icon-email::before,
.legal-icon-phone::before,
.legal-icon-address::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 28px;
    margin-right: 15px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.legal-icon-email::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233AC1FF' d='M20,8L12,13L4,8V6L12,11L20,6M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z'/%3E%3C/svg%3E");
}

.legal-icon-phone::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233AC1FF' d='M6.62,10.79C8.06,13.62 10.38,15.94 13.21,17.38L15.41,15.18C15.69,14.9 16.08,14.82 16.43,14.93C17.55,15.3 18.75,15.5 20,15.5A1,1 0 0,1 21,16.5V20A1,1 0 0,1 20,21A17,17 0 0,1 3,4A1,1 0 0,1 4,3H7.5A1,1 0 0,1 8.5,4C8.5,5.25 8.7,6.45 9.07,7.57C9.18,7.92 9.1,8.31 8.82,8.59L6.62,10.79Z'/%3E%3C/svg%3E");
}

.legal-icon-address::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233AC1FF' d='M12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5M12,2A7,7 0 0,0 5,9C5,14.25 12,22 12,22C12,22 19,14.25 19,9A7,7 0 0,0 12,2Z'/%3E%3C/svg%3E");
}

.legal-back-home {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-button {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(90deg, var(--neon-blue), var(--coral));
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(58, 193, 255, 0.4);
    letter-spacing: 0.5px;
}

.legal-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(58, 193, 255, 0.6);
}

/* Стили таблиц для страницы cookies */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.legal-table th {
    background: rgba(58, 193, 255, 0.2);
    color: #ffffff;
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid rgba(58, 193, 255, 0.3);
}

.legal-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.legal-content a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px dotted rgba(58, 193, 255, 0.5);
}

.legal-content a:hover {
    color: var(--coral);
    border-bottom-color: var(--coral);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 40px;
    }
    
    .legal-title {
        font-size: 2rem;
    }
    
    .legal-content {
        padding: 25px 20px;
    }
    
    .legal-content h2 {
        font-size: 1.4rem;
    }
    
    .legal-content h3 {
        font-size: 1.25rem;
    }
    
    .legal-table {
        display: block;
        overflow-x: auto;
    }
} 