/* Styles for Legal Pages (Privacy Policy, Disclaimer, Terms, Cookie Policy) */

.legal-page {
    padding: 120px 0 80px;
    background-color: var(--bg-color);
    position: relative;
}

.legal-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--additional-color) 100%);
    opacity: 0.1;
    z-index: 0;
}

.legal-page .container {
    position: relative;
    z-index: 1;
}

.legal-page h1 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.legal-page h1::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--additional-color));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.legal-content {
    background-color: var(--text-light);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--accent-color);
}

.legal-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(165, 224, 50, 0.1) 0%, rgba(165, 224, 50, 0) 70%);
    z-index: 0;
}

.legal-content > *:first-child {
    margin-top: 0;
}

.legal-content > p:first-of-type {
    color: #777;
    font-style: italic;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

.legal-content h2 {
    font-size: 1.5rem;
    text-align: left;
    margin-top: 40px;
    margin-bottom: 15px;
    position: relative;
    color: var(--text-dark);
    padding-left: 15px;
    border-left: 3px solid var(--accent-color);
}

.legal-content h2::after {
    display: none;
}

.legal-content p, .legal-content ul {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #444;
}

.legal-content ul {
    padding-left: 20px;
    list-style-type: none;
}

.legal-content li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.legal-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.legal-content a {
    color: var(--additional-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.legal-content a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.back-btn {
    display: block;
    max-width: 250px;
    margin: 0 auto;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.back-btn::before {
    content: '←';
    margin-right: 10px;
}

.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
    }
    
    .legal-content {
        padding: 30px 20px;
    }
    
    .legal-page h1 {
        font-size: 2rem;
    }
    
    .legal-content h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding: 80px 0 40px;
    }
    
    .legal-content {
        padding: 20px 15px;
    }
    
    .legal-page h1 {
        font-size: 1.8rem;
    }
    
    .legal-content h2 {
        font-size: 1.2rem;
        padding-left: 10px;
    }
} 