:root {
    --primary-glow: #00ffe7;
    --secondary-glow: #7000ff;
    --bg-overlay: rgba(10, 10, 10, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-glow);
}

body {
    background-color: #000;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* Prevent body scrolling */
}

#loader_container {
    text-align: center;
    position: absolute;
    top: 40%;
    width: 100%;
    left: 0;
}

#loader {
    font-family: Tahoma, sans;
    font-size: 11.5px;
    color: #000000;
    background-color: #ffffff;
    padding: 10px 0 16px 0;
    margin: 0 auto;
    display: block;
    width: 130px;
    border: #5a667b solid 1px;
    text-align: left;
    z-index: 2;
}

#progress {
    height: 5px;
    font-size: 1px;
    width: 1px;
    position: relative;
    top: 1px;
    left: 0;
    background-color: #8894a8;
}

#loader_bg {
    background-color: #e4e7eb;
    position: relative;
    top: 8px;
    left: 8px;
    height: 7px;
    width: 113px;
    font-size: 1px;
}

html {
    overflow: hidden;
}

body {
    margin: 0;
    padding: 0;
    background-color: #000;
}

#container {
    height: 200vh;
    width: 300vw;
}

.positioning {
    position: absolute;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
    overflow: hidden;
    /* Hide overflow at the section level */
}





#start {
    top: 0;
    left: 0;
    background-color: #222;
    background-repeat: no-repeat;
    background-position: bottom right;
}

#about {
    top: 100vh;
    left: 0;
    background-color: #dd1f8e;
    background-repeat: repeat-y;
}

#work {
    top: 100vh;
    left: 100vw;
    background-color: #00a7e2;
    background-repeat: repeat-y;
}

#contact {
    top: 0;
    left: 100vw;
    background-color: #84c922;
    background-repeat: repeat-y;
}

#print {
    top: 0;
    left: 200vw;
    background-color: #ee9a10;
    background-repeat: repeat-y;
}

#skills {
    top: 100vh;
    left: 200vw;
    background-color: #620294;
    background-repeat: repeat-y;
}

.inside_def {
    margin: 0;
    width: 90%;
    max-width: 1100px;
    padding: 4vh 4vw;
    /* Balanced responsive padding */
    box-sizing: border-box;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 5;
    /* Removed forced height and overflow that caused unsightly scrollbars */
}

.lianxiwomen {
    height: 700px;
}

.inside_def .homeheader {
    font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Arial;
    font-size: 13pt;
    color: #fff;
    padding-bottom: 10px;
    line-height: 25px;
}

.inside_def .text {
    font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Arial;
    font-size: 1.1rem;
    color: #fff;
    text-align: justify;
    line-height: 1.6;
    padding-bottom: 10px;
    min-height: auto;
}

.inside_def .text ul#purple li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: block;
    padding: 2px 10px;
    border-bottom: 1px solid #7c2fa4;
}

.inside_def .text ul#purple li:hover {
    background-color: #7110a3;
    color: #e8bffd;
}

.navigator {
    float: right;
    cursor: pointer;
    display: block;
    clear: both;
}

.button {
    float: left;
    cursor: pointer;
    margin-right: 2px;
}

.slider {
    font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Arial;
    font-size: 8pt;
    cursor: pointer;
    margin-bottom: 10px;
    text-align: center;
    color: #fff;
    padding: 10px;
}

.slider img {
    border: #fff solid 5px;
}

a:link,
a:visited {

    text-decoration: none;
    padding: 1px 2px;
}

a:hover,
a:active {
    color: #999;
    text-decoration: none;
    padding: 1px 2px;
}

.skin-noisy {
    position: relative;
    border-radius: 5px;
    padding: 0;
    border: #333 solid 15px;
    border-image: url('noisy/border.png') 25 25 25 25 repeat;
    background: #1c1c1c;
    padding: 5px 5px 5px 0;
}

.skin-noisy dl.slidedeck {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 4px;
}

.skin-noisy dl.slidedeck>dd {
    position: relative;
    margin: 0;
    border-right: 5px solid #1c1c1c;
    background: none;
    overflow: hidden;
    background: #1d1d1d;
    padding: 0 0 0 5px;
    color: #fff;
}

.skin-noisy dl.slidedeck>dt {
    position: relative;
    cursor: pointer;
    height: 55px;
    line-height: 58px;
    font-size: 15px;
    font-weight: bold;
    font-family: Helvetica, sans-serif;
    background: url('noisy/spines.png') bottom right #1d1d1d;
    color: #ddd !important;
    margin: 0;
    padding: 0 20px 0 10px;
    text-shadow: #111 1px 1px 1px;
}

.skin-noisy dl.slidedeck dt.spine:hover {
    background-position: top right;
}

.skin-noisy dl.slidedeck dt.spine.active,
.skin-noisy dl.slidedeck dt.spine.active:hover {
    cursor: default;
    color: #fff !important;
    background-position: bottom right;
}

.skin-noisy dl.slidedeck dt.spine .index {
    margin-left: 5px;
    font-size: 24px;
    font-weight: bold;
    font-family: Helvetica, sans-serif;
    color: #111;
    text-shadow: #444 1px 1px 1px;
    /*background : url('noisy/index.png') 31px 0% no-repeat; */
}

.skin-noisy dl.slidedeck .activeCorner {
    margin-left: 0;
    background-image: url('noisy/corner.png');
    width: 12px;
    height: 25px;
}

.skin-noisy dl.slidedeck dd.slide ul.slidesVertical {
    margin: 0 0 0 5px;
}

.skin-noisy dl.slidedeck dd.slide ul.slidesVertical>li {
    overflow: hidden;
    padding: 0 0 0 5px;
}

.skin-noisy dl.slidedeck dd.slide ul.verticalSlideNav {
    top: 10px;
    right: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.skin-noisy dl.slidedeck dd.slide ul.verticalSlideNav li {
    position: relative;
    z-index: 2;
    margin: 0 0 6px;
    padding: 0 0 3px;
    width: 30px;
    height: 27px;
    overflow: hidden;
    line-height: 12px;
    list-style: none;
    font-size: 1px;
}

.skin-noisy dl.slidedeck dd.slide ul.verticalSlideNav li.arrow {
    position: absolute;
    display: block;
    z-index: 5;
    width: 20px;
    height: 0;
    padding-top: 20px;
    padding-bottom: 0;
    overflow: hidden;
    left: 0;
    border: #fff solid 2px;
    background: #1d1d1d;
    border-radius: 13px;
}

.skin-noisy dl.slidedeck dd.slide ul.verticalSlideNav li a {
    position: relative;
    display: block;
    width: 20px;
    height: 0;
    overflow: hidden;
    padding-top: 20px;
    background: #ececec;
    outline: none;
    text-decoration: none;
    border: #fff solid 2px;
    opacity: 0.5;
    border-radius: 13px;
}

.skin-noisy dl.slidedeck dd.slide ul.verticalSlideNav li a:hover {
    opacity: 0.75;
}

* {
    margin: 0;
    padding: 0;
}

body {
    font: 11px Helvetica, sans-serif;
}

#wrapper {
    width: 800px;
    margin: 25px auto;
}

#intro {
    padding-bottom: 10px;
}

#slider {
    width: 800px;
    margin: 0 auto;
    position: relative;
    border: #0173cb solid 10px;
}

.scroll {
    overflow: hidden;
    width: 800px;
    margin: 0 auto;
    position: relative;
}

.scrollContainer {
    position: relative;
}

.scrollContainer div.panel {
    padding: 10px;
    width: 274px;
    height: 318px;
}

#left-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    bottom: 0;
    background: url(../images/leftshadow.png) repeat-y;
}

#right-shadow {
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    bottom: 0;
    background: url(../images/rightshadow.png) repeat-y;
}

.inside {
    padding: 10px;
}

.inside img {
    display: block;
    border: #666 solid 1px;
    margin: 0 0 10px 0;
    width: 250px;
}

.inside h2 {
    font-weight: normal;
    color: #111;
    font-size: 16px;
    margin: 0 0 8px 0;
}

.inside p {
    font-size: 11px;
    color: #ccc;
}

a {
    color: #999;
    text-decoration: none;
    border: none;
}

a:hover {
    text-decoration: none;
}

a:link {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

.scrollButtons {
    position: absolute;
    top: 127px;
    cursor: pointer;
}

.scrollButtons.left {
    left: -45px;
}

.scrollButtons.right {
    right: -45px;
}

.hide {
    display: none;
}

.va-container {
    position: relative;
}

.va-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.va-slice {
    cursor: pointer;
    position: absolute;
    width: 100%;
    left: 0;
    overflow: hidden;
}

.va-slice-1 {
    background: url(../images/1.jpg) center center no-repeat #000;
}

.va-slice-2 {
    background: url(../images/2.jpg) center center no-repeat #000;
}

.va-slice-3 {
    background: url(../images/3.jpg) center center no-repeat #000;
}

.va-slice-4 {
    background: url(../images/4.jpg) center center no-repeat #000;
}

.va-slice-5 {
    background: url(../images/5.jpg) center center no-repeat #000;
}

.va-slice-6 {
    background: url(../images/6.jpg) center center no-repeat #000;
}

.va-slice-7 {
    background: url(../images/7.jpg) center center no-repeat #000;
}

.va-slice-color-1 {
    background-color: #97c5eb;
}

.va-slice-color-2 {
    background-color: #68ace5;
}

.va-slice-color-3 {
    background-color: #0072cf;
}

.va-slice-color-4 {
    background-color: #0039a6;
}

.va-slice-color-5 {
    background-color: #00338e;
}

.va-slice-color-6 {
    background-color: #002c76;
}

.va-slice-color-7 {
    background-color: #002144;
}

.va-title {
    font-family: 'Open Sans Condensed', sans-serif;
    text-transform: uppercase;
    font-size: 60px;
    margin-left: 20px;
    color: #fff;
    text-shadow: white 0 0 1px;
}

.va-content {
    display: none;
    margin-left: 25px;
}

.va-slice p {
    font-size: 22px;
    font-style: italic;
    font-family: Georgia;
}

.va-slice ul {
    margin-top: 20px;
}

.va-slice ul li {
    float: left;
    margin: 0 2px;
}

.va-slice ul li a {
    color: #000;
    background: #eede2f;
    padding: 3px 6px;
    font-size: 14px;
    font-family: 'PT Sans', sans-serif;
    text-transform: uppercase;
}

.va-slice ul li a:hover {
    background: #000;
    color: #fff;
    text-shadow: none;
}

.va-nav span {
    width: 40px;
    height: 25px;
    background: url(../images/prev.png) center center no-repeat transparent;
    position: absolute;
    top: -35px;
    left: 50%;
    margin-left: -20px;
    text-indent: -9000px;
    opacity: 0.699999988079071044921875;
    cursor: pointer;
    display: none;
    z-index: 100;
}

.va-nav span.va-nav-next {
    background-image: url(../images/next.png);
    top: auto;
    bottom: -35px;
}

.va-nav span:hover {
    opacity: 1;
}

li {
    list-style: none;
}

.copy {
    background-attachment: scroll;
    background-color: transparent;
    background-image: none;
    color: #666;
    display: block;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    height: 245px;
    left: 68px;
    line-height: 19px;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    position: absolute;
    top: 58px;
    width: 290px;
}

.cardImage {
    background-attachment: scroll;
    background-color: transparent;
    background-image: none;
    border-bottom-style: none;
    border-left-style: none;
    border-right-style: none;
    border-top-style: none;
    color: #474747;
    display: block;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    width: 195px;
    left: 380px;
    line-height: 19px;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    position: absolute;
    top: 28px;
}

#slidedeck_frame {
    width: 800px;
    height: 300px;
}

.aboutcont {
    font-size: 1.25rem;
    color: var(--text-main);
    line-height: 1.8;
}




/*   Ͻǲ˵ */
#opciones {
    z-index: 70;
    position: fixed;
    padding-bottom: 10px;
    padding-left: 10px;
    width: 120px;
    padding-right: 10px;
    font: 12px/140% Arial, Helvetica, sans-serif;
    background: #e7e7e7;
    color: #999;
    top: 0px;
    right: 0px;
    padding-top: 10px;
    display: none;
}

#opciones H2 {
    border-bottom: #fff 1px solid;
    padding-bottom: 3px;
    margin: 0px 0px 3px;
    padding-left: 0px;
    padding-right: 0px;
    color: #666;
    font-size: 16px;
    padding-top: 0px;
}

#opciones H3 {
    padding-bottom: 0px;
    text-indent: 0px;
    margin: 3px 0px;
    padding-left: 0px;
    padding-right: 0px;
    height: 15px;
    color: #666666;
    padding-top: 0px;
}

#opciones P {
    font-size: 12px;
}

#opciones ul A {
    color: #222;
    text-decoration: none;
}

#opciones ul A:hover {
    background: #222;
    color: #fff;
}

#opciones li.current a {
    background: #222;
    color: #fff;
}

#settings {
    z-index: 80;
    position: fixed;
    text-indent: -99999px;
    width: 43px;
    display: block;
    background: url(../images/opciones.gif) no-repeat 0px 0px;
    height: 43px;
    top: 0px;
    cursor: pointer;
    right: 0px;
}

#settings:hover {
    background: url(../images/opciones.gif) no-repeat 0px -86px;
}

.cerrar {
    background: url(../images/opciones.gif) no-repeat 0px -43px !important;
}

#bottomNav {
    z-index: 30000;
    height: 18px;
    background: transparent url(../images/bgSlide.png) repeat top left;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: visible;
    font-family: '微软雅黑', Arial, sans-serif;
}

.pc_label {
    text-shadow: 0px 0px 1px white;
    top: 0px;
    width: 20px;
    height: 20px;
    float: right;
}

.pc_label2 {
    position: absolute;
    top: -64px;
    right: 0px;
    width: 64px;
    height: 64px;
    background-image: url(../face/49.gif);
}

.pc_clabel {
    text-shadow: 0px 0px 1px white;
    top: 0px;
    width: 20px;
    height: 20px;
    float: right;
    background: #010101 url(../images/collapse.gif) no-repeat center center;
}

.pc_title {
    text-align: center;
    float: left;
    color: #f3f6fa;
    width: 90%;
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    line-height: 18px;
    margin: 0 auto;
    display: block;
}

.pc_title a {
    color: #4fc3f7;
    text-decoration: none;
    margin: 0 4px;
    transition: color 0.2s;
    font-weight: 600;
}

.pc_title a:hover {
    color: #ffb300;
    text-decoration: underline;
}

#toptitle {
    width: 100%;
}

#lycont {
    height: 100%;
    width: 100%;
}

@media (max-width: 600px) {
    #bottomNav {
        height: 14px;
    }

    .pc_title {
        font-size: 0.85rem;
        line-height: 14px;
    }
}


/*չʾ*/
.lof-slidecontent {
    position: relative;
    overflow: hidden;
    border: #F4F4F4 solid 1px;
    width: 892px;
    height: 300px;
}

.lof-slidecontent .preload {
    height: 100%;
    width: 100%;
    background: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100000;
    color: #FFF;
    text-align: center;
}

.lof-slidecontent .preload div {
    height: 100%;
    width: 100%;
    background: transparent url(../images/load-indicator.gif) no-repeat scroll 50% 50%;
}

.lof-main-outer {
    position: relative;
    height: 100%;
    width: 600px;
    z-index: 3px;
    overflow: hidden;
}


/*******************************************************/
.lof-main-item-desc {
    z-index: 100px;
    position: absolute;
    top: 0px;
    left: 20px;
    /* filter:0.7(opacity:60) */
}

.lof-main-item-desc p {
    color: #FFF;
    margin: 0 8px;
    padding: 8px 0;
}

.lof-main-item-desc h3 a {
    color: #000000;
    margin: 0;
    font-size: 18px;
    padding: 0;
    font-family: "Trebuchet MS", Trebuchet, Arial, Verdana, sans-serif;
}

.lof-main-item-desc h3 a:hover {
    color: Red;
    text-decoration: underline;
}


/* main flash */
ul.lof-main-wapper {
    /* margin-right:auto; */
    overflow: hidden;
    background: transparent url(../images/load-indicator.gif) no-repeat scroll 50% 50%;
    padding: 0px;
    margin: 0;
    height: 300px;
    width: 600px;
    position: absolute;
    overflow: hidden;
}

ul.lof-main-wapper li {
    overflow: hidden;
    padding: 0px;
    margin: 0px;
    height: 100%;
    width: 600px;
    float: left;
}

.lof-opacity li {
    position: absolute;
    top: 0;
    left: 0;
    float: inherit;
}

ul.lof-main-wapper li img {
    padding: 0px;
    width: 600px;
    height: 300px;
}

li-desc {
    z-index: 100px;
    position: absolute;
    top: 150px;
    left: 50px;
    width: 400px;
}

li-desc p {
    color: #FFF;
    margin: 0 8px;
    padding: 8px 0;
}

li-desc h3 a {
    color: #FFF;
    margin: 0;
    font-size: 140%;
    padding: 20px 8px 2px;
    font-family: "Trebuchet MS", Trebuchet, Arial, Verdana, sans-serif;
}

li-desc h3 a:hover {
    color: #FF6;
    text-decoration: underline;
}

/* item navigator */
ul.lof-navigator {
    top: 0;
    padding: 0;
    margin: 0;
    position: absolute;
    width: 100%;
}

ul.lof-navigator li {
    cursor: hand;
    cursor: pointer;
    list-style: none;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.lof-navigator-outer {
    position: absolute;
    right: 0;
    top: 00px;
    z-index: 100;
    height: 300px;
    width: 310px;
    overflow: hidden;
    color: #FFF;
}

.lof-navigator li.active {
    background: url(../images/arrow-bg.png) no-repeat scroll left center;
    color: #FFF;
}




.lof-navigator li h3 {
    color: #FFF;
    font-size: 15px;
    padding: 15px 0 0 !important;
    margin: 0;
}

.lof-navigator li div {
    font-size: 15px;
    color: #FFF;
    height: 100%;
    position: relative;
    margin-left: 15px;
    padding-left: 15px;
    border-top: 1px solid #E1E1E1;
}

.lof-navigator li.active div {
    background: url(../images/grad-bg.gif);
    color: #FFF;
}

.lof-navigator li img {
    height: 60px;
    width: 60px;
    margin: 15px 15px 10px 0px;
    float: left;
    padding: 3px;
    border: #C5C5C5 solid 1px;
}

.lof-navigator li.active img {
    border: #6C8E5C solid 1px;
}

.lof-navigator li.active h3 {
    color: #FFF;
}


.lof-snleft .lof-main-outer {
    float: right;
}

/* move the main wapper to the right side */
.lof-snleft .lof-main-wapper {
    margin-left: auto;
    margin-right: inherit;
    clear: both;
    height: 300px;
}

/* move the navigator to the left  side */
.lof-snleft .lof-navigator-outer {
    left: 0;
    top: 0;
    right: inherit;
}

ul.lof-main-wapper li {
    position: relative;
}

.lof-snleft .lof-navigator .active {
    background: url(../images/arrow-bg2.gif) center right no-repeat;
}

.lof-snleft .lof-navigator li div {
    margin-left: inherit;
    margin-right: 18px;
}

.lof-snleft .lof-navigator li.active div {
    margin-left: inherit;
    margin-right: 18px;
    background: url(../images/grad-bg2.gif);
}




/* (新增) GO 文本样式 */
.go-text {
    display: block;
    /* 关键: 反向旋转以保持文本直立 */
    transform: rotate(calc(var(--rotate) * -1));
    color: #ffcc00;
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}


/* 箭头基础样式 */
.arrow-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.arrow {
    position: absolute;
    width: 30px;
    height: 30px;
    border-top: 5px solid #fff;
    border-left: 5px solid #fff;
    opacity: 0;
    animation: arrow-load 2s infinite;
    animation-delay: calc(var(--delay) * 0.2s);
    /* (新增) Flexbox用于居中文本 */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 箭头动画 */
@keyframes arrow-load {
    0% {
        opacity: 0;
        transform: rotate(var(--rotate)) translate(var(--translate-x), var(--translate-y));
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(var(--rotate)) translate(0, 0);
    }
}

/* 方向控制类 */
.up {
    --rotate: 45deg;
    --translate-x: 25px;
    --translate-y: 25px;
}

.down {
    --rotate: 225deg;
    --translate-x: 25px;
    --translate-y: 25px;
}

.left {
    --rotate: 135deg;
    --translate-x: 25px;
    --translate-y: 25px;
}

.right {
    --rotate: 315deg;
    --translate-x: 25px;
    --translate-y: 25px;
}

.up-left {
    --rotate: 0deg;
    --translate-x: 25px;
    --translate-y: 25px;
}

.up-right {
    --rotate: 90deg;
    --translate-x: 25px;
    --translate-y: 25px;
}

.down-left {
    --rotate: 270deg;
    --translate-x: 25px;
    --translate-y: 25px;
}

.down-right {
    --rotate: 180deg;
    --translate-x: 25px;
    --translate-y: 25px;
}

/* 箭头位置偏移 */
.arrow:nth-child(1) {
    --delay: 0;
}

.arrow:nth-child(2) {
    --delay: 1;
}

.arrow:nth-child(3) {
    --delay: 2;
}

/* --- Mobile Optimization --- */
@media screen and (max-width: 768px) {
    body {
        overflow: auto;
        /* Allow scrolling on mobile if needed */
    }

    #container {
        overflow: visible;
    }

    .inside_def {
        width: 90%;
        padding: 15px;
        margin: 0 auto;
        border-radius: 16px;
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .section-title,
    .skills-title {
        font-size: 1.5rem !important;
        text-align: center;
        margin-bottom: 15px !important;
    }

    /* Mascot Fix */
    .pc_label2 {
        width: 40px !important;
        height: 40px !important;
        background-size: contain !important;
        top: -45px !important;
        right: 5px !important;
        z-index: 1000;
        pointer-events: none;
        /* Let clicks pass through to nav buttons */
    }

    /* Software Slider (lof-slidecontent) Mobile Refinements */
    .lof-slidecontent {
        width: 100% !important;
        height: auto !important;
        min-height: 400px;
        border: none;
    }

    .lof-main-outer {
        width: 100% !important;
        height: 220px !important;
        float: none !important;
    }

    ul.lof-main-wapper,
    ul.lof-main-wapper li,
    ul.lof-main-wapper li img {
        width: 100% !important;
        height: 220px !important;
    }

    .details-link-wrapper {
        top: 10px !important;
        left: 10px !important;
        transform: scale(0.8);
    }

    .lof-navigator-outer {
        position: relative !important;
        width: 100% !important;
        height: 180px !important;
        top: 0 !important;
        left: 0 !important;
        float: none !important;
    }

    .lof-navigator li div {
        margin-right: 10px !important;
        padding-left: 10px !important;
    }

    /* Options Menu Mobile Redesign - Single Column */
    #opciones {
        width: 200px !important;
        right: 10px !important;
        left: auto !important;
        top: 45px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        border-radius: 12px;
        padding: 15px !important;
        background: #f8f8f8 !important;
        display: none;
        /* Hidden by default */
    }

    .menu4 {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .menu4 li {
        width: 100% !important;
        border-bottom: 1px solid #eee;
    }

    .menu4 li:last-child {
        border-bottom: none;
    }

    .menu4 li a {
        display: block;
        padding: 8px 12px !important;
        font-size: 14px;
        color: #333 !important;
    }

    .menu4 li.current a {
        background: #333 !important;
        color: #fff !important;
        border-radius: 4px;
    }

    /* Settings Button Positioning */
    #settings {
        right: 10px !important;
        top: 5px !important;
        transform: scale(0.9);
        background-color: rgba(255, 255, 255, 0.2) !important;
        border-radius: 50%;
    }

    /* VAccordion Mobile Adjustment */
    .va-slice h3 {
        font-size: 24px !important;
        margin-left: 10px !important;
    }

    /* Nav Buttons Scale */
    .modern-nav-btn {
        transform: scale(0.8);
        transform-origin: right bottom;
    }
}

@media screen and (max-width: 480px) {
    .inside_def {
        width: 94%;
        padding: 12px;
    }

    .section-title,
    .skills-title {
        font-size: 1.3rem !important;
    }

    #opciones {
        width: 180px !important;
    }
}