:root {
    --bg-gradient: linear-gradient(180deg, #1a1f35 0%, #2d3447 100%);
    --text-color: #FFFFFF;
    --text-muted: #CBD5E0;
    --accent-pink: #EC4899;
    --accent-pink-gradient: linear-gradient(135deg, #F472B6 0%, #EC4899 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --font-mincho: 'Shippori Mincho', serif;
    --font-gothic: 'Noto Sans JP', sans-serif;
}

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

body {
    background: var(--bg-gradient);
    color: var(--text-color);
    font-family: var(--font-gothic);
    line-height: 1.8;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-mincho);
    font-weight: 700;
}

h1 {
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight-text {
    color: var(--accent-pink);
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    margin-bottom: 40px;
    width: 100%;
}

.diagnosis-badge {
    background-color: #dbeafe;
    color: #1e40af;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-image {
    width: 220px;
    height: auto;
    margin: 20px auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

/* Glass Box (Common Container) */
.glass-box {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 30px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.glass-box p {
    margin-bottom: 16px;
    font-size: 15px;
}

.glass-box p:last-child {
    margin-bottom: 0;
}

/* Interactive Checkbox */
.check-list {
    list-style: none;
    margin-top: 15px;
}

.check-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.check-item:hover {
    background: rgba(0, 0, 0, 0.5);
}

.check-item input[type="checkbox"] {
    accent-color: var(--accent-pink);
    transform: scale(1.2);
}

/* Offer Section */
.offer-box {
    background: #fff;
    /* White bg for contrast */
    color: #333;
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.offer-title {
    font-size: 20px;
    font-weight: bold;
    color: #1a1f35;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.offer-points {
    text-align: left;
    margin-bottom: 20px;
    font-size: 15px;
}

.offer-points li {
    margin-bottom: 8px;
    list-style: none;
}

/* CTA Button */
.cta-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--accent-pink-gradient);
    color: white;
    text-decoration: none;
    padding: 16px 0;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
    transition: transform 0.1s;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button:active {
    transform: scale(0.98);
}

.micro-copy {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
    text-align: center;
}

/* Footer */
footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
}

.disclaimer {
    margin-bottom: 10px;
    line-height: 1.5;
    opacity: 0.7;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background-color: #fff;
    padding: 40px 24px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.modal-content h2 {
    font-size: 20px;
    margin-bottom: 24px;
    color: #333;
    font-weight: bold;
    font-family: var(--font-mincho);
}

.result-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 32px;
    color: #444;
    font-family: var(--font-gothic);
}