﻿.hero-legal {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e8ba3 100%);
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-legal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 40%, rgba(255,255,255,0.1) 0%, transparent 50%),
                            radial-gradient(circle at 75% 70%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-legal .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-legal h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
}

.hero-legal .tagline {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255,255,255,0.95);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-legal .update-notice {
    display: inline-block;
    margin-top: 25px;
    padding: 10px 25px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
}

.content-wrapper{
        max-width: 900px;
        margin: 40px auto;
        padding: 0 20px;
}

.legal-card {
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid #e9ecef;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.legal-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 70%;
    background: linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 3px;
}

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

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section p strong {
    color: #1e3c72;
    font-weight: 600;
}

.legal-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.legal-link-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #1e3c72;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.legal-link-card:hover {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.legal-link-card:hover .link-icon,
.legal-link-card:hover .link-text h3,
.legal-link-card:hover .link-text p {
    color: white;
}

.link-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.legal-link-card:hover .link-icon {
    background: white;
    color: #1e3c72;
}

.link-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.link-text p {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0;
    transition: color 0.3s ease;
}

.important-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 25px 30px;
    border-radius: 12px;
    border-left: 5px solid #ffc107;
    margin: 30px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.notice-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: #ffc107;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.3rem;
}

.notice-text {
    color: #856404;
    font-size: 1.05rem;
    line-height: 1.7;
}

.notice-text strong {
    font-weight: 700;
}

@media (max-width: 768px) {
    .hero-legal {
        padding: 80px 20px 60px;
    }

    .legal-card {
        padding: 35px 25px;
    }

    .legal-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .legal-card {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .legal-section h2 {
        padding-left: 15px;
    }

    .important-notice {
        padding: 20px;
    }
}