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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #fdf2f8 0%, #fff1f2 30%, #fce7f3 70%, #fdf2f8 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    margin: 0;
    gap: 1.5rem;
}

.card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 2rem;
    padding: 2.5rem 2rem 2rem;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06), 0 8px 20px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.avatar-wrapper {
    margin: 0 auto 1.5rem;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, #f9a8d4, #fbcfe8, #fce7f3);
    box-shadow: 0 10px 28px rgba(236, 72, 153, 0.2);
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

h1 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #2d1b2e;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.description {
    font-size: 1.1rem;
    font-weight: 400;
    color: #6b5b6b;
    margin-bottom: 2rem;
    line-height: 1.6;
    padding: 0 0.5rem;
}

.description span {
    font-weight: 500;
    color: #be185d;
    background: linear-gradient(135deg, #be185d, #9d174d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
    padding: 0.9rem 2.5rem;
    border-radius: 3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.35);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(236, 72, 153, 0.45);
    background: linear-gradient(135deg, #f9a8d4 0%, #f472b6 100%);
}

.btn:active {
    transform: translateY(0px);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::after {
    left: 100%;
}

.footer-note {
    margin-top: 1.8rem;
    font-size: 0.8rem;
    color: #a08da0;
    letter-spacing: 0.2px;
}

.footer-note a {
    color: #be185d;
    text-decoration: none;
    font-weight: 500;
}

/* Site footer */
.site-footer {
    text-align: center;
    font-size: 0.8rem;
    color: #a08da0;
    letter-spacing: 0.2px;
    line-height: 1.8;
}

.site-footer a {
    color: #be185d;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.site-footer a:hover {
    opacity: 0.7;
}

/* Privacy Policy Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(45, 27, 46, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1000;
}

.modal:target {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    cursor: default;
}

.modal-content {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 1.5rem;
    max-width: 640px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.modal-body {
    overflow-y: auto;
    padding: 2.5rem 2rem;
    text-align: left;
    color: #4a3b4a;
    line-height: 1.7;
}

.modal-body h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d1b2e;
    margin-bottom: 0.3rem;
}

.modal-updated {
    font-size: 0.85rem;
    color: #a08da0;
    margin-bottom: 1.5rem;
}

.modal-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #be185d;
    margin-top: 1.4rem;
    margin-bottom: 0.4rem;
}

.modal-body p,
.modal-body ul {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.modal-body ul {
    padding-left: 1.3rem;
}

.modal-body li {
    margin-bottom: 0.3rem;
}

.modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    font-size: 1.6rem;
    line-height: 1;
    color: #a08da0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.modal-close:hover {
    color: #be185d;
    transform: scale(1.08);
}

@media (max-width: 480px) {
    body {
        padding: 1rem;
    }
    .card {
        padding: 2rem 1.5rem 1.8rem;
        border-radius: 1.8rem;
    }
    .avatar-wrapper {
        width: 160px;
        height: 160px;
    }
    h1 {
        font-size: 2rem;
    }
    .description {
        font-size: 0.95rem;
    }
    .btn {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }
    .modal-body {
        padding: 2rem 1.3rem;
    }
    .modal-body h2 {
        font-size: 1.5rem;
    }
}

        .redirect-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            gap: 1.5rem;
            padding: 2rem;
            max-width: 400px;
            width: 100%;
        }

        .spinner {
            width: 70px;
            height: 70px;
            border: 5px solid rgba(255, 255, 255, 0.55);
            border-top: 5px solid #ec4899;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            filter: drop-shadow(0 4px 12px rgba(236, 72, 153, 0.35));
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .redirect-text {
            font-size: 1.15rem;
            font-weight: 500;
            color: #2d1b2e;
            line-height: 1.7;
        }

        .redirect-text span {
            font-weight: 700;
            color: #be185d;
            font-size: 1.35rem;
        }

        .redirect-note {
            font-size: 0.85rem;
            color: #a08da0;
            letter-spacing: 0.2px;
            margin-top: 0.25rem;
        }