html, body, div, span, h1, p, a, section, footer {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
html, body {
    width: 100%;
    min-height: 100%;
}
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(245, 247, 250, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 100;
    padding: 15px 0;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.65);
}
.footer-left {
    text-align: left;
}
.footer-center {
    text-align: center;
    flex: 1;
    margin: 0 20px;
}
.footer-right {
    text-align: right;
}
.links-section {
    padding: 60px 20px;
    background-color: #f5f7fa;
    border-top: 1px solid #e8e8e8;
    margin-bottom: 120px;
    position: relative;
    z-index: 40;
    top: 100vh;
    width: 100%;
    margin-top: 0;
}
@media (max-width: 768px) {
    .links-section {
        margin-bottom: 100px;
    }
}
.links-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.links-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    font-weight: normal;
}
.links-list {
    font-size: 14px;
}
.links-list a {
    color: #666;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}
.links-list a:hover {
    color: #4285f4;
}
.footer-content a {
    color: rgba(3, 3, 3, 0.85);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}
.footer-content a:hover {
    color: #1890ff;
}
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
        margin: 0;
    }
}
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
section {
    display: block;
}
a {
    text-decoration: none;
    transition: all 0.25s ease;
}
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}
#friend-links {
    padding: 40px 0 100px 0;
    background-color: #fafafa;
    border-top: 1px solid #e8e8e8;
    position: relative;
    z-index: 10;
}
#friend-links .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
#friend-links h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgba(0, 0, 0, 0.85);
    text-align: center;
}
#friend-links .links {
    font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}
#friend-links .links a {
    color: #1890ff;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.25s ease;
    white-space: nowrap;
    background-color: rgba(24, 144, 255, 0.05);
}
#friend-links .links a:hover {
    color: #fff;
    background-color: #1890ff;
}
@media (max-width: 768px) {
    #friend-links {
        padding: 30px 0;
    }
    #friend-links .links {
        font-size: 13px;
    }
    #friend-links .links a {
        margin: 0 5px;
    }
}
.bounce-in {
    animation-name: bounce-in;
}
@keyframes bounce-in {
    from, 60%, 75%, 90%, to {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    0% {
        opacity: 0;
        transform: translate3d(-3000px, -50%, 0);
    }
    60% {
        opacity: 1;
        transform: translate3d(25px, -50%, 0);
    }
    75% {
        transform: translate3d(-10px, -50%, 0);
    }
    90% {
        transform: translate3d(5px, -50%, 0);
    }
    to {
        transform: translate3d(0, -50%);
    }
}
body {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(0, 0, 0, 0.65);
    background-color: #f5f7fa;
}
h1 {
    font-family: "Merriweather", sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.25;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 25px;
}
a {
    color: rgba(3, 3, 3, 0.85);
    font-weight: 600;
}
.about_bg {
}
#about {
    width: 40%;
    position: absolute;
    top: 40%;
    left: 10%;
    z-index: 20;
    transform: translate(0, -50%);
}
#about h1 {
    margin: 30px;
}
#about p {
    margin: 30px;
}
#about .copyright {
    width: 100%;
    margin-bottom: 0;
}
.bg-align {
    margin-top: 50%;
}
#profile {
    background-image: url(/img/keneng.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 70%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}
@media (max-width: 768px) {
    #profile {
        width: 100%;
        height: 50%;
        top: 0;
    }
    #about {
        position: relative;
        width: 100%;
        top: 50%;
        left: 0;
        transform: none;
        padding: 30px 20px;
        background-color: #f5f7fa;
        z-index: 15;
    }
    #about h1 {
        font-size: 36px;
        margin: 0 0 20px 0;
        line-height: 1.3;
    }
    #about p {
        font-size: 16px;
        margin: 0 0 16px 0;
        line-height: 1.6;
    }
    .bg-align {
        margin-top: 0;
    }
}
@media (max-width: 580px) {
    #profile {
        display: none;
    }
    #about {
        position: static;
        width: 100%;
        height: auto;
        top: 0;
        left: 0;
        transform: none;
        padding: 30px 20px;
        background-color: #f5f7fa;
        z-index: 10;
        margin: 0;
    }
    .bg-align {
        margin-top: 0;
    }
    #about h1 {
        font-size: 32px;
        margin: 0 0 20px 0;
        line-height: 1.3;
    }
    #about p {
        font-size: 15px;
        margin: 0 0 16px 0;
        line-height: 1.6;
    }
    #about .copyright {
        margin-top: 30px;
        font-size: 14px;
    }
}
#cards-section {
    position: relative;
    top: 100vh;
    background-color: #f5f7fa;
    width: 100%;
    padding: 80px 0;
    z-index: 30;
}
#apps-section {
    position: relative;
    top: 100vh;
    background-color: #ffffff;
    width: 100%;
    padding: 80px 0;
    z-index: 30;
    margin-top: 50px;
}
#cards-section h2,
#apps-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.85);
    margin: 0 0 40px 0;
    font-family: "Merriweather", sans-serif;
}
#cards-section .cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
#apps-section .cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.card {
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 220px;
    position: relative;
    overflow: hidden;
}
.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.card-link:hover .app-card {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.app-card {
    background-color: #ffffff;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid #e8e8e8;
}
.app-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}
.app-icon {
    width: 60px;
    height: 60px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.app-description {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.card-quote {
    background-color: #e6f7ff;
    color: #333;
}
.card-quote h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.9;
}
.intro-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #1890ff;
}
.intro-detail {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
    margin: 0;
    color: #333;
}
.card-specialty {
    background-color: #ffffff;
    color: #333;
    display: flex;
    flex-direction: column;
}
.card-specialty h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.9;
}
.quote-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 8px 0;
    color: #333;
}
.quote-author {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin: 0;
    align-self: flex-end;
}
.card-game {
    color: white;
    background-size: cover;
    background-position: center;
    justify-content: space-between;
}
.card-game h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.9;
}
.game-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
}
.game-detail {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.8;
    margin: 0 0 10px 0;
    align-self: flex-start;
}
.civ-icons {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
}
.civ-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.civ-icon:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.2);
}
.tooltip {
    position: relative;
    display: inline-block;
}
.tooltip .tooltiptext {
    visibility: hidden;
    width: 60px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    font-size: 12px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
    transition: opacity 0.3s;
}
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
.lol-card {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
    linear-gradient(135deg, #2a0a2e, #2d1035, #1c1136);
}
.aoe2-card {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
    url('/img/Game/Age of Empires II.webp') center/cover no-repeat;
}
.werewolf-card {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
    linear-gradient(135deg, #2c105a, #431c69, #5b2a8a);
}
.fh5-card {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
    url('/img/Game/Forza Horizon 5.webp') center/cover no-repeat;
}
.card-interest {
    color: white;
    background-size: cover;
    background-position: center;
    justify-content: space-between;
}
.card-interest h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.9;
}
.interest-title,
.music-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px 0;
}
.interest-detail,
.music-detail {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.8;
    margin: 0 0 15px 0;
}
.tech-card {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
}
.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    animation: slideshow 15s infinite;
    background-size: cover;
    background-position: center;
}
@keyframes slideshow {
    0%, 30% {
        background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)),
        url('/img/apple.webp');
    }
    33%, 63% {
        background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)),
        url('/img/Jensen Huang.jpeg');
    }
    66%, 100% {
        background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)),
        url('/img/Su Zifeng.jpeg');
    }
}
.music-card {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)),
    url('/img/Music/MC HotDog.jpg') center/cover no-repeat;
    justify-content: flex-start;
}
.music-icon {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
}
.music-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.music-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.more-btn {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    opacity: 0.9;
    cursor: pointer;
    align-self: flex-end;
    margin-top: auto;
}
.more-btn:hover {
    opacity: 1;
}
@media (min-width: 1200px) {
    #cards-section .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 1400px;
    }
    #apps-section .cards-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 1400px;
    }
    .card {
        height: 280px;
        padding: 40px;
    }
    .app-card {
        height: 240px;
    }
    .app-icon {
        width: 80px;
        height: 80px;
    }
    .app-card h3 {
        font-size: 20px;
    }
    .app-description {
        font-size: 15px;
    }
    .text-container {
        max-width: 900px;
    }
    .text-container h2 {
        font-size: 36px;
        margin-bottom: 50px;
    }
    .text-container p {
        font-size: 18px;
        margin-bottom: 25px;
    }
    .text-container .date-signature {
        margin-top: 50px;
    }
    .game-title, .intro-title {
        font-size: 28px;
    }
    .interest-title, .music-title {
        font-size: 24px;
    }
    .quote-text {
        font-size: 20px;
    }
    .quote-author {
        font-size: 16px;
    }
    .intro-detail {
        font-size: 16px;
    }
    .civ-icon {
        width: 40px;
        height: 40px;
    }
    .tooltip .tooltiptext {
        font-size: 14px;
        width: 70px;
        margin-left: -35px;
    }
    .music-logo {
        width: 40px;
        height: 40px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    #cards-section .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px;
        max-width: 1250px;
    }
    #apps-section .cards-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 26px;
        max-width: 1250px;
    }
    .card {
        height: 260px;
        padding: 35px;
    }
    .app-card {
        height: 220px;
    }
    .app-icon {
        width: 70px;
        height: 70px;
    }
    .text-container {
        max-width: 800px;
    }
    .text-container h2 {
        font-size: 34px;
        margin-bottom: 45px;
    }
    .text-container p {
        font-size: 17px;
    }
    .text-container .date-signature {
        margin-top: 45px;
    }
    .game-title, .intro-title {
        font-size: 26px;
    }
    .interest-title, .music-title {
        font-size: 22px;
    }
    .quote-text {
        font-size: 19px;
    }
    .quote-author {
        font-size: 15px;
    }
    .intro-detail {
        font-size: 15px;
    }
    .civ-icon {
        width: 36px;
        height: 36px;
    }
    .music-logo {
        width: 36px;
        height: 36px;
    }
}
@media (max-width: 768px) {
    #cards-section {
        top: 50vh;
        padding: 40px 0;
        margin-top: 0;
    }
    #apps-section {
        top: 50vh;
        padding: 40px 0;
        margin-top: 20px;
    }
    #text-section {
        top: 50vh;
        padding: 40px 0;
        margin-top: 20px;
    }
    #cards-section .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        max-width: 750px;
    }
    #apps-section .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        max-width: 750px;
    }
    .card {
        height: 200px;
        padding: 20px;
    }
    .app-card {
        height: 180px;
    }
    .app-icon {
        width: 50px;
        height: 50px;
    }
    .text-container h2 {
        font-size: 30px;
        margin-bottom: 35px;
    }
    .text-container p {
        font-size: 16px;
    }
    .text-container .date-signature {
        margin-top: 40px;
    }
    .game-title, .intro-title {
        font-size: 20px;
    }
    .interest-title,
    .music-title {
        font-size: 18px;
    }
    .quote-text {
        font-size: 16px;
    }
    .quote-author {
        font-size: 13px;
    }
    .civ-icon {
        width: 30px;
        height: 30px;
    }
    .civ-icons {
        gap: 8px;
    }
    .tooltip .tooltiptext {
        font-size: 11px;
        width: 55px;
        margin-left: -27.5px;
    }
    .links-section {
        top: 50vh;
        padding: 40px 20px;
        margin-bottom: 100px;
        margin-top: 20px;
    }
}
#text-section {
    position: relative;
    top: 100vh;
    background-color: #f8f9fa;
    width: 100%;
    padding: 80px 0;
    z-index: 30;
    margin-top: 50px;
}
.text-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-container h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.85);
    margin: 0 0 40px 0;
    font-family: "Merriweather", sans-serif;
}
.text-container p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0 0 20px 0;
    text-align: justify;
}
.text-container .date-signature {
    text-align: right;
    margin-top: 40px;
    font-style: italic;
    color: #999;
}
@media (max-width: 580px) {
    #cards-section,
    #apps-section {
        top: 0;
        padding: 30px 0;
        margin-top: 0;
    }
    #text-section {
        top: 0;
        padding: 30px 0;
        margin-top: 0;
    }
    #cards-section .cards-container,
    #apps-section .cards-container {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 15px;
        max-width: 100%;
    }
    .text-container {
        padding: 0 15px;
    }
    .text-container h2 {
        font-size: 26px;
        margin-bottom: 25px;
    }
    .text-container p {
        font-size: 15px;
        text-align: left;
        margin-bottom: 15px;
    }
    .text-container .date-signature {
        margin-top: 30px;
        text-align: right;
    }
    .card {
        height: 160px;
        padding: 16px;
        border-radius: 10px;
    }
    .app-card {
        height: 150px;
    }
    .app-icon {
        width: 40px;
        height: 40px;
    }
    .app-card h3 {
        font-size: 16px;
    }
    .app-description {
        font-size: 12px;
    }
    .card-quote h3,
    .card-specialty h3,
    .card-game h3,
    .card-interest h3 {
        font-size: 12px;
        margin-bottom: 8px;
    }
    .game-title, .intro-title {
        font-size: 16px;
        line-height: 1.3;
    }
    .intro-detail {
        font-size: 11px;
    }
    .quote-text {
        font-size: 13px;
        line-height: 1.4;
    }
    .quote-author {
        font-size: 11px;
    }
    .civ-icon {
        width: 24px;
        height: 24px;
    }
    .civ-icons {
        gap: 6px;
        padding-top: 5px;
    }
    .tooltip .tooltiptext {
        font-size: 10px;
        width: 50px;
        margin-left: -25px;
        padding: 3px 0;
    }
    .interest-title,
    .music-title {
        font-size: 14px;
        line-height: 1.3;
    }
    .interest-detail,
    .music-detail,
    .game-detail {
        font-size: 11px;
        margin-bottom: 10px;
    }
    .more-btn {
        font-size: 12px;
    }
    .links-section {
        top: 0;
        padding: 30px 20px;
        margin-bottom: 100px;
        margin-top: 0;
    }
    #about {
        padding: 20px 15px;
    }
    #about h1 {
        font-size: 28px;
        margin: 0 0 15px 0;
    }
    #about p {
        font-size: 14px;
        margin: 0 0 12px 0;
    }
}