:root {
    --primary-color: #c9786b;
    --primary-strong: #9f5a50;
    --primary-soft: #fff6ef;
    --accent-color: #c5a059;
    --accent-bright: #f4e3bf;
    --accent-sky: #f1cfc6;
    --accent-mint: #f4dec5;
    --accent-green: #d8a27b;
    --accent-lime: #ead3ad;
    --accent-yellow: #f1d7a8;
    --accent-lavender: #ead2c9;
    --sponsor-color: #b46a61;
    --sponsor-bright: #f0d3ca;
    --accent-rainbow: linear-gradient(
        90deg,
        #c5a059 0%,
        #d58676 48%,
        #f3d8b6 100%
    );
    --text-dark: #3f2d28;
    --text-light: #8a6f65;
    --surface-color: rgba(255, 250, 242, 0.94);
    --surface-solid: #fffaf2;
    --surface-soft: #fff5ea;
    --surface-cool: #fff6ef;
    --surface-warm: #f8ead7;
    --border-soft: rgba(197, 160, 89, 0.28);
    --border-muted: rgba(180, 106, 97, 0.18);
    --success-color: #c9786b;
    --warning-color: #c5a059;
    --danger-color: #a36c62;
    --focus-ring: rgba(201, 120, 107, 0.24);
    --radius-lg: 1rem;
    --radius-xl: 1.6rem;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --shadow-xl: 0 24px 60px -32px rgba(63, 45, 40, 0.20);
    --shadow-card: 0 14px 30px -24px rgba(63, 45, 40, 0.20);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #fbf4ea;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 36px 20px;
    overflow-x: hidden;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    isolation: isolate;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: #fbf4ea;
    background-image:
        radial-gradient(circle at 12% 8%, rgba(197, 160, 89, 0.20) 0 18%, transparent 38%),
        radial-gradient(circle at 88% 12%, rgba(201, 120, 107, 0.16) 0 20%, transparent 40%),
        linear-gradient(180deg, #fffaf2 0%, #fbf1e7 56%, #f7ead9 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    animation: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    color: #fffaf2;
    background: var(--primary-color);
}

.page-bg {
    position: fixed;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08));
    filter: blur(12px);
    opacity: 0.58;
}

.page-bg--primary {
    top: -100px;
    right: -110px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(244, 222, 197, 0.16), rgba(235, 210, 201, 0.12), transparent 72%);
    animation: none;
}

.page-bg--secondary {
    bottom: -70px;
    left: -70px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(244, 222, 197, 0.12), rgba(235, 210, 201, 0.10), transparent 74%);
    animation: none;
}

.profile-card {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 245, 234, 0.92)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42));
    box-shadow: var(--shadow-xl);
    -webkit-backdrop-filter: blur(18px) saturate(1.18);
    backdrop-filter: blur(18px) saturate(1.18);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.profile-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top right, rgba(197, 160, 89, 0.08), transparent 32%),
        radial-gradient(circle at left bottom, rgba(197, 160, 89, 0.08), transparent 34%);
}

.profile-card:hover {
    box-shadow: 0 30px 76px -38px rgba(63, 45, 40, 0.20);
}

.profile-card__accent {
    width: 100%;
    height: 5px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #c5a059 0%, #d58676 48%, #f3d8b6 100%);
    background-size: 120% 100%;
    animation: none;
}



/* Warm, subtle sweeping-light effects */
.profile-card__accent::after {
    content: "";
    position: absolute;
    top: 0;
    left: -42%;
    width: 42%;
    height: 100%;
    display: block;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.78), transparent);
    transform: skewX(-22deg);
    animation: soft-shine 5.2s ease-in-out infinite;
}

.profile-avatar,
.service-card,
.about-panel,
.stat-card,
.contact-card,
.action-button,
.sponsor-tab--active,
.site-card__whois-button {
    overflow: hidden;
}

.profile-avatar {
    position: relative;
}

.profile-avatar::before {
    content: "";
    position: absolute;
    inset: -7px;
    z-index: 0;
    border-radius: inherit;
    background: conic-gradient(from 150deg, rgba(235, 210, 201, 0.20), rgba(201, 120, 107, 0.44), rgba(255, 245, 234, 0.72), rgba(201, 120, 107, 0.28), rgba(235, 210, 201, 0.20));
    animation: avatar-halo 12s linear infinite;
}

.profile-avatar::after,
.service-card::after,
.about-panel::after,
.stat-card::after,
.contact-card::after,
.action-button::after,
.sponsor-tab--active::after,
.site-card__whois-button::after {
    content: "";
    position: absolute;
    top: -35%;
    left: -65%;
    width: 42%;
    height: 170%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.44), transparent);
    transform: rotate(18deg);
    animation: soft-shine 8.5s ease-in-out infinite;
}

.profile-avatar::after {
    z-index: 2;
    width: 48%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.56), transparent);
    animation-duration: 6.8s;
}

.profile-avatar img {
    position: relative;
    z-index: 1;
}

.service-card,
.about-panel,
.stat-card,
.contact-card,
.action-button,
.sponsor-tab--active,
.site-card__whois-button {
    position: relative;
}

.about-panel::after {
    animation-delay: 0.7s;
}

.service-card:nth-child(2n)::after,
.stat-card:nth-child(2n)::after,
.contact-card-link:nth-child(2n) .contact-card::after {
    animation-delay: 1.1s;
}

.service-card:nth-child(3n)::after,
.stat-card:nth-child(3n)::after,
.contact-card-link:nth-child(3n) .contact-card::after {
    animation-delay: 2s;
}

.action-button::after,
.sponsor-tab--active::after,
.site-card__whois-button::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    animation-duration: 5.8s;
}


.profile-card__body {
    padding: var(--space-xl) 1.75rem var(--space-xl);
}

.profile-header {
    margin-bottom: var(--space-lg);
    text-align: center;
}

.profile-avatar {
    width: 104px;
    height: 104px;
    margin: 0 auto var(--space-xs);
    padding: 4px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--accent-rainbow);
    box-shadow: 0 14px 28px rgba(63, 45, 40, 0.11);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.96);
    background: #fffaf2;
}

.profile-header h1 {
    font-size: 1.9rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    letter-spacing: -0.035em;
}

.profile-header__subtitle {
    color: var(--text-light);
    font-size: 0.92rem;
    letter-spacing: 0.4px;
}

.section-heading {
    width: 100%;
    margin: var(--space-xl) 0 var(--space-md);
    display: flex;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: #9f5a50;
}

.section-heading::after {
    content: "";
    flex: 1;
    height: 1px;
    margin-left: var(--space-sm);
    background: linear-gradient(90deg, rgba(201, 120, 107, 0.28), rgba(235, 210, 201, 0.24), transparent);
}


.content-section {
    margin-top: var(--space-xl);
}

.section-lead {
    margin: 0 0 var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border: 1px solid rgba(197, 160, 89, 0.20);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 245, 234, 0.74));
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.75;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
}

.service-card-link {
    color: inherit;
    text-decoration: none;
}

.service-card-link:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 4px;
}

.service-card {
    min-height: 154px;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    justify-content: center;
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 245, 234, 0.90)),
        linear-gradient(135deg, rgba(197, 160, 89, 0.06), rgba(235, 210, 201, 0.08));
    box-shadow: 0 14px 30px -24px rgba(63, 45, 40, 0.18);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.service-card:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 120, 107, 0.34);
    box-shadow: 0 18px 36px -26px rgba(63, 45, 40, 0.20);
}

.service-card__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fffaf2;
    background: linear-gradient(135deg, #b46a61, #c5a059);
    box-shadow: 0 10px 20px rgba(63, 45, 40, 0.10);
}

.service-card__body h3 {
    margin-bottom: 0.35rem;
    color: var(--text-dark);
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.service-card__body p {
    color: var(--text-light);
    font-size: 0.82rem;
    line-height: 1.65;
}

.about-panel {
    padding: var(--space-lg);
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at right top, rgba(235, 210, 201, 0.28), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 245, 234, 0.88));
    box-shadow: 0 14px 30px -24px rgba(63, 45, 40, 0.18);
}

.about-panel__text {
    margin-bottom: var(--space-md);
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-md);
}

.stat-card {
    min-height: 86px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-sm);
    border: 1px solid rgba(197, 160, 89, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.stat-card strong {
    color: var(--primary-strong);
    font-size: 1.45rem;
    line-height: 1;
    letter-spacing: -0.04em;
}

.stat-card span {
    margin-top: 0.45rem;
    color: var(--text-light);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.35;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
}

.contact-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.contact-card-link--button {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.contact-card {
    height: 100%;
    display: flex;
    align-items: center;
    padding: var(--space-lg);
    position: relative;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 245, 234, 0.88)),
        linear-gradient(135deg, rgba(197, 160, 89, 0.06), rgba(235, 210, 201, 0.08));
    box-shadow: var(--shadow-card);
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 120, 107, 0.34);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(255, 245, 234, 0.92)),
        linear-gradient(135deg, rgba(197, 160, 89, 0.07), rgba(235, 210, 201, 0.10));
    box-shadow: 0 18px 36px -24px rgba(63, 45, 40, 0.14);
}

.contact-card__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    margin-right: var(--space-md);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fffaf2;
    background: linear-gradient(135deg, #b46a61, #c5a059);
    box-shadow: 0 10px 20px rgba(63, 45, 40, 0.11);
    font-size: 1.1rem;
}

.contact-card__body {
    flex: 1;
    min-width: 0;
}

.contact-card__label {
    margin-bottom: 2px;
    color: var(--text-light);
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-card__value {
    color: var(--text-dark);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.2;
    word-break: break-all;
}

.contact-card__text-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.24s ease;
}

.contact-card__text-link:hover {
    color: var(--primary-color);
}

.status-indicator {
    width: 12px;
    height: 12px;
    position: absolute;
    right: -2px;
    bottom: -2px;
    z-index: 2;
    border: 2px solid #fffaf2;
    border-radius: 50%;
    background: #f1cfc6;
}

.contact-card:hover .status-indicator {
    border-color: #fffaf2;
}

.status-indicator--checking {
    background: var(--accent-sky);
    animation: status-pulse 1.5s infinite;
}

.status-indicator--online {
    background: #2fb878;
    box-shadow: 0 0 8px rgba(47, 184, 120, 0.36);
}

.status-indicator--offline {
    background: #f1cfc6;
}

.site-card {
    position: relative;
}

.site-card__whois-button {
    width: 34px;
    height: 34px;
    top: 50%;
    right: 10px;
    opacity: 0;
    z-index: 10;
    border: 0;
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border-radius: 11px;
    color: #fffaf2;
    background: linear-gradient(135deg, #b46a61, #c5a059);
    box-shadow: 0 10px 20px rgba(63, 45, 40, 0.12);
    transition: right 0.3s ease, opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    pointer-events: none;
}

.site-card__whois-button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 12px 24px rgba(63, 45, 40, 0.14);
}

.site-card:hover .site-card__whois-button,
.site-card:focus-within .site-card__whois-button {
    right: 15px;
    opacity: 1;
    pointer-events: auto;
}

.action-group {
    width: 100%;
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.action-button {
    flex: 1;
    gap: 8px;
    border: 0;
    color: #fffaf2;
    display: flex;
    cursor: pointer;
    font-size: 0.96rem;
    font-weight: 800;
    min-height: 48px;
    padding: var(--space-md) var(--space-sm);
    white-space: nowrap;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: linear-gradient(90deg, #b46a61 0%, #c9786b 52%, #c5a059 100%);
    box-shadow: 0 16px 28px -16px rgba(63, 45, 40, 0.20);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, background-position 0.3s ease;
    background-size: 150% 100%;
}

.action-button:hover {
    transform: translateY(-2px);
    filter: saturate(1.01);
    background-position: 100% 0;
    box-shadow: 0 18px 34px -18px rgba(63, 45, 40, 0.20);
}

.action-button--sponsor {
    background: linear-gradient(90deg, #9f5a50 0%, #c9786b 55%, #c5a059 100%);
    box-shadow: 0 16px 28px -16px rgba(63, 45, 40, 0.16);
}

.action-button--sponsor:hover {
    box-shadow: 0 18px 34px -18px rgba(63, 45, 40, 0.20);
}

.action-button--full {
    width: 100%;
    min-width: 0;
}


.site-footer {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    text-align: center;
    border-top: 1px solid var(--border-muted);
}

.site-footer__copyright {
    color: var(--text-light);
    font-size: 0.75rem;
}

.site-footer__brand-link {
    color: inherit;
    text-decoration: none;
}

.site-footer__brand-link:hover {
    color: var(--primary-color);
}

.site-footer__links {
    margin-top: 8px;
}

.site-footer__links span,
.site-footer__links a {
    margin: 0 5px;
    color: var(--text-light);
    display: inline-block;
    font-size: 0.72rem;
    line-height: 1.7;
    text-decoration: none;
}

.site-footer__links a:hover {
    color: #9f5a50;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(63, 45, 40, 0.48);
    -webkit-backdrop-filter: blur(10px) saturate(1.12);
    backdrop-filter: blur(10px) saturate(1.12);
}

.modal.is-active {
    display: flex;
    animation: fade-in 0.3s;
}

.modal__content {
    width: 85%;
    max-width: 380px;
    position: relative;
    padding: var(--space-xl);
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
        linear-gradient(135deg, rgba(197, 160, 89, 0.05), rgba(197, 160, 89, 0.05));
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 28px 70px rgba(63, 45, 40, 0.20);
}

.modal.is-active .modal__content {
    transform: scale(1);
}

.modal__content--whois {
    max-width: 420px;
    padding: 0;
    overflow: hidden;
    text-align: left;
}


.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    border: 0;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.5rem;
}

.modal__close:hover {
    color: var(--primary-color);
}

.modal__title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.modal__subtitle {
    margin-bottom: 1.2rem;
    color: var(--text-light);
    font-size: 0.8rem;
    text-align: center;
}

.modal__subtitle--small {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 0.75rem;
}

.modal__hint-box {
    margin-top: var(--space-lg);
    padding: 12px;
    text-align: center;
    border: 1px solid rgba(201, 120, 107, 0.26);
    border-radius: 12px;
    background: linear-gradient(135deg, #fffaf2, #fbf4ea);
}

.modal__hint-text {
    color: var(--text-light);
    font-size: 0.75rem;
    line-height: 1.6;
}





.wechat-qr-image {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 12px;
}

.whois-card__header {
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    background:
        radial-gradient(circle at 12% 20%, rgba(197, 160, 89, 0.14), transparent 42%),
        radial-gradient(circle at 88% 18%, rgba(201, 120, 107, 0.14), transparent 40%),
        linear-gradient(135deg, #fffaf2, #fff6ef);
    border-bottom: 1px solid rgba(180, 106, 97, 0.18);
}

.whois-card__domain {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.03em;
}

.whois-card__domain a {
    color: inherit;
    text-decoration: none;
    transition: color 0.22s ease;
}

.whois-card__domain a:hover {
    color: var(--primary-strong);
}


.whois-card__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    padding: var(--space-lg);
}

.whois-card__stat {
    display: flex;
    flex-direction: column;
    padding: var(--space-lg);
    color: #fffaf2;
    border-radius: 18px;
    box-shadow: var(--shadow-card);
}

.whois-card__stat--age {
    background: linear-gradient(135deg, #c9786b, #c5a059);
}

.whois-card__stat--remaining {
    background: linear-gradient(135deg, #b46a61, #e3bd92);
}

.whois-card__stat-label {
    margin-bottom: 5px;
    font-size: 0.65rem;
    font-weight: 600;
    opacity: 0.92;
}

.whois-card__stat-value {
    font-size: 1rem;
    font-weight: 800;
}

.whois-card__stat-value b {
    margin-right: 2px;
    font-size: 1.3rem;
}

.whois-card__body {
    padding: 0 var(--space-lg) var(--space-lg);
}

.whois-card__timeline {
    height: 6px;
    overflow: hidden;
    margin-bottom: var(--space-lg);
    border-radius: 3px;
    background: rgba(235, 210, 201, 0.72);
}

.whois-card__timeline-bar {
    width: 0;
    height: 100%;
    background: var(--accent-rainbow);
    background-size: 100% 100%;
    animation: none;
    transition: width 1s ease-out;
}

.whois-card__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.whois-card__row {
    display: flex;
    align-items: center;
    padding-bottom: 8px;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.18);
}

.whois-card__row > i {
    width: 25px;
    font-size: 0.9rem;
    color: #c5a059;
}

.whois-card__row-label {
    width: 80px;
    flex-shrink: 0;
    color: var(--text-light);
}

.whois-card__row-value {
    flex: 1;
    color: var(--text-dark);
    font-weight: 650;
    text-align: right;
    word-break: break-all;
}

.whois-card__row-value--status {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    line-height: 1.5;
}

.whois-card__name-servers {
    white-space: pre-line;
    font-size: 0.7rem;
    line-height: 1.4;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #9f5a50;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
}

.status-badge--recent {
    color: #9f5a50;
}

.status-badge--warning {
    color: var(--warning-color);
}

.status-badge--error {
    color: var(--danger-color);
}

.status-badge--neutral {
    color: #9f5a50;
}

.contact-form {
    text-align: left;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.contact-form__field {
    margin-bottom: var(--space-md);
    text-align: left;
}

.contact-form__label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--text-light);
    font-size: 0.82rem;
    font-weight: 700;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
    width: 100%;
    padding: 0.82rem;
    border: 1px solid rgba(201, 120, 107, 0.26);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--text-dark);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form__input:hover,
.contact-form__select:hover,
.contact-form__textarea:hover {
    border-color: rgba(201, 120, 107, 0.44);
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
    border-color: #c5a059;
    background: #fffaf2;
    box-shadow: 0 0 0 3px rgba(201, 120, 107, 0.16);
}

.contact-form__textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-form__status {
    margin: 0.2rem 0 0.9rem;
    color: var(--text-light);
    font-size: 0.82rem;
}

.contact-form__note {
    margin: 0.1rem 0 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(201, 120, 107, 0.24);
    border-radius: 12px;
    background: linear-gradient(135deg, #fffaf2, #fbf4ea);
    color: var(--text-light);
    font-size: 0.76rem;
    line-height: 1.65;
}

.contact-form__result {
    display: none;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.contact-form__result.is-visible {
    display: block;
}

.contact-form__result--success {
    color: #9f5a50;
    background: #fff6ef;
    border: 1px solid rgba(201, 120, 107, 0.26);
}

.contact-form__result--error {
    color: #a36c62;
    background: #fff6ef;
    border: 1px solid rgba(180, 106, 97, 0.32);
}

.sponsor-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: 1.2rem;
}

.sponsor-tab {
    padding: 8px 20px;
    border: 1px solid rgba(201, 120, 107, 0.26);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.sponsor-tab:hover {
    border-color: rgba(201, 120, 107, 0.36);
    color: #9f5a50;
    background: #fffaf2;
    transform: translateY(-1px);
}

.sponsor-tab--active {
    border-color: transparent;
    background: linear-gradient(90deg, #b46a61, #c9786b 58%, #c5a059);
    color: #fffaf2;
    box-shadow: 0 10px 20px -14px rgba(63, 45, 40, 0.20);
}

.sponsor-qr-wrap {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sponsor-qr {
    width: 200px;
    height: 200px;
    display: none;
    margin-bottom: 10px;
    border-radius: 14px;
    box-shadow: 0 12px 28px -20px rgba(63, 45, 40, 0.28);
}

.sponsor-qr--active {
    display: block;
    animation: fade-in 0.4s;
}

@keyframes soft-shine {
    0% {
        left: -65%;
        opacity: 0;
    }

    16% {
        opacity: 0.9;
    }

    44% {
        left: 125%;
        opacity: 0.9;
    }

    100% {
        left: 125%;
        opacity: 0;
    }
}

@keyframes avatar-halo {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes gradient-bg {
    0% {
        background-position: center, center, center, center, 0% 50%;
    }

    50% {
        background-position: center, center, center, center, 100% 50%;
    }

    100% {
        background-position: center, center, center, center, 0% 50%;
    }
}

@keyframes float-bg {
    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, 14px);
    }
}

@keyframes status-pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes accent-shine {
    0% {
        left: -40%;
        opacity: 0;
    }

    18% {
        opacity: 1;
    }

    55% {
        left: 110%;
        opacity: 1;
    }

    100% {
        left: 110%;
        opacity: 0;
    }
}

@keyframes rainbow-flow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

@media (max-width: 640px) {
    body {
        padding: 0;
    }

    .profile-card {
        max-width: 100%;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .service-grid,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-sm);
    }

    .service-card {
        min-height: 172px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-sm);
        padding: 0.95rem 0.75rem;
        text-align: center;
    }

    .service-card__icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        margin: 0;
        border-radius: 13px;
    }

    .service-card__body h3 {
        font-size: 0.93rem;
    }

    .service-card__body p {
        font-size: 0.76rem;
        line-height: 1.55;
    }

    .stat-card {
        min-height: 88px;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 580px) {
    body {
        padding: 0;
        background-color: #fbf4ea;
        background-image:
            radial-gradient(circle at 50% -8%, rgba(197, 160, 89, 0.18) 0 22%, transparent 46%),
            linear-gradient(180deg, #fffaf2 0%, #fbf1e7 56%, #f7ead9 100%);
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .profile-card__body {
        padding: 1.75rem 1.2rem;
    }

    .section-lead,
    .about-panel {
        padding: var(--space-md);
    }

    .action-group {
        gap: var(--space-sm);
    }

    .action-button {
        padding: var(--space-md) var(--space-xs);
        font-size: 0.85rem;
    }

    .whois-card__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-sm);
        padding: var(--space-md);
    }

    .whois-card__stat {
        padding: var(--space-md) 0.65rem;
    }
}

@media (max-width: 380px) {
    .service-grid,
    .stats-grid {
        gap: 0.6rem;
    }

    .service-card {
        min-height: 178px;
        padding: 0.85rem 0.55rem;
    }

    .stat-card strong {
        font-size: 1.28rem;
    }

    .stat-card span {
        font-size: 0.62rem;
    }
}

/* Inner service pages */
.inner-page .profile-card {
    max-width: 1040px;
}

.page-card__body {
    padding: 2rem;
}

.page-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.page-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 900;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.page-brand__avatar {
    width: 40px;
    height: 40px;
    padding: 2px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--accent-rainbow);
    box-shadow: 0 10px 22px -16px rgba(63, 45, 40, 0.28);
}

.page-brand__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 250, 242, 0.96);
}

.page-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
}

.page-nav a,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0.5rem 0.8rem;
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: 999px;
    background: rgba(255, 250, 242, 0.68);
    color: var(--text-light);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.page-nav a:hover,
.page-nav a.is-active,
.ghost-button:hover {
    transform: translateY(-1px);
    border-color: rgba(197, 160, 89, 0.42);
    background: rgba(255, 255, 255, 0.86);
    color: var(--primary-strong);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 88% 12%, rgba(213, 134, 118, 0.13), transparent 38%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 239, 0.78));
    box-shadow: 0 18px 42px -32px rgba(63, 45, 40, 0.22);
}

.page-hero::after,
.feature-card::after,
.case-card::after,
.faq-item::after,
.qr-panel::after,
.message-panel::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -70%;
    width: 36%;
    height: 180%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
    transform: rotate(18deg);
    animation: soft-shine 10s ease-in-out infinite;
}

.page-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(197, 160, 89, 0.12);
    color: var(--primary-strong);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-hero h1 {
    max-width: 780px;
    margin-bottom: 0.85rem;
    color: var(--text-dark);
    font-size: clamp(1.7rem, 4vw, 2.65rem);
    line-height: 1.15;
    letter-spacing: -0.055em;
}

.page-intro {
    max-width: 760px;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.25rem;
}

.page-action {
    flex: 0 0 220px;
    width: 220px;
    min-width: 220px;
    min-height: 48px;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    text-decoration: none;
}

.page-section {
    margin-top: 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.feature-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.case-card,
.faq-item,
.qr-panel,
.message-panel {
    position: relative;
    overflow: hidden;
    padding: 1.15rem;
    border: 1px solid rgba(197, 160, 89, 0.20);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 246, 239, 0.82)),
        linear-gradient(135deg, rgba(197, 160, 89, 0.05), rgba(213, 134, 118, 0.04));
    box-shadow: var(--shadow-card);
}

.feature-card > i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    border-radius: 14px;
    color: #fffaf2;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 12px 24px -18px rgba(63, 45, 40, 0.30);
}

.feature-card h3,
.case-card h3,
.faq-item h3,
.qr-panel h2,
.message-panel h2,
.page-cta h2 {
    margin-bottom: 0.45rem;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.feature-card p,
.case-card p,
.faq-item p,
.qr-panel p,
.message-panel p,
.page-cta p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.7;
}

.feature-card ul,
.case-card ul {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
    color: var(--text-light);
    font-size: 0.82rem;
    line-height: 1.7;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pill-list span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.42rem 0.75rem;
    border: 1px solid rgba(197, 160, 89, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--text-light);
    font-size: 0.78rem;
    font-weight: 800;
}

.process-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.process-list > div {
    padding: 1rem;
    border: 1px solid rgba(197, 160, 89, 0.18);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.64);
}

.process-list b {
    display: inline-flex;
    margin-bottom: 0.45rem;
    color: var(--accent-color);
    font-size: 0.86rem;
    letter-spacing: 0.08em;
}

.process-list h3 {
    margin-bottom: 0.35rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.process-list p {
    color: var(--text-light);
    font-size: 0.82rem;
    line-height: 1.65;
}

.page-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-list,
.faq-list {
    display: grid;
    gap: 1rem;
}

.case-card span {
    display: inline-flex;
    margin-bottom: 0.55rem;
    padding: 0.3rem 0.58rem;
    border-radius: 999px;
    background: rgba(197, 160, 89, 0.12);
    color: var(--primary-strong);
    font-size: 0.7rem;
    font-weight: 900;
}

.case-card strong {
    display: block;
    margin-top: 0.75rem;
    color: var(--primary-strong);
    font-size: 0.9rem;
}

.page-about-panel .about-panel__text:last-child {
    margin-bottom: 0;
}

.page-cta {
    padding: 1.35rem;
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 239, 0.78));
    text-align: center;
}

.page-cta .action-button {
    display: inline-flex;
    width: 220px;
    min-width: 220px;
    min-height: 48px;
    margin-top: 1rem;
}

.page-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.4fr);
    gap: 1rem;
    align-items: start;
}

.qr-panel,
.message-panel {
    height: 100%;
}

.qr-panel .wechat-qr-image {
    margin-top: 1rem;
}

.message-panel .contact-form {
    margin-top: 1rem;
}

.message-panel--single {
    width: 100%;
}


@media (max-width: 820px) {
    .page-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-nav {
        justify-content: flex-start;
    }

    .feature-grid,
    .feature-grid--three,
    .process-list,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .page-stats-grid,
    .page-contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .inner-page .profile-card {
        max-width: 100%;
    }

    .page-card__body {
        padding: 1.25rem 1rem 1.5rem;
    }

    .page-hero {
        padding: 1.35rem;
        margin-bottom: 1.2rem;
        border-radius: 1.1rem;
    }

    .page-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .page-nav a {
        min-height: 34px;
        padding: 0.42rem 0.4rem;
    }

    .feature-grid,
    .feature-grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .feature-card {
        padding: 0.95rem 0.75rem;
    }

    .feature-card h3,
    .case-card h3,
    .faq-item h3 {
        font-size: 0.92rem;
    }

    .feature-card p,
    .case-card p,
    .faq-item p,
    .process-list p {
        font-size: 0.76rem;
        line-height: 1.6;
    }

    .feature-card ul,
    .case-card ul {
        font-size: 0.74rem;
        padding-left: 1rem;
    }

    .process-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .page-actions {
        gap: 0.6rem;
    }

    .page-action,
    .ghost-button {
        flex: 1 1 calc(50% - 0.3rem);
        width: auto;
        min-width: 0;
    }

    .contact-layout {
        gap: 0.8rem;
    }

    .message-panel,
    .qr-panel,
    .case-card,
    .faq-item,
    .page-cta {
        padding: 1rem;
    }
}

@media (max-width: 420px) {
    .page-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .page-nav a {
        font-size: 0.72rem;
    }

    .feature-grid,
    .feature-grid--three,
    .process-list,
    .page-stats-grid,
    .page-contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Final polish: only keep sweeping light on avatar and top accent */
.service-card::after,
.about-panel::after,
.stat-card::after,
.contact-card::after,
.action-button::after,
.sponsor-tab--active::after,
.site-card__whois-button::after,
.page-hero::after,
.feature-card::after,
.case-card::after,
.faq-item::after,
.qr-panel::after,
.message-panel::after {
    content: none !important;
    display: none !important;
    animation: none !important;
}

/* Keep CTA buttons visually consistent across pages */
.action-button,
.page-action,
.page-actions .ghost-button {
    min-height: 48px;
    padding: var(--space-md) var(--space-sm);
    font-size: 0.96rem;
    line-height: 1.2;
    border-radius: var(--radius-lg);
}

.page-action,
.page-actions .ghost-button {
    flex: 0 0 220px;
    width: 220px;
    min-width: 220px;
    text-align: center;
    gap: 8px;
}

.page-actions .ghost-button {
    border-radius: var(--radius-lg);
}

/* Homepage contact blocks: keep two columns on desktop */
@media (min-width: 641px) {
    body:not(.inner-page) .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .page-action,
    .page-actions .ghost-button {
        flex: 1 1 calc(50% - 0.3rem);
        width: auto;
        min-width: 0;
        min-height: 46px;
        padding: 0.9rem 0.55rem;
        font-size: 0.86rem;
    }
}

/* Personal websites: three columns on desktop, while homepage contact keeps two columns */
@media (min-width: 641px) {
    body:not(.inner-page) .sites-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.whois-card__footer {
    padding: 0.85rem var(--space-lg) 1rem;
    border-top: 1px solid rgba(197, 160, 89, 0.14);
    color: var(--text-light);
    font-size: 0.72rem;
    line-height: 1.5;
    text-align: center;
    background: rgba(255, 252, 247, 0.72);
}

.whois-card__footer a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.whois-card__footer a:hover {
    color: var(--primary-strong);
}

/* Mobile inner-page navigation: avatar/brand and menu button on one line */
.page-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(197, 160, 89, 0.24);
    border-radius: 50%;
    background: rgba(255, 250, 242, 0.78);
    color: var(--text-dark);
    cursor: pointer;
    box-shadow: 0 10px 22px -18px rgba(63, 45, 40, 0.25);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.page-menu-toggle:hover,
.page-menu-toggle.is-active {
    transform: translateY(-1px);
    border-color: rgba(197, 160, 89, 0.46);
    background: rgba(255, 255, 255, 0.92);
}

.page-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.page-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.page-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.page-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 820px) {
    .page-topbar {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .page-brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .page-menu-toggle {
        display: inline-flex;
    }

    .page-nav {
        width: 100%;
        flex: 1 0 100%;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.45rem;
        max-height: 0;
        margin-top: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transform: translateY(-0.35rem);
        transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.28s ease, margin-top 0.28s ease;
    }

    .page-nav.is-open {
        max-height: 360px;
        margin-top: 0.15rem;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .page-nav a {
        min-height: 36px;
        padding: 0.45rem 0.4rem;
    }
}

@media (max-width: 640px) {
    .page-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .page-nav,
    .page-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Homepage service section: longer copy needs a little more breathing room only here */
body:not(.inner-page) section[aria-labelledby="section-services"] .section-lead {
    padding: 1rem 1.15rem;
    line-height: 1.78;
}

body:not(.inner-page) section[aria-labelledby="section-services"] .service-card {
    min-height: 166px;
    padding: 1.15rem;
}

body:not(.inner-page) section[aria-labelledby="section-services"] .service-card__body p {
    line-height: 1.7;
}

/* Homepage personal websites responsive layout: PC 3 columns, iPad 2 columns, mobile 1 column */
@media (min-width: 1025px) {
    body:not(.inner-page) .sites-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    body:not(.inner-page) .sites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body:not(.inner-page) .sites-grid {
        grid-template-columns: 1fr;
    }

    body:not(.inner-page) .site-card__whois-button {
        right: 10px;
        opacity: 0;
        pointer-events: none;
    }

    body:not(.inner-page) .site-card:hover .site-card__whois-button,
    body:not(.inner-page) .site-card:focus-within .site-card__whois-button {
        right: 15px;
        opacity: 1;
        pointer-events: auto;
    }
}

/* 404 page */
.error-page .page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(220px, 0.72fr);
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.error-content {
    position: relative;
    z-index: 2;
}

.error-code {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.8rem;
    padding: 0.4rem 0.72rem;
    border-radius: 999px;
    background: rgba(197, 160, 89, 0.12);
    color: var(--primary-strong);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.error-code i {
    font-size: 0.82rem;
}

.error-title {
    max-width: 720px;
    margin-bottom: 0.9rem;
    color: var(--text-dark);
    font-size: clamp(2rem, 5vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: -0.07em;
}

.error-title span {
    color: var(--primary-strong);
}

.error-desc {
    max-width: 660px;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.85;
}

.error-visual {
    position: relative;
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-visual__number {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(197, 160, 89, 0.24);
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.96), rgba(255, 246, 239, 0.72) 58%, rgba(244, 222, 197, 0.55)),
        linear-gradient(135deg, rgba(197, 160, 89, 0.12), rgba(201, 120, 107, 0.10));
    color: var(--primary-strong);
    font-size: 4.2rem;
    font-weight: 900;
    letter-spacing: -0.12em;
    box-shadow: 0 24px 52px -34px rgba(63, 45, 40, 0.26);
}

.error-visual__number::before {
    content: "";
    position: absolute;
    inset: -10px;
    z-index: -1;
    border-radius: inherit;
    background: conic-gradient(
        from 150deg,
        rgba(235, 210, 201, 0.18),
        rgba(201, 120, 107, 0.35),
        rgba(255, 245, 234, 0.7),
        rgba(197, 160, 89, 0.28),
        rgba(235, 210, 201, 0.18)
    );
    opacity: 0.72;
}

.error-visual__orbit {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(197, 160, 89, 0.18);
    background: rgba(255, 255, 255, 0.38);
    pointer-events: none;
}

.error-visual__orbit--one {
    width: 270px;
    height: 88px;
    transform: rotate(-22deg);
}

.error-visual__orbit--two {
    width: 250px;
    height: 78px;
    transform: rotate(25deg);
}

.error-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.error-search-box {
    margin-top: 1.5rem;
    padding: 1.15rem;
    border: 1px solid rgba(197, 160, 89, 0.20);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 246, 239, 0.82)),
        linear-gradient(135deg, rgba(197, 160, 89, 0.05), rgba(213, 134, 118, 0.04));
    box-shadow: var(--shadow-card);
}

.error-search-box h2 {
    margin-bottom: 0.45rem;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.error-search-box p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.7;
}

.error-search-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.error-search-list a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.42rem 0.75rem;
    border: 1px solid rgba(197, 160, 89, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--text-light);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.error-search-list a:hover {
    transform: translateY(-1px);
    border-color: rgba(197, 160, 89, 0.42);
    background: rgba(255, 255, 255, 0.86);
    color: var(--primary-strong);
}

@media (max-width: 820px) {
    .error-page .page-hero {
        grid-template-columns: 1fr;
    }

    .error-visual {
        min-height: 190px;
    }

    .error-visual__number {
        width: 180px;
        height: 180px;
        font-size: 3.45rem;
    }

    .error-visual__orbit--one {
        width: 225px;
        height: 72px;
    }

    .error-visual__orbit--two {
        width: 210px;
        height: 66px;
    }

    .error-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .error-title {
        font-size: 2rem;
    }

    .error-quick-grid {
        grid-template-columns: 1fr;
    }

    .error-search-list {
        gap: 0.5rem;
    }

    .error-search-list a {
        width: 100%;
        justify-content: center;
    }
}

/* Homepage personal websites typography: make site name stand out without affecting contact cards */
body:not(.inner-page) .sites-grid .contact-card__label {
    margin-bottom: 0.34rem;
    color: var(--text-dark);
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -0.02em;
    text-transform: none;
}

body:not(.inner-page) .sites-grid .contact-card__value {
    color: var(--text-light);
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.58;
    word-break: normal;
}

body:not(.inner-page) .sites-grid .contact-card__text-link {
    font-weight: inherit;
}

@media (max-width: 520px) {
    body:not(.inner-page) .sites-grid .contact-card__label {
        font-size: 0.96rem;
    }

    body:not(.inner-page) .sites-grid .contact-card__value {
        font-size: 0.8rem;
        line-height: 1.55;
    }
}
/* WHOIS panel: keep English labels and values aligned without awkward wrapping */
.modal__content--whois {
    width: min(92vw, 520px);
    max-width: 520px;
}

.whois-card__domain {
    overflow-wrap: anywhere;
    line-height: 1.2;
}

.whois-card__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.whois-card__stat {
    min-width: 0;
}

.whois-card__stat-label,
.whois-card__stat-value {
    overflow-wrap: anywhere;
}

.whois-card__row {
    display: grid;
    grid-template-columns: 25px minmax(118px, 0.45fr) minmax(0, 1fr);
    align-items: start;
    column-gap: 8px;
    line-height: 1.45;
}

.whois-card__row-label {
    width: auto;
    min-width: 0;
    white-space: nowrap;
}

.whois-card__row-value {
    min-width: 0;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: normal;
}

.whois-card__row-value--status {
    justify-content: flex-start;
}

.whois-card__name-servers {
    white-space: pre-wrap;
}

@media (max-width: 460px) {
    .modal__content--whois {
        width: 94vw;
    }

    .whois-card__stats {
        gap: 0.65rem;
        padding: 0.85rem;
    }

    .whois-card__stat {
        padding: 0.85rem 0.7rem;
    }

    .whois-card__row {
        grid-template-columns: 22px 1fr;
        row-gap: 2px;
    }

    .whois-card__row-value {
        grid-column: 2;
    }
}
