@font-face {
    font-family: "a";
    /*中文字体*/
    src: url();
    font-display: swap;
}


@font-face {
    font-family: "b";

    src: url(../fonts/Ubuntu-Regular.ttf);
    font-display: swap;
}

@font-face {
    font-family: "title";
    /*英文字体*/
    src: url(../fonts/Pacifico-Regular.ttf);
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    transition: all 0.3s ease;
}

a:hover,
a:link,
a:visited,
a:active,
a:focus {
    text-decoration: none;
    outline: none;
    border: none;
    color: inherit;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* 设置滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--main_text_color, #000000);
    border-radius: 8px;
    height: 20%;
}

::-webkit-scrollbar-track {
    background-color: var(--main_bg_color, linear-gradient(50deg, #a2d0ff, #ffffff));
}



html[data-theme="Dark"] {
    
    --main_text_color: #fff;
    --gradient: linear-gradient(120deg, rgb(133, 62, 255), #f76cc6 30%, rgb(255, 255, 255) 60%);
    --purple_text_color: #747bff;
    --text_bg_color: rgb(26, 4, 48);
    --item_bg_color: rgba(19, 20, 24, 0.6);
    --item_hover_color: rgba(19, 23, 27, 0.75);
    --item_left_title_color: rgb(255, 255, 255);
    --item_left_text_color: rgb(142, 142, 142);
    --footer_text_color: #646464;
    --left_tag_item: linear-gradient(50deg, #1f2327, #000000);
    --card_filter: 20px;
    --back_filter: 40px;
    --back_filter_color: rgba(0, 0, 0, 0.7);
    --fill:#ffffff;
    --card_shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

html {
    --main_text_color: #333;
    --gradient: linear-gradient(120deg, rgb(94, 62, 255), #e055ad 30%, rgb(45, 45, 255) 60%);
    --purple_text_color: #6e56e8;
    --text_bg_color: rgba(240, 240, 255, 0.2);
    --item_bg_color: rgba(255, 255, 255, 0.5);
    --item_hover_color: rgba(255, 255, 255, 0.8);
    --item_left_title_color: rgb(50, 50, 50);
    --item_left_text_color: rgb(100, 100, 100);
    --footer_text_color: #888;
    --left_tag_item: linear-gradient(50deg, #f0f4ff, #e6ebff);
    --card_filter: 20px;
    --back_filter: 30px;
    --back_filter_color: rgba(255, 255, 255, 0.4);
    --fill: #555;
    --card_shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    --main_bg_color: linear-gradient(135deg, #f5f7ff 0%, #e3e6ff 100%);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(120deg, rgba(94, 62, 255, 0.1), rgba(224, 85, 173, 0.1));
    pointer-events: none;
    z-index: 0;
}

body {
    min-height: 100vh;
    width: 100%;
    position: relative;
    font-family: "b", "a", sans-serif;
    background: var(--main_bg_color);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: color 0.3s ease, background 0.3s ease;
    color: var(--main_text_color);
    overflow-x: hidden;
}

#zyyo-loading {
    background: radial-gradient(white, #d8eaff);
    background-size: 100%;
    background-position: center;

    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 999999;
    margin-top: 0px;
    top: 0px;
    pointer-events: none;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}



#zyyo-loading-center {
    height: 150px;
    width: 150px;
    position: relative;
    border-radius: 50%;
    background: #472eff;
    box-shadow: 0 0 60px rgba(71, 46, 255, 0.6);
    animation: zoom 1s linear infinite;
}

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

    50% {
        opacity: 0.5;
    }

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




.zyyo-filter {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: var(--back_filter_color);
    backdrop-filter: blur(var(--back_filter));
    -webkit-backdrop-filter: blur(var(--back_filter));
    z-index: 0;
    background-image: radial-gradient(rgba(94, 62, 255, 0.15) 8%, transparent 8%);
    background-position: 0% 0%;
    background-size: 25px 25px;
}

.zyyo-main {
    width: 100%;
    margin: 0 auto;
    transition: transform 0.5s ease;
    max-width: 1150px;
    position: relative;
    display: flex;
    flex-direction: row;
    z-index: 1;
}


.zyyo-left {
    overflow-y: scroll;
    width: 230px;
    height: 100vh;
    display: flex;
    padding: 0 15px;
    position: sticky;
    top: 0;
    left: 0;
    align-items: center;
    flex-direction: column;
}


.zyyo-left::-webkit-scrollbar {
    display: none;
}


.logo {
    flex-shrink: 0;
    width: 90%;
    position: relative;
    aspect-ratio: 1/1;
    margin-top: 50px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: 3px solid rgba(255, 255, 255, 0.7);
    z-index: 2;
}

.logo::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.15);
    z-index: 1;
    pointer-events: none;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(110, 86, 232, 0.25);
}

.avatar-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.5s ease;
    background-color: transparent;
    display: block;
    position: relative;
    z-index: 2;
}

.logo-decoration {
    position: absolute;
    top: -20%;
    left: -15%;
    width: 130%;
    height: auto;
    z-index: 3;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.logo:hover .logo-decoration {
    transform: rotate(5deg);
}

.logo:hover .avatar-gif {
    transform: scale(1.1);
}

.left-div {
    flex-shrink: 0;
    width: 100%;
    border-radius: 16px;
    margin-top: 15px;
    padding: 20px;
    backdrop-filter: blur(var(--card_filter));
    -webkit-backdrop-filter: blur(var(--card_filter));
    background: var(--item_bg_color);
    box-shadow: var(--card_shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.left-div:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(calc(var(--card_filter) + 5px));
    -webkit-backdrop-filter: blur(calc(var(--card_filter) + 5px));
}

.left-des {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-des-item {
    display: flex;
    align-items: center;
    line-height: 20px;
    font-size: 15px;
    margin-bottom: 10px;
    overflow: hidden;
}

.left-des-item i,.left-des-item svg{
    width: 16px;
    height: 16px;
    fill:var(--fill);
    font-size: 18px;
    margin-right: 10px;
}
.left-tag {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 14px;
}

.left-tag-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    margin: 0px 6px 6px 0;
    padding: 5px 12px;
    font-size: 13px;
    border-radius: 15px;
    background: var(--left_tag_item);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.left-tag-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#line {
    width: 100%;
    height: 200px;
    font-size: 13px;
    padding-left: 8px;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

#line li {
    list-style: none;
    position: relative;
    padding: 15px 0px 0px 15px;
    border-left: 2px solid #d5d5d5;
    border-radius: 0;
    scroll-snap-align: end;
    color: var(--main_text_color);
}



.focus {
    width: 8px;
    height: 8px;
    border-radius: 22px;
    background-color: rgb(255 255 255);
    border: 2px solid #fff;
    position: absolute;
    left: -5px;
    top: 50%;
}

#line li:first-child .focus:first-child {
    background-color: #aaffcd;
    animation: focus 1.8s ease infinite;
}

#line::-webkit-scrollbar {
    display: none;
}



.zyyo-right {
    width: calc(100% - 230px);
    display: flex;
    padding: 20px;
    position: relative;
    padding-bottom: 50px;
    flex-direction: column;
}

content {
    display: block;
    position: relative;
    z-index: 1;
}

content::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: linear-gradient(45deg, rgba(94, 62, 255, 0.05), rgba(224, 85, 173, 0.05));
    filter: blur(60px);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.welcome {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    font-family: "title", sans-serif;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.index-logo {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    margin-top: 30px;
    position: relative;
    border-radius: 50%;
    border: 3px solid rgba(110, 86, 232, 0.3);
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(110, 86, 232, 0.15);
    background-color: transparent;
    z-index: 2;
}

.index-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.2);
    z-index: 1;
    pointer-events: none;
}

.index-logo .logo-decoration {
    position: absolute;
    top: -25%;
    left: -20%;
    width: 140%;
    height: auto;
    z-index: 3;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.index-logo:hover .logo-decoration {
    transform: rotate(5deg);
}

.index-logo:hover .avatar-gif {
    transform: scale(1.1);
}

.description {
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}



.gradientText {
    background: var(--gradient);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    animation: backgroundSizeAnimation 6s ease infinite;
    display: inline-block;
    padding-right: 5px;
}

@keyframes backgroundSizeAnimation {
    0% {
        background-position: 100%;
    }

    25% {
        background-position: 50%;
    }

    50% {
        background-position: 0%;
    }

    75% {
        background-position: 50%;
    }

    100% {
        background-position: 100%;
    }

}

.purpleText {
    color: var(--purple_text_color);
    font-weight: 700;
}

.textBackground {
    font-weight: 700;
    background: var(--text_bg_color);
    border-radius: 5px;
    font-size: 1.1rem;
    margin: 0 3px;
    padding: 3px 8px;
    display: inline-block;
}

.iconContainer {
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 25px;
    justify-content: flex-start;
    gap: 25px;
}

.iconContainer::-webkit-scrollbar {
    display: none;
}



.iconItem {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--item_bg_color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    overflow: visible;
}

.iconItem i, .iconItem svg {
    width: 24px;
    height: 24px;
    fill: var(--fill);
    font-size: 24px;
    transition: fill 0.3s ease;
}

.iconTip {
    position: absolute;
    white-space: nowrap;
    display: block;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    opacity: 0;
    font-size: 12px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    font-weight: 500;
    color: var(--main_text_color);
}

.iconItem:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: var(--purple_text_color);
}

.iconItem:hover svg {
    fill: #fff;
}

.iconItem:hover .iconTip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.switch {
    width: 60px;
    height: 30px;
    background-color: transparent;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.switch:hover {
    width: 55px;
    /* transform: translateY(-2px); */
    background: var(--item_hover_color);
}

.tanChiShe {
    width: 85%;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.tanChiShe img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.tanChiShe img:hover {
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
    transform: translateY(-5px);
}

.title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1.5rem 0;
    display: flex;
    align-items: center;
    padding-left: 12px;
    border-left: 4px solid var(--purple_text_color);
    transition: transform 0.3s ease;
}
.title svg {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    fill: var(--purple_text_color);
}
.title:hover {
    transform: translateY(-5px);
}

.projectList {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 40px;
}

.projectItem {
    display: flex;
    flex-direction: row;
    width: calc(50% - 10px);
    height: 110px;
    backdrop-filter: blur(var(--card_filter));
    -webkit-backdrop-filter: blur(var(--card_filter));
    background: var(--item_bg_color);
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--card_shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease;
    padding: 16px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.projectItem:hover {
    background: var(--item_hover_color);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(calc(var(--card_filter) + 5px));
    -webkit-backdrop-filter: blur(calc(var(--card_filter) + 5px));
}

.projectItem.pressed {
    transform: scale(0.9);
    background-color: var(--item_hover_color);
}

.projectItemLeft {
    transition: width 0.4s ease;
    height: 100%;
    width: 75%;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.projectItemRight {
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25%;
    height: 100%;
    position: relative;
}

.projectItemRight::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--purple_text_color);
    opacity: 0.1;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.projectItemRight img {
    height: 42px;
    width: 42px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.projectItem:hover .projectItemRight::before {
    transform: scale(1.2);
}

.projectItem:hover .projectItemRight img {
    transform: rotate(15deg) scale(1.1);
}

.projectItemLeft h1 {
    font-size: 1.25rem;
    margin-bottom: 6px;
    color: var(--item_left_title_color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.projectItemLeft p {
    font-size: 0.9rem;
    color: var(--item_left_text_color);
    margin-bottom: 10px;
    line-height: 1.4;
    flex-grow: 1;
    opacity: 0.85;
}

.projectItemTag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--purple_text_color);
    color: #fff;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-self: flex-start;
}

.projectItem:hover .projectItemTag {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.skill {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 30px;
}

.skill img {
    border-radius: 16px;
    width: 100%;
    box-shadow: var(--card_shadow);
    transition: transform 0.3s ease;
}

.skill img:hover {
    transform: scale(1.02);
}

.skill #skillWap {
    display: none;
}

footer {
    max-width: 1150px;
    margin: 0 auto;
    padding: 2rem 0;
    text-align: center;
    color: var(--footer_text_color);
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

footer p {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    color: var(--footer_text_color);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.social-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--purple_text_color);
    transition: width 0.3s ease;
}

.social-link:hover {
    color: var(--purple_text_color);
    transform: translateY(-2px);
}

.social-link:hover:after {
    width: 100%;
}

@media (min-width: 800px) {

    .index-logo {
        display: none;
    }
}

@media (max-width: 1150px) {
    .projectList {
        gap: 15px;
    }
    
    .projectItem {
        width: calc(50% - 8px);
    }
}

@media (max-width: 800px) {
    .zyyo-left {
        display: none;
    }

    .a {
        width: calc(50% - 6px);
        height: 130px;
        padding: 12px;
    }
    
    .a .projectItemRight {
        display: none;
    }
    
    .a .projectItemLeft {
        width: 100%;
    }
    
    .b {
        width: 100%;
        height: 100px;
        margin-bottom: 5px;
    }
    
    .projectItemLeft h1 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .projectItemLeft p {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .projectItemTag {
        padding: 3px 8px;
        font-size: 0.65rem;
    }

    .zyyo-right {
        width: 100%;
    }

    .tanChiShe {
        width: 100%;
        margin-top: 1.5rem;
    }

    .welcome {
        font-size: 3rem;
        margin: 0.8rem 0;
    }
    
    .description {
        font-size: 1.1rem;
    }
    
    .iconContainer {
        margin-top: 1.5rem;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
    }
    
    .iconItem {
        margin: 0 0.6rem;
    }

    .skill #skillWap {
        display: block;
    }

    .skill #skillPc {
        display: none;
    }

    .emoji {
        font-size: 1.2rem;
    }
    
    header {
        margin-bottom: 1.5rem;
    }

    .index-logo {
        width: 35%;
        max-width: 150px;
        margin: 20px auto 10px;
        display: block;
    }
}

@media (max-width: 500px) {
    .a {
        width: 100%;
        height: 100px;
        margin-bottom: 5px;
    }
    
    .projectItemLeft h1 {
        font-size: 1rem;
    }
    
    .projectList {
        gap: 10px;
    }
}





.tc {
    position: fixed;
   
    display: flex;
    visibility: hidden;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(20, 20, 20, 0.5);
    z-index: 99999;
    align-items: center;
    top: 0;
    justify-content: center;
    flex-direction: column;
}

.tc-main {
    z-index: 100000;
    
    width: 80%;
    max-width: 300px;
    min-height: 200px;
    background-color: #ffffff;
    border-radius: 15px;

    display: flex;
    transition: transform 0.2s linear;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform: translateY(30%) scale(0.5);

}

.tc-img {
    width: 100%;
    height: 100%;
}

.tc.active {
    visibility: visible;
}

.tc-main.active {

    transform: translateY(0) scale(1);

}









.onoffswitch {
    position: relative;
    width: 38px;
    height: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    border-radius: 50px;
}

.onoffswitch-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200%;
    height: 100%;
    margin-left: -100%;
    transition: margin 0.2s ease-in 0s;
}

.onoffswitch-inner:before,
.onoffswitch-inner:after {
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
    width: 50%;
    height: 100%;
    padding: 0;
    font-size: 12px;
    color: white;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: bold;
    box-sizing: border-box;
}

.onoffswitch-inner:before {
    content: "";
    background-color: rgb(110 110 110 / 50%);
    color: #FFFFFF;
    text-align: left;
}

.onoffswitch-inner:after {
    content: "";
    background-color: #272727;
    color: #FAFAFA;
    text-align: right;
}

.onoffswitch-switch {
    display: block;
    height: 70%;
    aspect-ratio: 1/1;
    background: #FFFFFF;
    position: absolute;
    top: 12.5%;
    bottom: 12.5%;
    right: 5px;

    border-radius: 20px;
    transition: right 0.2s ease-in 0s;
}

.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-switch {
    right: 50%;
}

.emoji {
    font-size: 1.3rem;
    display: inline-block;
    margin-right: 0.2rem;
    vertical-align: -0.1em;
}

/* 個人介紹部分增強 */
header {
    position: relative;
    margin-bottom: 2rem;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--purple_text_color, #6e56e8) 50%, transparent);
    opacity: 0.3;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.service-item {
    backdrop-filter: blur(var(--card_filter));
    -webkit-backdrop-filter: blur(var(--card_filter));
    background: var(--item_bg_color);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    flex-direction: row;
    box-shadow: var(--card_shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.7);
    align-items: center;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background: var(--item_hover_color);
    border-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(calc(var(--card_filter) + 5px));
    -webkit-backdrop-filter: blur(calc(var(--card_filter) + 5px));
}

.service-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(110, 86, 232, 0.1);
    margin-right: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
    background: rgba(110, 86, 232, 0.2);
}

.service-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--purple_text_color);
}

.service-content {
    flex: 1;
}

.service-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--item_left_title_color);
    font-weight: 600;
}

.service-description {
    font-size: 0.9rem;
    color: var(--item_left_text_color);
    line-height: 1.5;
    opacity: 0.9;
}

@media (max-width: 800px) {
    .services-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-item {
        padding: 20px;
    }
}

/* 頂部橫幅樣式 */
.top-banner {
    width: 100%;
    background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    padding: 10px 0;
    position: relative;
    z-index: 100;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.banner-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    line-height: 1.5;
}

.banner-emoji {
    margin-right: 8px;
    font-size: 1.2rem;
}

.banner-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 4px;
    margin: 0 5px;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .banner-content {
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
    }
}

/* 修復響應式設計問題 */
@media screen and (max-width: 768px) {
  .zyyo-main {
    flex-direction: column;
  }
  
  .zyyo-left, .zyyo-right {
    width: 100%;
  }
  
  .left-tag {
    flex-wrap: wrap;
  }
  
  .left-tag-item {
    margin-bottom: 10px;
  }
  
  .projectList {
    display: grid;
    grid-template-columns: 1fr;
  }
  
  .projectItem {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .services-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-item {
    width: 100%;
  }
  
  #skillPc {
    display: none;
  }
  
  #skillWap {
    display: block;
    width: 100%;
  }
}

@media screen and (min-width: 769px) {
  #skillWap {
    display: none;
  }
  
  #skillPc {
    display: block;
    width: 100%;
  }
}

/* 修復SVG圖標大小問題 */
.icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

/* 修復動畫可能造成的閃爍問題 */
.animate__animated {
  will-change: transform, opacity;
}
