@import url('/static/css/block-account-widget.css?v=20260806navd4');

/**
 * PLAYCITY BLOCK - Main Index Page Styles
 * Apple-inspired design with dark theme
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #007aff;
    --primary-foreground: #ffffff;
    --surface-base: #000000;
    --surface-foreground: #f5f5f7;
    --muted-foreground: #a1a1a6;
    --border: rgba(255, 255, 255, 0.1);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-emphasis: rgba(255, 255, 255, 0.12);
    --border-strong: rgba(255, 255, 255, 0.14);
    --ring: rgba(120, 190, 255, 0.9);
    --danger: #ef4444;
    --success: #30d158;

    --block-surface-base-elevated: #1a1a1a;
    --block-surface-glass: rgba(5, 10, 18, 0.22);
    --block-surface-hover: rgba(255, 255, 255, 0.15);
    --block-surface-panel: rgba(30, 30, 30, 0.95);
    --block-surface-panel-strong: rgba(20, 20, 20, 0.9);
    --block-surface-band: rgba(8, 12, 24, 0.9);
    --block-surface-band-center: rgba(19, 27, 43, 0.9);
    --block-surface-sheet: rgba(8, 13, 22, 0.96);
    --block-surface-menu: rgba(12, 17, 27, 0.92);
    --block-surface-card: rgba(28, 28, 30, 0.5);
    --block-surface-card-hover: rgba(25, 25, 27, 0.8);
    --block-surface-light-strong: rgba(255, 255, 255, 0.82);
    --block-backdrop-scrim: rgba(2, 6, 14, 0.58);
    --block-header-surface-top: rgba(7, 11, 17, 0.78);
    --block-header-surface-bottom: rgba(7, 11, 17, 0.58);
    --block-overlay-top: rgba(0, 0, 0, 0.3);
    --block-overlay-bottom: rgba(0, 0, 0, 0.5);
    --block-primary-glow-soft: rgba(0, 113, 227, 0.06);
    --block-primary-glow: rgba(0, 122, 255, 0.08);
    --block-success-glow: rgba(48, 209, 88, 0.05);

    --block-border-soft: rgba(255, 255, 255, 0.18);
    --block-border-prominent: rgba(255, 255, 255, 0.2);
    --block-border-active: rgba(255, 255, 255, 0.28);
    --block-border-active-strong: rgba(255, 255, 255, 0.3);
    --block-border-control: rgba(255, 255, 255, 0.34);
    --block-border-control-hover: rgba(255, 255, 255, 0.42);
    --block-border-hairline: rgba(255, 255, 255, 0.05);

    --block-text-secondary: #9aa0a6;
    --block-text-tertiary: #86868b;
    --block-text-inverse: rgba(245, 248, 255, 0.92);
    --block-text-inverse-strong: rgba(245, 248, 255, 0.94);
    --block-text-inverse-soft: rgba(245, 248, 255, 0.82);
    --block-text-inverse-muted: rgba(245, 248, 255, 0.78);
    --block-text-inverse-subtle: rgba(245, 248, 255, 0.76);
    --block-text-inverse-faint: rgba(245, 248, 255, 0.7);
    --block-text-inverse-dim: rgba(245, 248, 255, 0.55);
    --block-text-on-dark: rgba(255, 255, 255, 0.9);
    --block-text-on-dark-soft: rgba(255, 255, 255, 0.84);
    --block-text-on-dark-strong: rgba(255, 255, 255, 0.95);
    --block-text-on-dark-emphasis: rgba(255, 255, 255, 0.98);
    --block-text-on-dark-bright: rgba(255, 255, 255, 0.88);
    --block-text-on-dark-medium: rgba(255, 255, 255, 0.8);
    --block-text-on-dark-muted: rgba(255, 255, 255, 0.7);
    --block-text-on-dark-subtle: rgba(255, 255, 255, 0.6);
    --block-text-on-dark-faint: rgba(255, 255, 255, 0.35);

    --block-danger-surface: rgba(239, 68, 68, 0.1);
    --block-danger-surface-soft: rgba(239, 68, 68, 0.08);
    --block-success-surface-alt: rgba(76, 175, 80, 0.1);
    --block-success-surface-soft: rgba(48, 209, 88, 0.08);
    --block-success-surface: rgba(48, 209, 88, 0.12);
    --block-success-surface-strong: rgba(48, 209, 88, 0.18);
    --block-success-border: rgba(48, 209, 88, 0.3);
    --block-success-border-strong: rgba(48, 209, 88, 0.4);
    --block-success-border-emphasis: rgba(48, 209, 88, 0.44);

    --block-shadow-panel: 0 8px 32px rgba(0, 0, 0, 0.3);
    --block-shadow-header: 0 10px 32px rgba(0, 0, 0, 0.12);
    --block-shadow-sheet: 0 22px 48px rgba(0, 0, 0, 0.28);
    --block-shadow-floating: 0 18px 40px rgba(0, 0, 0, 0.28);
    --block-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.2);

    --server-subheader-height: 36px;
    --main-header-height: 56px;
    --main-header-max-width: 1200px;
    --block-page-inline-padding: 24px;
    --block-header-total-height: calc(var(--server-subheader-height) + var(--main-header-height));
    --home-hero-heading-gap: 24px;
    --home-hero-heading-shift: 20px;
    --home-hero-heading-animation-duration: 0.6s;
}

/* User Dropdown - Matches www.playcity.kr */
.user-dropdown {
    position: relative;
}

.user-dropdown-btn {
    display: flex !important;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-dropdown-btn:hover {
    opacity: 0.8;
}

.user-dropdown-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--border-emphasis);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-foreground);
    text-transform: uppercase;
}

.user-dropdown-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-dropdown-avatar-text {
    color: var(--primary-foreground);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

/* Login Button - Matches www.playcity.kr */
.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 16px;
    background: var(--block-surface-glass);
    border: 1px solid var(--block-border-control);
    border-radius: 999px;
    color: var(--block-text-inverse);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.login-btn:hover {
    background: var(--block-surface-hover);
    border-color: var(--block-border-control-hover);
    color: var(--primary-foreground);
    transform: translateY(-1px);
}

/* User Dropdown Menu - Matches www.playcity.kr */
.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--block-surface-panel);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--block-shadow-panel);
    min-width: 240px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
}

.user-dropdown-menu.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* User Dropdown Header */
.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.user-dropdown-info {
    flex: 1;
}

.user-nickname {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-foreground);
    margin-bottom: 2px;
}

.user-email {
    font-size: 12px;
    color: var(--block-text-secondary);
}

/* Dropdown Items - Matches www.playcity.kr */
.user-dropdown-item {
    display: block;
    padding: 12px 16px;
    color: var(--primary-foreground);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.user-dropdown-item:hover {
    background: var(--border);
}

.user-dropdown-item.logout {
    color: var(--block-text-secondary);
}

.user-dropdown-item.logout:hover {
    color: var(--danger);
    background: var(--block-danger-surface);
}

/* User Menu Button - Enhanced styling to match www.playcity.kr */
.user-menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: var(--block-surface-glass) !important;
    border: 1px solid var(--block-border-control) !important;
    border-radius: 999px !important;
    padding: 4px 10px 4px 6px !important;
    color: var(--block-text-inverse) !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
    backdrop-filter: blur(18px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
    min-height: 34px !important;
    cursor: pointer !important;
}

.user-menu-btn:hover {
    background: var(--block-surface-hover) !important;
    border-color: var(--block-border-control-hover) !important;
    transform: translateY(-1px) !important;
}

.user-menu-dropdown {
    position: fixed;
    top: calc(var(--block-header-total-height) - 4px);
    right: var(--block-page-inline-padding);
    margin-top: 8px;
    background: var(--block-surface-panel);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--block-shadow-panel);
    min-width: 240px;
    padding: 8px 0;
    z-index: 1001;
}

/* User dropdown styles */
.user-info-section {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}

.user-nickname {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-foreground);
    margin-bottom: 4px;
}

.user-email {
    font-size: 12px;
    color: var(--block-text-secondary);
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--block-text-on-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.user-menu-item:hover {
    background: var(--border-subtle);
    color: var(--primary-foreground);
}

.user-menu-item i {
    width: 16px;
    font-size: 14px;
    opacity: 0.7;
}

.user-dropdown-avatar {
    width: 24px;
    height: 24px;
}

.user-dropdown-avatar-text {
    color: var(--block-text-inverse);
    font-size: 13px;
    font-weight: 600;
}

.user-menu-divider {
    margin: 8px 0;
    border: none;
    border-top: 1px solid var(--border);
}

.logout-item {
    color: var(--block-text-secondary);
}

.logout-item:hover {
    color: var(--danger);
    background: var(--block-danger-surface-soft);
}

/* Menu Greeting */
.menu-greeting {
    padding: 12px 16px;
    margin: 8px;
    color: var(--block-text-on-dark);
    font-size: 14px;
    word-break: keep-all;
    line-height: 1.4;
    background: var(--block-success-surface-alt);
    border-radius: 8px;
}

/* Admin Item Border */
.admin-item {
    border-bottom: 1px solid var(--border-subtle);
}

body {
    font-family: 'Astra Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-weight: 500;
    background: var(--surface-base);
    color: white;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body.home-promotion-open {
    overflow: hidden;
}

/* 홈페이지 26.2 안내 — 상단 서버 정보와 헤더는 항상 보이게 유지한다. */
.home-promotion-overlay {
    position: fixed;
    inset: var(--block-header-total-height) 0 0;
    z-index: 1001;
    display: grid;
    place-items: center;
    padding: clamp(14px, 3vw, 24px);
    background: var(--block-backdrop-scrim);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 160ms ease, visibility 0ms linear 160ms;
}

.home-promotion-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 160ms ease;
}

.home-promotion-dialog {
    position: relative;
    display: grid;
    gap: 12px;
    width: min(100%, 360px);
    padding: 24px 24px 20px;
    border: 1px solid var(--block-border-prominent);
    border-radius: 14px;
    background: var(--block-surface-sheet);
    box-shadow: var(--block-shadow-sheet);
    color: var(--block-text-on-dark);
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition: transform 160ms ease, opacity 160ms ease;
}

.home-promotion-overlay.is-open .home-promotion-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.home-promotion-dialog h2 {
    margin: 0;
    padding-right: 48px;
    color: var(--block-text-on-dark-emphasis);
    font-size: clamp(1.375rem, 5vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.home-promotion-dialog > p {
    margin: 0;
    color: var(--block-text-inverse-soft);
    font-size: 14px;
    line-height: 1.5;
}

.home-promotion-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.home-promotion-link,
.home-promotion-close,
.home-promotion-dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid transparent;
    border-radius: 9px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.home-promotion-link {
    padding: 9px 10px;
}

.home-promotion-link--primary {
    background: var(--primary);
    color: var(--primary-foreground);
}

.home-promotion-link--primary:hover,
.home-promotion-link--primary:focus-visible {
    background: color-mix(in srgb, var(--primary) 84%, white);
}

.home-promotion-link--secondary {
    border-color: var(--block-border-control);
    background: var(--block-surface-glass);
    color: var(--block-text-on-dark);
}

.home-promotion-link--secondary:hover,
.home-promotion-link--secondary:focus-visible {
    border-color: var(--block-border-control-hover);
    background: var(--block-surface-hover);
}

.home-promotion-close,
.home-promotion-dismiss {
    cursor: pointer;
}

.home-promotion-close {
    position: absolute;
    top: 16px;
    right: 18px;
    min-height: 28px;
    padding: 4px 6px;
    background: transparent;
    color: var(--block-text-inverse-subtle);
}

.home-promotion-close:hover,
.home-promotion-close:focus-visible {
    color: var(--block-text-on-dark);
    background: var(--block-surface-hover);
}

.home-promotion-dismiss {
    justify-self: end;
    min-height: 24px;
    padding: 2px 0;
    background: transparent;
    color: var(--block-text-inverse-soft);
    font-size: 12px;
    font-weight: 600;
}

.home-promotion-dismiss:hover,
.home-promotion-dismiss:focus-visible {
    color: var(--block-text-on-dark);
}

.home-promotion-dialog:focus,
.home-promotion-dialog :focus {
    outline: none;
}

.home-promotion-link:focus-visible,
.home-promotion-close:focus-visible,
.home-promotion-dismiss:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

@media (max-width: 340px) {
    .home-promotion-overlay {
        padding: 14px;
    }

    .home-promotion-actions {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-promotion-overlay,
    .home-promotion-dialog {
        transition: none;
    }
}

/* Enable smooth scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Main Container with Campaign Hero Background */
.hero-container {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    background: var(--surface-base);
    overflow: hidden;
}

.hero-container::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    top: -200px;
    right: -200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--block-primary-glow-soft) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--block-overlay-top) 0%, var(--block-overlay-bottom) 100%);
    z-index: 2;
}

.hero-command-timeline {
    --command-point-x: 48.9%;
    --command-point-y: 14%;
    --command-journey-shift: calc(50% - var(--command-point-x));
    --command-readout-shift: -50%;
    position: absolute;
    top: clamp(250px, 47vh, 520px);
    left: 0;
    right: 0;
    z-index: 2;
    height: clamp(96px, 15vh, 140px);
    pointer-events: none;
}

.hero-command-timeline-track {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(-50%);
    pointer-events: auto;
}

.hero-command-timeline-svg {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    transform: translateX(var(--command-journey-shift));
    transition: transform 0.5s ease;
}

.hero-command-timeline-line {
    fill: none;
    stroke: rgba(224, 249, 255, 0.9);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 10px rgba(168, 232, 255, 0.28));
    vector-effect: non-scaling-stroke;
    transition: d 0.5s ease, filter 0.2s ease, stroke 0.2s ease;
}

.hero-command-timeline-point {
    position: absolute;
    top: var(--command-point-y);
    left: 50%;
    width: 10px;
    height: 10px;
    border: 1px solid rgba(224, 249, 255, 0.82);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.36), 0 0 20px rgba(174, 235, 255, 0.58);
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-command-timeline-point::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(224, 249, 255, 0.34);
    border-radius: inherit;
    opacity: 0;
    transform: scale(0.62);
    animation: command-timeline-point-pulse 2.4s ease-out infinite;
}

.hero-command-timeline-readout {
    position: absolute;
    top: var(--command-point-y);
    left: 50%;
    max-width: min(240px, 46vw);
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.42);
    white-space: nowrap;
    transform: translateX(var(--command-readout-shift)) translateY(calc(-100% - 9px));
    opacity: 0.74;
    transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.hero-command-timeline-track:hover .hero-command-timeline-line {
    stroke: rgba(238, 252, 255, 0.98);
    filter: drop-shadow(0 0 16px rgba(168, 232, 255, 0.42));
}

.hero-command-timeline-track:hover .hero-command-timeline-point {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.56), 0 0 28px rgba(174, 235, 255, 0.75);
    transform: translate(-50%, -50%) scale(1.16);
}

.hero-command-timeline-track:hover .hero-command-timeline-readout,
.hero-command-timeline.is-ready .hero-command-timeline-readout {
    color: rgba(255, 255, 255, 0.94);
    opacity: 1;
    transform: translateX(var(--command-readout-shift)) translateY(calc(-100% - 12px));
}

.hero-command-timeline.is-unavailable .hero-command-timeline-line,
.hero-command-timeline.is-unavailable .hero-command-timeline-point {
    opacity: 0.58;
}

.hero-command-timeline.is-loading .hero-command-timeline-line {
    stroke-dasharray: 3 8;
}

@keyframes command-timeline-point-pulse {
    0% {
        opacity: 0.72;
        transform: scale(0.62);
    }

    70% {
        opacity: 0.08;
    }

    100% {
        opacity: 0;
        transform: scale(2.35);
    }
}

.hero-portal {
    position: absolute;
    top: calc(var(--block-header-total-height) + 16px);
    left: 0;
    width: 100%;
    z-index: 5;
    pointer-events: none;
}

.hero-portal-inner {
    width: 100%;
    max-width: var(--main-header-max-width);
    margin: 0 auto;
    padding: 0 var(--block-page-inline-padding);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(460px, 520px);
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--block-border-active);
    border-bottom: 1px solid var(--border-emphasis);
    box-sizing: border-box;
}

.hero-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    min-width: 0;
}

.block-stats,
.block-weather {
    pointer-events: none;
    align-self: stretch;
    display: grid;
    min-width: 0;
    border-left: 1px solid var(--border-emphasis);
}

.block-stats-inner {
    display: grid;
    align-items: center;
    width: 100%;
    height: 100%;
}

.block-stats-rotator {
    position: relative;
    display: grid;
    align-items: center;
    min-width: 0;
    min-height: 118px;
    height: 100%;
    padding: 14px 0 15px 24px;
    pointer-events: auto;
}

.block-stats-rotator::before {
    content: none;
}

.block-stats-track {
    display: grid;
    min-height: 76px;
    overflow: hidden;
}

.block-stats-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: start;
    align-content: center;
    gap: 4px;
    opacity: 0;
    transform: translateY(0);
    pointer-events: none;
    will-change: opacity, transform;
    min-width: 0;
    color: inherit;
    text-decoration: none;
    border-radius: 6px;
    outline-offset: 6px;
}

.block-stats-slide.enter {
    animation: hero-heading-enter var(--home-hero-heading-animation-duration) ease both;
}

.block-stats-slide.exit {
    animation: hero-heading-exit var(--home-hero-heading-animation-duration) ease both;
}

.block-stats-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.block-stats-slide:hover .block-stats-label,
.block-stats-slide:focus-visible .block-stats-label {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.block-stats-slide:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.58);
}

.block-stats-kicker {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    color: var(--block-text-on-dark-subtle);
    overflow-wrap: anywhere;
}

.block-stats-value {
    grid-column: 1;
    grid-row: 2;
    display: block;
    min-width: 0;
    font-size: 1.875rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    color: var(--block-text-on-dark-emphasis);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.block-stats-label {
    grid-column: 1;
    grid-row: 3;
    align-self: start;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--block-text-on-dark-strong);
    overflow-wrap: anywhere;
}

.home-feed-section {
    background: var(--surface-base);
    color: var(--surface-foreground);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    scroll-margin-top: calc(var(--block-header-total-height) + 16px);
}

.home-feed-inner {
    width: 100%;
    max-width: var(--main-header-max-width);
    margin: 0 auto;
    padding: clamp(var(--space-12, 48px), 6vw, 4.5rem) var(--block-page-inline-padding);
}

.home-feed-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-4, 16px);
    margin-bottom: clamp(var(--space-6, 24px), 3vw, var(--space-8, 32px));
}

.home-feed-kicker {
    margin: 0 0 var(--space-1-5, 6px);
    color: var(--block-text-on-dark-subtle);
    font-size: var(--fs-2xs, 12px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-feed-title {
    margin: 0;
    color: var(--block-text-on-dark-strong);
    font-size: clamp(1.625rem, 2.5vw, var(--fs-display-lg, 2.25rem));
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.home-feed-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: var(--block-text-on-dark-soft);
    font-size: var(--fs-xs, 13px);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.home-feed-links {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4, 16px);
}

.home-feed-link:hover,
.home-feed-link:focus-visible {
    color: var(--primary-foreground);
}

.home-feed-link:focus-visible,
.home-feed-panel-link:focus-visible,
.home-feed-item-link:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 4px;
}

.home-feed-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
}

.home-feed-panel {
    min-width: 0;
}

.home-feed-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 36px;
    margin-bottom: 14px;
}

.home-feed-panel-title {
    margin: 0;
    color: var(--block-text-on-dark-strong);
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    font-weight: 700;
    line-height: 1.2;
}

.home-feed-panel-link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: var(--block-text-on-dark-soft);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.home-feed-panel-link:hover,
.home-feed-panel-link:focus-visible {
    color: var(--primary-foreground);
}

.home-feed-list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--block-border-active);
}

.home-activity-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(28px, 4vw, 56px);
    min-height: 360px;
}

.home-activity-list > .home-feed-item:first-child {
    grid-column: 1 / -1;
}

.home-activity-list > .home-feed-status {
    grid-column: 1 / -1;
}

.home-feed-item,
.home-feed-status {
    border-bottom: 1px solid var(--border-emphasis);
}

.home-feed-item-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-1-5, 6px);
    padding: var(--space-4, 16px) 0;
    color: inherit;
    text-decoration: none;
}

.home-activity-list > .home-feed-item:first-child .home-feed-item-link {
    min-height: 0;
    padding-block: clamp(1.5rem, 3vw, 2.25rem);
}

.home-activity-list > .home-feed-item:first-child .home-feed-item-title {
    max-width: 980px;
    font-size: clamp(1.5rem, 3vw, 2.75rem);
    line-height: 1.08;
}

.home-activity-list > .home-feed-item:first-child .home-feed-summary {
    max-width: 820px;
    font-size: var(--fs-sm, 14px);
}

.home-feed-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-1, 4px);
    color: var(--block-text-on-dark-subtle);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.3;
}

.home-feed-meta > * + *::before {
    content: '/';
    margin-right: var(--space-1, 4px);
    color: var(--block-text-on-dark-faint);
    font-weight: 400;
}

.home-feed-type {
    color: var(--block-text-on-dark-bright);
    font-weight: 800;
}

.home-feed-type--land_offer {
    color: var(--success);
}

.home-feed-type--news {
    color: var(--primary-foreground);
}

.home-feed-type--city {
    color: var(--success);
}

.home-feed-type--officialNews,
.home-feed-type--communityNews {
    color: var(--primary-foreground);
}

.home-feed-type--sports {
    color: var(--block-text-on-dark-bright);
}

.home-feed-type--discovery {
    color: var(--block-text-on-dark-soft);
}

.home-feed-item-title {
    max-width: 900px;
    color: var(--block-text-on-dark-strong);
    font-size: clamp(1.125rem, 1.8vw, 1.5rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.025em;
    transition: color 0.2s ease;
}

.home-feed-item-link:hover .home-feed-item-title,
.home-feed-item-link:focus-visible .home-feed-item-title {
    color: var(--primary-foreground);
}

.home-feed-summary {
    display: -webkit-box;
    max-width: 760px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--block-text-on-dark-muted);
    font-size: var(--fs-sm, 14px);
    line-height: 1.55;
}

.home-feed-status {
    padding: 24px 0;
    color: var(--block-text-on-dark-muted);
    font-size: var(--fs-sm, 14px);
    line-height: 1.5;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    will-change: opacity, transform;
    backface-visibility: hidden;
    pointer-events: none;
}

.hero-slide--1 {
    background-image: url('/static/images/img-9f87845bb019ad6901eb2f0e3c79d7bf.webp');
    animation: hero-slide-seq-1 20s linear infinite, hero-slide-motion-1 20s ease-in-out infinite;
}

.hero-slide--2 {
    background-image: url('/static/images/img-4722e514475787a2accce9be77a032fe.webp');
    animation: hero-slide-seq-2 20s linear infinite, hero-slide-motion-2 20s ease-in-out infinite;
}

.hero-slide--3 {
    background-image: url('/static/images/img-da92954c264493f2a76e914ccc6b0ce2.webp');
    animation: hero-slide-seq-3 20s linear infinite, hero-slide-motion-3 20s ease-in-out infinite;
}

.hero-slide--4 {
    background-image: url('/static/images/img-326a1161fc4c5fc38dd707e1c695970a.webp');
    animation: hero-slide-seq-4 20s linear infinite, hero-slide-motion-4 20s ease-in-out infinite;
}

@keyframes hero-slide-seq-1 {
    0%,
    22% {
        opacity: 1;
    }

    25%,
    100% {
        opacity: 0;
    }
}

@keyframes hero-slide-seq-2 {
    0%,
    22% {
        opacity: 0;
    }

    25%,
    47% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

@keyframes hero-slide-seq-3 {
    0%,
    47% {
        opacity: 0;
    }

    50%,
    72% {
        opacity: 1;
    }

    75%,
    100% {
        opacity: 0;
    }
}

@keyframes hero-slide-seq-4 {
    0%,
    72% {
        opacity: 0;
    }

    75%,
    100% {
        opacity: 1;
    }
}

@keyframes hero-slide-motion-1 {
    0% {
        transform: scale(1.1);
    }

    25%,
    100% {
        transform: scale(1.03);
    }
}

@keyframes hero-slide-motion-2 {
    0%,
    25% {
        transform: scale(1.08) translate(-2%, 0);
    }

    50%,
    100% {
        transform: scale(1.02) translate(2%, 0);
    }
}

@keyframes hero-slide-motion-3 {
    0%,
    50% {
        transform: scale(1.1);
    }

    75%,
    100% {
        transform: scale(1.02);
    }
}

@keyframes hero-slide-motion-4 {
    0%,
    75% {
        transform: scale(1.08) translate(2%, 0);
    }

    100% {
        transform: scale(1.02) translate(-1%, 0);
    }
}

/* Header */
.server-subheader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--server-subheader-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, var(--block-surface-band) 0%, var(--block-surface-band-center) 50%, var(--block-surface-band) 100%);
    border-bottom: 1px solid var(--border-strong);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 120;
}

.server-subheader-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: var(--block-text-on-dark-soft);
    white-space: nowrap;
}

.server-subheader-title {
    font-weight: 700;
    color: var(--block-text-on-dark-emphasis);
    letter-spacing: 0.04em;
}

.server-subheader-sep {
    color: var(--block-text-on-dark-faint);
}

.server-subheader-label {
    color: var(--block-text-on-dark-muted);
}

.server-subheader-host {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    color: var(--block-text-on-dark-strong);
    font-weight: 600;
}

.server-subheader-copy {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 22px;
    min-width: 22px;
    min-height: 22px;
    padding: 0;
    border: 1px solid var(--block-border-soft);
    border-radius: 999px;
    background: var(--border-subtle);
    color: var(--block-text-on-dark-bright);
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.server-subheader-copy:hover {
    background: var(--border-strong);
    border-color: var(--block-border-active);
    color: var(--primary-foreground);
    transform: translateY(-1px);
}

.server-subheader-copy-icon {
    width: 11px;
    height: 11px;
    position: absolute;
    inset: 0;
    margin: auto;
    flex-shrink: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.server-subheader-copy-icon--copy {
    opacity: 1;
    transform: scale(1);
}

.server-subheader-copy-icon--check {
    opacity: 0;
    transform: scale(0.78);
}

.server-subheader-copy.is-copied {
    background: var(--block-success-surface-strong);
    border-color: var(--block-success-border-emphasis);
    color: var(--success);
}

.server-subheader-copy.is-copied .server-subheader-copy-icon--copy {
    opacity: 0;
    transform: scale(0.78);
}

.server-subheader-copy.is-copied .server-subheader-copy-icon--check {
    opacity: 1;
    transform: scale(1);
}

.server-subheader-version {
    color: var(--block-text-on-dark-strong);
}

.header {
    position: fixed;
    top: var(--server-subheader-height);
    left: 0;
    right: 0;
    height: var(--main-header-height);
    background: transparent;
    z-index: 110;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: background 0.2s ease, box-shadow 0.2s ease, backdrop-filter 0.2s ease;
}

.header.is-surface {
    background: linear-gradient(180deg, var(--block-header-surface-top) 0%, var(--block-header-surface-bottom) 100%);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    border-bottom-color: var(--border-subtle);
    box-shadow: var(--block-shadow-header);
}

.header-inner {
    max-width: var(--main-header-max-width);
    margin: 0 auto;
    padding: 0 var(--block-page-inline-padding);
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-right: auto;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    position: relative;
    height: 20px;
    text-decoration: none;
}

.nav-logo-image {
    display: block;
    height: 100%;
    width: auto;
}

.nav-logo-image--dark {
    display: none;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-left: 18px;
}

body.mobile-nav-open {
    overflow: hidden;
}

.nav-right > .pc-notifications-widget,
.nav-right > .pc-auth-widget,
.nav-right > .home-language {
    display: flex;
    align-items: center;
}

.nav-right > .pc-notifications-widget,
.nav-right > .pc-auth-widget {
    --border: var(--border-strong);
}

/* 계정 위젯 크기는 block-account-widget.css 표준이 소유한다. */

.home-language {
    position: relative;
    min-height: 34px;
}

.mobile-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 22px;
    min-width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--block-text-inverse-muted);
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-nav-toggle:hover {
    color: var(--primary-foreground);
}

.mobile-nav-toggle:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
    border-radius: 8px;
}

.mobile-nav-toggle-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle-icon {
    transform: rotate(180deg);
}

.mobile-nav-shell {
    position: fixed;
    inset: var(--block-header-total-height) 0 0;
    z-index: 999;
}

.mobile-nav-shell[hidden] {
    display: none;
}

.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: var(--block-backdrop-scrim);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mobile-nav-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 20px 14px;
    border-radius: 0 0 22px 22px;
    border-bottom: 1px solid var(--border);
    background: var(--block-surface-sheet);
    box-shadow: var(--block-shadow-sheet);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.mobile-nav-shell.is-open .mobile-nav-backdrop {
    opacity: 1;
}

.mobile-nav-shell.is-open .mobile-nav-panel {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-links {
    display: grid;
}

.mobile-nav-group {
    display: grid;
}

.mobile-nav-parent {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    border-top: 1px solid var(--border-subtle);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 2px;
    color: var(--block-text-inverse-strong);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border-top: 1px solid var(--border-subtle);
}

.mobile-nav-title-link {
    border-top: 0;
}

.mobile-nav-menu-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--block-text-inverse-strong);
    font-family: inherit;
    cursor: pointer;
}

.mobile-nav-menu-trigger:hover {
    color: var(--primary-foreground);
}

.mobile-nav-menu-trigger:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
    border-radius: 10px;
}

.mobile-nav-links > :first-child > .mobile-nav-parent,
.mobile-nav-links > :first-child > .mobile-nav-link,
.mobile-nav-links > .mobile-nav-link:first-child {
    border-top: 0;
}

.mobile-nav-link:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 4px;
    border-radius: 10px;
}

.mobile-nav-menu-chevron {
    width: 16px;
    height: 16px;
    color: currentColor;
    opacity: 0.72;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav-menu-trigger[aria-expanded="true"] .mobile-nav-menu-chevron {
    opacity: 1;
    transform: rotate(180deg);
}

.mobile-nav-submenu {
    display: grid;
    gap: 2px;
    padding: 0 0 10px 14px;
}

.mobile-nav-submenu[hidden] {
    display: none;
}

.mobile-nav-submenu-link {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    color: var(--block-text-inverse-subtle);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
}

.mobile-nav-submenu-link:hover,
.mobile-nav-submenu-link:focus-visible {
    background: var(--border-subtle);
    color: var(--primary-foreground);
    outline: none;
}

.home-language-switcher {
    position: relative;
}

.home-language-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid var(--block-border-control);
    border-radius: 999px;
    background: var(--block-surface-glass);
    color: var(--block-text-inverse);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.home-language-trigger:hover {
    background: var(--block-surface-hover);
    border-color: var(--block-border-control-hover);
    color: var(--primary-foreground);
    transform: translateY(-1px);
}

.home-language-trigger:focus-visible,
.home-language-option:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.home-language-trigger-icon,
.home-language-trigger-caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-language-trigger-icon svg {
    width: 14px;
    height: 14px;
}

.home-language-trigger-label {
    display: none;
}

.home-language-trigger-code {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.home-language-trigger-caret {
    color: var(--block-text-inverse-faint);
    transition: transform 0.2s ease;
}

.home-language-trigger-caret svg {
    width: 12px;
    height: 12px;
}

.home-language-switcher.is-open .home-language-trigger-caret {
    transform: rotate(180deg);
}

.home-language-switcher.is-saving .home-language-trigger {
    opacity: 0.76;
    cursor: progress;
}

.home-language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    gap: 4px;
    min-width: 188px;
    padding: 8px;
    border: 1px solid var(--border-emphasis);
    border-radius: 16px;
    background: var(--block-surface-menu);
    box-shadow: var(--block-shadow-floating);
    backdrop-filter: blur(22px) saturate(145%);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.home-language-menu[hidden] {
    display: none;
}

.home-language-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: var(--block-text-inverse-soft);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.home-language-option:hover {
    background: var(--border-subtle);
    color: var(--primary-foreground);
}

.home-language-option.is-active {
    background: var(--border-emphasis);
    color: var(--primary-foreground);
}

.home-language-option-code {
    color: var(--block-text-inverse-dim);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-menu::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
}

.nav-menu-trigger {
    gap: 4px;
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

.nav-menu-chevron {
    width: 13px;
    height: 13px;
    color: currentColor;
    opacity: 0.72;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 20;
    display: grid;
    min-width: 160px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--block-surface-panel);
    box-shadow: var(--block-shadow-panel);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-menu-panel--wide {
    min-width: 210px;
}

.nav-menu:hover .nav-menu-panel,
.nav-menu:focus-within .nav-menu-panel,
.nav-menu.is-open .nav-menu-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-menu:hover .nav-menu-chevron,
.nav-menu:focus-within .nav-menu-chevron,
.nav-menu.is-open .nav-menu-chevron {
    opacity: 1;
    transform: rotate(180deg);
}

.nav-menu-item {
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 6px;
    color: var(--block-text-inverse-subtle);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.16s ease, color 0.16s ease;
}

.nav-menu-item:hover,
.nav-menu-item:focus-visible {
    background: var(--border-subtle);
    color: var(--primary-foreground);
    outline: none;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    font-size: 13px;
    font-weight: 500;
    color: var(--block-text-inverse-subtle);
    padding: 0 10px;
    text-decoration: none;
    letter-spacing: 0;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 5px;
    height: 1px;
    background: var(--block-surface-light-strong);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-foreground);
}

.nav-menu-trigger:hover {
    color: var(--primary-foreground);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    transform: scaleX(1);
}

.nav-link:focus-visible {
    outline: none;
}

@media (max-width: 768px) {
    :root {
        --server-subheader-height: 32px;
        --block-page-inline-padding: 16px;
        --home-hero-heading-gap: 48px;
    }

    .server-subheader-content {
        font-size: 11px;
        gap: 6px;
    }

    .server-subheader-copy {
        width: 20px;
        min-width: 20px;
        min-height: 20px;
    }

    .nav-center {
        display: none;
    }

    .nav-right {
        gap: 5px;
        margin-left: auto;
    }

    .home-language-trigger {
        padding: 6px 8px;
    }

    .home-language-menu {
        min-width: 168px;
    }

    .mobile-nav-toggle {
        display: inline-flex;
    }
}

/* Removed unused cta-outline, cta-filled, and gemini-icon classes */

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    width: 100%;
    max-width: var(--main-header-max-width);
    margin: 0 auto;
    padding: var(--block-header-total-height) var(--block-page-inline-padding) clamp(24px, 4vh, 40px);
    text-align: left;
    box-sizing: border-box;
}

.hero-copy {
    width: min(100%, 760px);
    display: grid;
    justify-items: start;
}

.hero-disclosure {
    width: 100%;
    min-height: 118px;
    margin: 0;
    pointer-events: auto;
}

.hero-disclosure[hidden] {
    display: none;
}

.hero-disclosure-list {
    display: grid;
    align-content: center;
    gap: 2px;
    min-height: inherit;
    margin: 0;
    padding: 10px 34px 10px 0;
    list-style: none;
}

.hero-disclosure-item {
    min-width: 0;
}

.hero-disclosure-link {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 16px;
    align-content: center;
    align-items: center;
    gap: 4px 18px;
    min-height: 30px;
    padding: 3px 0;
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

.hero-disclosure-link--primary,
.hero-disclosure-link--placeholder {
    min-height: 48px;
    padding: 4px 0 7px;
}

.hero-disclosure-link--secondary {
    grid-template-columns: minmax(92px, auto) minmax(0, 1fr) 14px;
    gap: 8px;
    min-height: 27px;
}

.hero-disclosure-link::after {
    content: '';
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
    width: 7px;
    height: 7px;
    border-top: 1px solid var(--block-text-on-dark-soft);
    border-right: 1px solid var(--block-text-on-dark-soft);
    transform: rotate(45deg);
    opacity: 0.74;
    transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hero-disclosure-link--secondary::after {
    grid-column: 3;
    grid-row: 1;
    width: 5px;
    height: 5px;
    opacity: 0.48;
}

.hero-disclosure-link:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 4px;
}

.hero-disclosure-meta {
    grid-column: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--block-text-on-dark-subtle);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    min-width: 0;
}

.hero-disclosure-meta > * + *::before {
    content: '/';
    margin-right: 8px;
    color: var(--block-text-on-dark-faint);
    font-weight: 400;
}

.hero-disclosure-type {
    color: var(--success);
    font-weight: 800;
}

.hero-disclosure-count {
    color: var(--block-text-on-dark-soft);
    font-weight: 700;
}

.hero-disclosure-title {
    grid-column: 1;
    color: var(--block-text-on-dark-strong);
    overflow: hidden;
    font-size: 1.1875rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.hero-disclosure-link--secondary .hero-disclosure-meta {
    grid-row: 1;
    flex-wrap: nowrap;
    gap: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-disclosure-link--secondary .hero-disclosure-title {
    grid-column: 2;
    grid-row: 1;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}

.hero-disclosure.is-loading .hero-disclosure-title,
.hero-disclosure.is-empty .hero-disclosure-title,
.hero-disclosure.is-error .hero-disclosure-title {
    color: var(--block-text-on-dark-muted);
}

.hero-disclosure.is-error .hero-disclosure-title {
    color: var(--danger);
}

.hero-disclosure-link:hover .hero-disclosure-title,
.hero-disclosure-link:focus-visible .hero-disclosure-title {
    color: var(--primary-foreground);
}

.hero-disclosure-link:hover::after,
.hero-disclosure-link:focus-visible::after {
    border-color: var(--primary-foreground);
    opacity: 1;
    transform: translateX(2px) rotate(45deg);
}

.hero-heading {
    display: grid;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
}

.hero-heading-greeting {
    font-size: var(--fs-display-xl, 2.75rem);
    font-weight: 500;
    color: var(--block-text-on-dark-soft);
    line-height: var(--lh-display, 1.08);
    letter-spacing: 0;
    display: inline-grid;
    place-items: start;
    max-width: 100%;
    min-height: calc(var(--lh-display, 1.08) * 1em + 0.2em);
    padding-block: 0.1em;
    overflow: hidden;
}

.hero-heading-prompt {
    font-size: var(--fs-display-xl, 2.75rem);
    font-weight: 500;
    color: var(--block-text-on-dark-strong);
    margin: 0;
    max-width: 100%;
    line-height: var(--lh-display, 1.08);
    letter-spacing: 0;
    overflow-wrap: break-word;
    white-space: normal;
}

.hero-heading-text {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(0);
    white-space: nowrap;
    pointer-events: none;
    will-change: opacity, transform;
}

.hero-heading-text.enter {
    animation: hero-heading-enter var(--home-hero-heading-animation-duration) ease both;
}

.hero-heading-text.exit {
    animation: hero-heading-exit var(--home-hero-heading-animation-duration) ease both;
}

@keyframes hero-heading-enter {
    from {
        opacity: 0;
        transform: translateY(var(--home-hero-heading-shift));
    }

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

@keyframes hero-heading-exit {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(calc(var(--home-hero-heading-shift) * -1));
    }
}

.hero-heading-text.active {
    opacity: 1;
}

/* Button Grid - flexbox layout for tags */
.button-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    max-width: 800px;
    margin-top: var(--home-hero-heading-gap);
    min-height: 40px;
    opacity: 1;
    transition: opacity 0.18s ease;
}

.button-grid[data-auth-ready="false"] {
    opacity: 0;
    pointer-events: none;
}

/* Action Buttons - Tag Style */
.action-btn {
    height: 40px;
    background: var(--border-subtle);
    border: 1px solid var(--border-emphasis);
    border-radius: 20px;
    color: var(--block-text-on-dark);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease,
        box-shadow 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.action-btn:hover {
    background: var(--border-emphasis);
    border-color: var(--block-border-prominent);
    transform: translateY(-2px);
    box-shadow: var(--block-shadow-hover);
}

.action-btn-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.8;
}

/* Audio controls */
.audio-controls {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--block-surface-panel-strong);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.audio-toggle {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: var(--block-text-on-dark-medium);
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.audio-toggle:hover {
    background: var(--border);
    color: var(--primary-foreground);
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: var(--block-border-prominent);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--block-text-on-dark);
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--block-text-on-dark);
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.volume-text {
    font-size: 12px;
    color: var(--block-text-on-dark-subtle);
    min-width: 30px;
    text-align: center;
}

/* Dark Apple-style First Intro Section */
.first-intro {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(180deg,
            var(--surface-base) 0%,
            var(--block-surface-base-elevated) 50%,
            var(--surface-base) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.intro-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    z-index: 1;
    opacity: 0.7;
    will-change: transform;
}

.intro-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6) contrast(1.1);
    transform: scale(1.0);
    transition: transform 0.1s ease-out;
}

.intro-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 1200px;
    padding: 120px 40px;
    margin: 0 auto;
    width: 100%;
}

.intro-title {
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 600;
    color: var(--surface-foreground);
    margin-bottom: 32px;
    line-height: 1.1;
    letter-spacing: -0.015em;
    word-break: keep-all;
    white-space: nowrap;
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-right: 0.3em;
}

.title-word.visible {
    opacity: 1;
    transform: translateY(0);
}

.title-word.highlight {
    color: var(--success);
    font-weight: 700;
    -webkit-text-stroke: 1px var(--block-success-border-strong);
}

.intro-description {
    font-size: clamp(19px, 2.5vw, 28px);
    color: var(--muted-foreground);
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -0.005em;
    word-break: keep-all;
    max-width: 600px;
}

.intro-cta-group {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.intro-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--block-success-surface-soft);
    color: var(--success);
    padding: 12px 24px;
    border-radius: 24px;
    border: 1px solid var(--block-success-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    min-height: 44px;
    word-break: keep-all;
}

.intro-cta-btn:hover {
    background: var(--block-success-surface);
    border-color: var(--block-success-border-strong);
    transform: translateY(-1px);
}

.intro-cta-btn:active {
    transform: translateY(0);
}

.intro-cta-btn .btn-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.9;
}

/* Responsive Design - Exact Google AI Breakpoints */
@media (max-width: 1068px) {
    .intro-content {
        padding: 100px 40px;
    }
}

@media (max-width: 1024px) {
    .hero-portal-inner {
        grid-template-columns: minmax(0, 1fr) minmax(420px, 460px);
    }

    .hero-disclosure-list {
        padding-right: 28px;
    }

    .hero-disclosure-link--primary,
    .hero-disclosure-link--placeholder {
        padding-block: 5px 7px;
    }

    .button-grid {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    /* Removed unused cta button styles */

    :root {
        --server-subheader-height: 32px;
        --block-page-inline-padding: 16px;
        --home-hero-heading-gap: 36px;
    }

    .hero-command-timeline {
        top: 56vh;
        height: 96px;
    }

    .hero-command-timeline-readout {
        max-width: min(210px, 52vw);
        font-size: 10px;
    }

    .hero-content {
        align-items: flex-start;
        justify-content: flex-end;
        max-width: none;
        padding-bottom: 24px;
        text-align: left;
    }

    .hero-portal {
        top: calc(var(--block-header-total-height) + 12px);
    }

    .hero-portal-inner {
        grid-template-columns: minmax(0, 1fr);
        border-top: 0;
        border-bottom: 0;
    }

    .hero-summary {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        border-bottom: 1px solid var(--border-emphasis);
    }

    .hero-disclosure {
        min-height: 104px;
        border-top: 1px solid var(--block-border-active);
        border-bottom: 1px solid var(--border-emphasis);
    }

    .hero-disclosure-list {
        gap: 3px;
        padding: 10px 0;
    }

    .hero-disclosure-link--secondary {
        grid-template-columns: minmax(74px, auto) minmax(0, 1fr) 12px;
    }

    .block-stats {
        border-left: 0;
    }

    .block-weather {
        border-left: 1px solid var(--border-emphasis);
    }

    .block-stats-slide {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        gap: 3px;
    }

    .block-stats-rotator {
        min-height: 88px;
        padding: 8px 12px 9px 0;
    }

    .block-weather .block-stats-rotator {
        padding-left: var(--block-page-inline-padding);
    }

    .block-stats-track {
        min-height: 70px;
    }

    .hero-copy {
        width: 100%;
        max-width: 100%;
    }

    .hero-heading {
        justify-items: start;
    }

    .hero-heading-greeting,
    .hero-heading-prompt {
        font-size: var(--fs-display-lg, 2.25rem);
    }

    .hero-heading-greeting {
        place-items: start;
    }

    .button-grid {
        justify-content: flex-start;
    }

    .button-grid {
        gap: 8px;
        max-width: 100%;
        min-height: 36px;
    }

    .action-btn {
        height: 36px;
        font-size: 12px;
        padding: 0 12px;
    }

    .home-feed-header {
        align-items: start;
        flex-direction: column;
    }

    .home-feed-link {
        min-height: 32px;
    }

    .home-feed-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-activity-list {
        grid-template-columns: minmax(0, 1fr);
        min-height: 320px;
    }

    .home-activity-list > .home-feed-item:first-child {
        grid-column: 1;
    }

    /* Mobile dropdown adjustments */
    .user-menu-dropdown {
        right: var(--block-page-inline-padding);
        min-width: 200px;
    }
}

@media (max-width: 734px) {
    .intro-content {
        padding: 80px 20px;
    }

    .intro-title {
        margin-bottom: 24px;
        white-space: normal;
        line-height: 1.15;
    }

    .title-word {
        margin-right: 0.25em;
    }

    .intro-description {
        margin-bottom: 32px;
    }

    .intro-cta-btn {
        padding: 11px 22px;
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    :root {
        --server-subheader-height: 30px;
        --home-hero-heading-gap: 28px;
    }

    .hero-command-timeline {
        top: 54vh;
        height: 92px;
    }

    .hero-command-timeline-readout {
        max-width: min(180px, 58vw);
    }

    .hero-heading-greeting,
    .hero-heading-prompt {
        font-size: var(--fs-display, 2rem);
    }

    .hero-portal {
        top: calc(var(--block-header-total-height) + 10px);
    }

    .hero-disclosure {
        min-height: 88px;
    }

    .block-stats-rotator {
        min-height: 84px;
        padding: 7px 10px 7px 0;
    }

    .block-stats-rotator::before {
        display: none;
    }

    .block-stats-track {
        min-height: 68px;
    }

    .block-stats-kicker {
        font-size: 11px;
    }

    .block-stats-value {
        font-size: clamp(1.125rem, 5.5vw, 1.5rem);
    }

    .block-stats-label {
        font-size: 12px;
        line-height: 1.25;
    }

    .home-feed-inner {
        padding-block: 48px;
    }

    .hero-disclosure-link {
        grid-template-columns: minmax(0, 1fr) 14px;
        gap: 4px 10px;
        padding: 2px 18px 2px 0;
    }

    .hero-disclosure-list {
        gap: 2px;
        padding: 7px 0;
    }

    .hero-disclosure-link--primary,
    .hero-disclosure-link--placeholder {
        min-height: 42px;
    }

    .hero-disclosure-link--secondary {
        grid-template-columns: minmax(0, 1fr) 12px;
        min-height: 24px;
    }

    .hero-disclosure-link--secondary .hero-disclosure-meta {
        display: none;
    }

    .hero-disclosure-link--secondary .hero-disclosure-title {
        grid-column: 1;
        font-size: 12px;
    }

    .hero-disclosure-link::after {
        position: absolute;
        right: 2px;
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .hero-disclosure-title {
        font-size: 1rem;
    }

    .home-feed-kicker {
        font-size: 11px;
    }

    .home-feed-item-link {
        padding: var(--space-3, 12px) 0;
    }

    .home-activity-list > .home-feed-item:first-child .home-feed-item-link {
        min-height: 0;
        padding-block: var(--space-5, 20px);
    }

    .home-activity-list > .home-feed-item:first-child .home-feed-item-title {
        font-size: 1.5rem;
        line-height: 1.1;
    }

    .home-feed-links {
        flex-wrap: wrap;
        gap: 8px 16px;
    }

    .home-feed-item-title {
        font-size: 1.125rem;
    }

    .home-feed-summary {
        font-size: var(--fs-xs, 13px);
    }

    .server-subheader-title,
    .server-subheader-label,
    .server-subheader-sep-title {
        display: none;
    }

    .server-subheader-content {
        font-size: 10px;
        gap: 5px;
    }

    .server-subheader-copy {
        width: 19px;
        min-width: 19px;
        min-height: 19px;
    }

    .server-subheader-copy-icon {
        width: 10px;
        height: 10px;
    }

    .home-language-trigger {
        min-height: 32px;
        padding: 6px 9px;
    }

    .home-language-trigger-caret {
        display: none;
    }

    .home-language-menu {
        right: -8px;
        min-width: 156px;
    }

    .mobile-nav-panel {
        padding: 8px 16px 12px;
        border-radius: 0 0 18px 18px;
    }

    .mobile-nav-link {
        padding: 14px 2px;
    }

    .action-btn {
        height: 32px;
        font-size: 11px;
        gap: 4px;
        padding: 0 10px;
    }

    .action-btn-icon {
        width: 12px;
        height: 12px;
    }

    .button-grid {
        min-height: 32px;
    }

    .intro-content {
        padding: 60px 16px;
    }
}

@media (max-width: 480px) and (max-height: 620px) {
    .hero-command-timeline {
        height: 68px;
    }
}

/* Expansion: Apple MacBook Pro Style Sections */

.intro-section {
    position: relative;
    padding: 160px 0;
    background: var(--surface-base);
    overflow: hidden;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 100% 0%, var(--block-primary-glow) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, var(--block-success-glow) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    animation: gradientMove 20s ease-in-out infinite alternate;
}

@keyframes gradientMove {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.section-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Antigravity-style Hero and Content */
.intro-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 900px;
    margin-bottom: 80px;
}

.intro-hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    color: var(--primary-foreground);
    word-break: keep-all;
}

.intro-section-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--primary-foreground);
}

.intro-hero-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--block-text-tertiary);
    margin-bottom: 48px;
    max-width: 600px;
    line-height: 1.5;
    word-break: keep-all;
}

.intro-hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.intro-primary-btn,
.intro-secondary-btn {
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.intro-primary-btn {
    background: var(--primary-foreground);
    color: var(--surface-base);
}

.intro-primary-btn:hover {
    background: var(--surface-foreground);
    transform: translateY(-2px);
}

.intro-secondary-btn {
    background: var(--border);
    color: var(--primary-foreground);
    border: 1px solid var(--block-border-prominent);
    backdrop-filter: blur(8px);
}

.intro-secondary-btn:hover {
    background: var(--block-surface-hover);
    border-color: var(--block-border-active-strong);
    transform: translateY(-2px);
}

.service-extend-main {
    display: grid;
    justify-items: center;
    text-align: center;
    max-width: 860px;
    margin: 0 auto 56px;
}

.service-extend-title {
    max-width: 12ch;
    margin-bottom: 20px;
    font-size: clamp(var(--fs-display, 1.75rem), 6vw, 4.25rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.service-extend-description {
    max-width: 40rem;
    margin-bottom: 32px;
    font-size: clamp(19px, 2.1vw, 26px);
    line-height: 1.45;
    text-align: center;
}

.service-extend-cta {
    min-height: 52px;
    padding-inline: 30px;
}

.service-extend-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-extend-card {
    display: grid;
    gap: 16px;
    align-content: start;
    padding: 14px 14px 16px;
    border-radius: 24px;
    border: 1px solid var(--block-border-prominent);
    background: rgba(20, 20, 22, 0.92);
    color: inherit;
    text-decoration: none;
    transition: background-color 0.3s cubic-bezier(0.2, 0, 0, 1), border-color 0.3s cubic-bezier(0.2, 0, 0, 1), transform 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.service-extend-card:hover {
    background: var(--block-surface-card-hover);
    border-color: var(--border);
    transform: translateY(-2px);
}

.service-extend-card-media {
    position: relative;
    min-height: 330px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.service-extend-card-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.service-extend-card-media--server .service-extend-card-image {
    object-position: center;
}

.service-extend-card-media--web .service-extend-card-image {
    object-position: center;
}

.service-extend-card-media--maps .service-extend-card-image {
    object-position: center;
}

.service-extend-card-title {
    margin: 0;
    font-size: clamp(22px, 2.1vw, 28px);
    line-height: 1.16;
    letter-spacing: -0.03em;
    color: var(--primary-foreground);
    font-weight: 500;
}

.service-extend-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    width: 100%;
    padding: 0 20px;
    border-radius: var(--radius-full);
    background: var(--primary-foreground);
    color: var(--surface-base);
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .intro-section {
        padding: 80px 0;
    }

    .intro-hero {
        align-items: center;
        text-align: center;
    }

    .service-extend-main {
        margin-bottom: 36px;
    }

    .service-extend-list {
        grid-template-columns: 1fr;
    }

    .service-extend-card {
        padding: 24px;
    }

    .service-extend-card-media {
        min-height: 280px;
    }

    .service-extend-card-title {
        font-size: clamp(21px, 7vw, 26px);
    }
}

/* Scroll Animations */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0, 0, 1), transform 0.8s cubic-bezier(0.2, 0, 0, 1);
}

.reveal-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.intro-background {
    opacity: 0.3;
}

.intro-title {
    line-height: 1.2;
}

.title-word {
    margin-right: 0.2em;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        animation: none;
        opacity: 0;
        transform: none;
    }

    .hero-slide--1 {
        opacity: 1;
    }

    .block-stats-slide.enter,
    .block-stats-slide.exit {
        animation: none;
    }

    .hero-command-timeline-line,
    .hero-command-timeline-svg,
    .hero-command-timeline-point,
    .hero-command-timeline-readout {
        transition: none;
    }

    .hero-command-timeline-point::after {
        animation: none;
        opacity: 0;
    }
}
