:root {
    --bg-1: #e8f4f8;
    --bg-2: #d4e8f0;
    --accent: #4a9fd8;
    --accent-2: #7cb9e8;
    --accent-light: #b8ddf0;
    --muted: #5a6b75;
    --shadow: 0 6px 30px rgba(74, 159, 216, 0.15);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Poppins, sans-serif;
    background: linear-gradient(var(--bg-1), var(--bg-2));
    overflow-x: hidden;
}

.page-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(600px 180px at 10% 10%, rgba(180, 220, 240, 0.3), transparent),
        radial-gradient(500px 160px at 90% 85%, rgba(200, 230, 245, 0.3), transparent);
    pointer-events: none;
}

.wrap {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.card {
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 16px;
    border: 1px solid rgba(180, 220, 240, 0.5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow);
    animation: fadeIn .8s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
}

h1 {
    font-family: 'Sawarabi Mincho', serif;
    font-size: 32px;
    margin: 0 0 10px;
    color: #2a5a7a;
}

.subtitle {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

.lead {
    font-size: 15px;
    line-height: 1.6;
    color: #3a5a6a;
}

mark {
    background: #d4e8f5;
    padding: 2px 4px;
    border-radius: 4px;
}

.row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.pill {
    padding: 6px 12px;
    background: linear-gradient(180deg, var(--accent-light), #fff);
    border-radius: 50px;
    font-size: 13px;
    border: 1px solid rgba(74, 159, 216, 0.2);
}

.btn-row,
.actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.btn {
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    background: linear-gradient(180deg, #fff, var(--accent));
    text-decoration: none;
    color: #1a4a6a;
    transition: transform .2s, box-shadow .2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 159, 216, 0.3);
}

.btn.secondary {
    background: transparent;
    border: 1px solid rgba(74, 159, 216, 0.3);
    color: var(--accent);
}

.side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 180px;
    height: 180px;
    overflow: hidden;
    border-radius: 16px;
    border: 2px solid rgba(74, 159, 216, 0.2);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile {
    text-align: center;
}

.profile strong {
    font-size: 16px;
    color: #2a5a7a;
}

.role {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
}

.more {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.more h2 {
    color: #2a5a7a;
}

.footer {
    text-align: center;
    padding: 20px 0 60px;
    color: var(--muted);
}

.theme-toggle {
    position: fixed;
    top: 18px;
    right: 20px;
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

.toggle {
    width: 44px;
    height: 28px;
    border-radius: 50px;
    padding: 4px;
    border: 1px solid rgba(74, 159, 216, 0.4);
    background: #e8f4f8;
    cursor: pointer;
    transition: .3s;
    display: flex;
    align-items: center;
}

.toggle.toggled {
    justify-content: flex-end;
    background: #b8ddf0;
}

.toggle .dot {
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    transition: .3s;
}

.raindrops {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .card {
        grid-template-columns: 1fr;
    }

    .side {
        flex-direction: row;
        justify-content: space-around;
    }

    .avatar {
        width: 120px;
        height: 120px;
    }
}