/* Legal Pages Styles */

.legal-page {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.legal-title {
    font-family: 'League Spartan', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    line-height: 1.2;
}

.legal-intro {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 20px;
    line-height: 1.8;
}

.legal-section {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #e2e8f0;
}

.legal-section:first-of-type {
    border-top: none;
}

.legal-section h2 {
    font-family: 'League Spartan', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #4A5DA3;
    margin-bottom: 20px;
}

.legal-section h3 {
    font-family: 'League Spartan', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    margin: 25px 0 15px;
}

.legal-section p {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    margin: 15px 0 15px 20px;
    padding-left: 20px;
}

.legal-section li {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 10px;
    list-style-type: disc;
}

.legal-section a {
    color: #4A5DA3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: #2d3748;
    text-decoration: underline;
}

.legal-section strong {
    color: #2d3748;
    font-weight: 600;
}

.legal-back {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    background: #4A5DA3;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 93, 163, 0.3);
}

.btn-secondary:hover {
    background: #3d4d87;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 93, 163, 0.4);
}

/* Contact Form Styles */
.contact-form {
    max-width: 700px;
    margin: 40px auto;
}

/* Form Messages */
.form-message {
    max-width: 700px;
    margin: 0 auto 30px;
    padding: 20px 25px;
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.6;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.form-message-success {
    background-color: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
}

.form-message-error {
    background-color: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
}

.form-message-info {
    background-color: #d1ecf1;
    border: 2px solid #17a2b8;
    color: #0c5460;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: 'League Spartan', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'League Spartan', sans-serif;
    font-size: 1rem;
    color: #2d3748;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A5DA3;
    background: white;
    box-shadow: 0 0 0 3px rgba(74, 93, 163, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    text-align: center;
    margin-top: 35px;
}

.btn-submit {
    display: inline-block;
    padding: 16px 40px;
    background: #4A5DA3;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 93, 163, 0.3);
}

.btn-submit:hover {
    background: #3d4d87;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 93, 163, 0.4);
}

/* About Page Specific */
.about-section {
    margin: 30px 0;
}

.value-card {
    background: #f7fafc;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid #4A5DA3;
}

.value-card h3 {
    color: #4A5DA3;
    margin-top: 0;
    margin-bottom: 12px;
}

.value-card p {
    margin-bottom: 0;
    color: #4a5568;
}

.team-info {
    background: linear-gradient(135deg, #4A5DA3 0%, #6b7db8 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
}

.team-info h3 {
    color: white;
    margin-bottom: 15px;
}

.team-info p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
}

/* Community Rules Styles */
.community-rules {
    background: #f7fafc;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
}

.rule-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.rule-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.rule-item h4 {
    color: #4A5DA3;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.rule-item p {
    color: #4a5568;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-content {
        padding: 40px 25px;
    }

    .legal-title {
        font-size: 2.2rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.2rem;
    }

    .legal-section p,
    .legal-section li {
        font-size: 1rem;
    }

    .contact-form {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding: 80px 0 60px;
    }

    .legal-content {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .legal-title {
        font-size: 1.8rem;
    }

    .btn-secondary,
    .btn-submit {
        width: 100%;
        text-align: center;
    }
}
