/**
 * Github : https://github.com/Kurama250
 * @author Kurama250
 */

body.legal-page {
    --v-bg: #14161f;
    --v-surface: #1c1f2a;
    --v-surface-2: #252936;
    --v-border: rgba(255, 255, 255, 0.1);
    --v-muted: #a8aebb;
    --v-text: #f0f2f6;
    --v-accent-soft: rgba(88, 101, 242, 0.18);
    margin: 0;
    padding: 0;
    font-family: var(--v-font);
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(88, 101, 242, 0.12), transparent),
        var(--v-bg);
    color: var(--v-text);
    line-height: 1.6;
    min-height: 100vh;
}

body.legal-page header {
    background: rgba(28, 31, 42, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--v-border);
    padding: 1rem 0;
    position: relative;
}

body.legal-page .nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

body.legal-page .lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

body.legal-page .logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

body.legal-page .logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

body.legal-page footer .logo-img {
    width: 30px;
    height: 30px;
}

body.legal-page .logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--v-text);
}

body.legal-page .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

body.legal-page .return-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--v-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-bottom: 1rem;
}

body.legal-page .return-link:hover {
    color: var(--v-accent);
}

body.legal-page .policy-card {
    background: var(--v-surface);
    border: 1px solid var(--v-border);
    border-radius: var(--v-radius-lg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    padding: 2.5rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

body.legal-page .policy-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

body.legal-page h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    color: var(--v-text);
}

body.legal-page h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--v-accent);
    border-radius: 2px;
}

body.legal-page h1 span {
    color: var(--v-accent);
}

body.legal-page .section {
    margin: 2.5rem 0;
    position: relative;
}

body.legal-page .section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--v-accent);
}

body.legal-page .section p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: var(--v-text);
}

body.legal-page .privacy-icon {
    font-size: 3.5rem;
    color: var(--v-accent);
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
}

body.legal-page .icon-container {
    background: var(--v-accent-soft);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2rem;
}

body.legal-page .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

body.legal-page .feature-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--v-surface-2);
    border: 1px solid var(--v-border);
    border-radius: var(--v-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.legal-page .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

body.legal-page .feature-icon {
    font-size: 2.2rem;
    color: var(--v-accent);
    margin-bottom: 1rem;
}

body.legal-page .feature-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

body.legal-page .feature-item p {
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
    color: var(--v-text);
}

body.legal-page .legal-contact-row {
    display: flex;
    justify-content: center;
    margin-top: 0.85rem;
}

body.legal-page .section .legal-contact-row {
    justify-content: flex-start;
    margin-bottom: 0.5rem;
}

body.legal-page .legal-mail-btn {
    text-decoration: none;
    width: 100%;
    max-width: 100%;
}

body.legal-page .legal-cta-wrap {
    display: flex;
    justify-content: center;
    margin: 2rem 0 0;
}

body.legal-page .legal-inline-link {
    color: var(--v-accent);
    font-weight: 700;
    text-decoration: none;
}

body.legal-page .legal-inline-link:hover {
    text-decoration: underline;
}

body.legal-page .blob {
    position: absolute;
    opacity: 0.05;
    filter: blur(60px);
    z-index: -1;
}

body.legal-page .blob-1 {
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(var(--v-accent), transparent 70%);
    border-radius: 50%;
}

body.legal-page .blob-2 {
    bottom: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(var(--v-accent), transparent 70%);
    border-radius: 50%;
}

body.legal-page footer {
    background: var(--v-surface);
    border-top: 1px solid var(--v-border);
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

body.legal-page .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

body.legal-page .footer-text {
    font-size: 0.9rem;
    color: var(--v-muted);
}

@media (max-width: 768px) {
    body.legal-page .nav-wrapper {
        padding: 0 1rem;
    }

    body.legal-page .policy-card {
        padding: 1.5rem;
    }

    body.legal-page h1 {
        font-size: 2.2rem;
    }

    body.legal-page .features {
        grid-template-columns: 1fr;
    }
}
