/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #ffffff;
    background-color: #1a1a1a;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Container ===== */
.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== Hero Wrapper (shared background) ===== */
.hero-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    background: url('bg.jpg') center/cover no-repeat;
}

/* ===== Header ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

.header-logo .logo-text {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 4px;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.header-logo .logo-underline {
    width: 65%;
    height: 3px;
    background-color: #FFB300;
    margin-top: 4px;
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.social-icon:hover {
    opacity: 1;
}

.social-icon svg {
    width: 100%;
    height: 100%;
    fill: #ffffff;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 1px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 6%;
    min-height: 520px;
    overflow: hidden;
}

/* ===== Hero Info Card ===== */
.hero-info-card {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 50px;
    background: rgba(0, 0, 0, 0.45);
}

.hero-info-card .card-frame {
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    padding: 24px 30px 20px;
}

.hero-name-group {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    gap: 0;
    line-height: 1;
}

.hero-name-last {
    font-family: "STXingkai", "STKaiti", "KaiTi", "SimHei", sans-serif;
    font-size: 160px;
    font-weight: 700;
    font-style: italic;
    color: #ffffff;
    line-height: 0.85;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.8),
                 6px 6px 12px rgba(0, 0, 0, 0.5);
}

.hero-name-first {
    position: relative;
    font-family: "STXingkai", "STKaiti", "KaiTi", "SimHei", sans-serif;
    font-size: 80px;
    font-weight: 700;
    color: #ffffff;
    line-height: 0.85;
    margin-left: -8px;
    align-self: flex-end;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.8),
                 6px 6px 12px rgba(0, 0, 0, 0.5);
}

.hero-title {
    position: absolute;
    left: 0;
    top: -22px;
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 4px;
    white-space: nowrap;
}

.hero-motto {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    letter-spacing: 2px;
    text-align: center;
    margin-top: 24px;
    max-width: 420px;
}

/* ===== Dropdown Menu ===== */
.side-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 190px;
    background: #ffffff;
    z-index: 101;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
}

.side-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.side-menu-divider {
    width: 80%;
    height: 1px;
    background-color: #CED4DA;
    margin: 0 auto 16px auto;
}

.side-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.side-menu-item {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #999999;
    text-align: center;
    padding: 8px 0;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s, background-color 0.2s, transform 0.15s;
}

.side-menu-item:hover {
    color: #3B82F6;
    background-color: rgba(59, 130, 246, 0.06);
}

.side-menu-item:active {
    transform: scale(0.97);
}

.side-menu-item--active {
    color: #3B82F6;
    font-weight: 700;
    font-size: 15px;
}

/* ===== Footer ===== */
.footer {
    background-color: #37474F;
    text-align: center;
    padding: 20px 40px;
    position: relative;
    z-index: 10;
}

.footer-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

.footer-text a {
    color: #1E88E5;
    transition: color 0.2s;
}

.footer-text a:hover {
    color: #42A5F5;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }

    .header-logo .logo-text {
        font-size: 24px;
    }

    .hero-wrapper {
        background: url('bg.jpg') 63% 12% / cover no-repeat !important;
    }

    .hero-info-card {
        padding: 30px 20px;
        margin-top: 90px;
        margin-left: -25px;
    }

    .hero-info-card .card-frame {
        padding: 28px 30px 18px;
    }

    .hero-name-last {
        font-size: 96px;
    }

    .hero-name-first {
        font-size: 48px;
    }
}
