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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

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

.header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.header h1:hover { transform: scale(1.05); }

.img-match-h1 {
    height: 1.25em;
    width: auto;
    vertical-align: text-bottom;
}

.back-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #333;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
}

.back-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.legal-content {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 40px;
}

.legal-content h1 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #667eea;
    padding-bottom: 15px;
}

.legal-content h2 {
    color: #667eea;
    font-size: 1.6rem;
    margin: 30px 0 15px;
}

.legal-content h3 {
    color: #764ba2;
    font-size: 1.3rem;
    margin: 20px 0 10px;
}

.legal-content p {
    margin-bottom: 15px;
    color: #444;
}

.legal-content ul, .legal-content ol {
    margin-left: 30px;
    margin-bottom: 15px;
}

.legal-content li {
    margin-bottom: 8px;
    color: #444;
}

.legal-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.legal-content a:hover { text-decoration: underline; }
.legal-content strong { color: #2c3e50; }

.contact-info {
    background: rgba(102, 126, 234, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #667eea;
}

.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    font-weight: 600;
}

tr:hover { background: rgba(102, 126, 234, 0.05); }

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .legal-content { padding: 25px; }
    .legal-content h1 { font-size: 1.8rem; }
    .legal-content h2 { font-size: 1.4rem; }
    .legal-content h3 { font-size: 1.2rem; }
    .header h1 { font-size: 2rem; }
}
