/*
Theme Name: ePay365 By 均造源源
Theme URI: https://gg100gg.com
Author: Your Name
Author URI: https://gg100gg.com
Description: A brief description of your theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: theme-textdomain
*/




* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body{
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        max-width: 100vw;
    overflow-x: hidden;
}

.nav-right{
    display: flex;
    align-items: center;
}


.gene0917-header .gene0917-menu-btn, .gene0917-header .gene0917-logo ,.gene0917-header .gene0917-search-btn{filter:brightness(0);}
.gene0917-header.is-fixed .gene0917-menu-btn, .gene0917-header.is-fixed .gene0917-logo, .gene0917-header.is-fixed .gene0917-search-btn{filter:brightness(0);}

.gene0917-header div, .gene0917-header button{transition:0.5s;}
.gene0917-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header */
.gene0917-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4vh 3vw 3vh;
  z-index: 100;
}

.gene0917-menu-btn {
  display: flex;
  align-items: center;
  gap: 1vw;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.2vw;
  letter-spacing: 0.1vw;
  transition: opacity 0.3s ease;
}

.gene0917-menu-btn:hover {
  opacity: 0.8;
}

.gene0917-menu-icon {
  display: block;
  width: 2vw;
  height: 0.15vh;
  background: #fff;
  position: relative;
}

.gene0917-menu-icon::before,
.gene0917-menu-icon::after {
  content: '';
  position: absolute;
  width: 2vw;
  height: 0.15vh;
  background: #fff;
  left: 0;
}

.gene0917-menu-icon::before {
  top: -0.6vh;
}

.gene0917-menu-icon::after {
  top: 0.6vh;
}

.gene0917-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3vw;
  font-weight: bold;
  letter-spacing: 0.2vw;
   width:7vw;
}


.gene0917-logo img{
  width:100%;
}


.gene0917-search-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  width: 2vw;
  height: 2vw;
  transition: opacity 0.3s ease;
}

.gene0917-search-btn:hover {
  opacity: 0.8;
}

.gene0917-search-btn svg {
  width: 100%;
  height: 100%;
}

/* Side Menu */
.gene0917-side-menu {
  position: fixed;
  top: 0;
  left: -35vw;
  width: 35vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(10px);
  z-index: 200;
  transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  padding: 3vh 3vw;
  display: flex;
  flex-direction: column;
}

.gene0917-side-menu.active {
  left: 0;
}

.gene0917-close-btn {
  display: flex;
  align-items: center;
  gap: 1vw;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.2vw;
  letter-spacing: 0.1vw;
  margin-bottom: 5vh;
  transition: opacity 0.3s ease;
}

.gene0917-close-btn:hover {
  opacity: 0.7;
}

.gene0917-close-btn span:first-child {
  font-size: 2vw;
  line-height: 1;
}

.gene0917-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3vh;
}

.gene0917-menu-list li {
  opacity: 0;
  transform: translateX(-2vw);
}

.gene0917-side-menu.active .gene0917-menu-list li {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.gene0917-side-menu.active .gene0917-menu-list li:nth-child(1) { transition-delay: 0.1s; }
.gene0917-side-menu.active .gene0917-menu-list li:nth-child(2) { transition-delay: 0.15s; }
.gene0917-side-menu.active .gene0917-menu-list li:nth-child(3) { transition-delay: 0.2s; }
.gene0917-side-menu.active .gene0917-menu-list li:nth-child(4) { transition-delay: 0.25s; }
.gene0917-side-menu.active .gene0917-menu-list li:nth-child(5) { transition-delay: 0.3s; }
.gene0917-side-menu.active .gene0917-menu-list li:nth-child(6) { transition-delay: 0.35s; }
.gene0917-side-menu.active .gene0917-menu-list li:nth-child(7) { transition-delay: 0.4s; }

.gene0917-menu-list li a {
  color: #fff;
  text-decoration: none;
  font-size: 3.5vw;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.gene0917-menu-list li a:hover {
  transform: translateX(1vw);
  opacity: 0.8;
}

/* Hero Content */
.gene0917-hero-content {
  position: absolute;
  bottom: 5vh;
  left: 3vw;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 3vh;
  width: 70%;
}

.gene0917-herobtn{background: none;
    padding: 0.5vw;
    border: 2px solid #fff;
    position: absolute;
    transition: 0.3s;
    border-radius: 100px;
    width: 4vw;
    right: 0;
}
.gene0917-herobtn a{color: white;transition: 0.3s;
    font-size: 2vw;
    text-decoration: none;}
    
    
    
.gene0917-herobtn:hover{  border: 2px solid #ffffff85;}
    
.gene0917-herobtn:hover a{color: #ffffff85;}    
    

.gene0917-film-list {
  display: flex;
  flex-direction: column;
  gap: 0.5vh;
}

.gene0917-film-item {
  display: flex;
  align-items: baseline;
  gap: 2vw;
  opacity: 0.5;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  transform-origin: left center;
}

.gene0917-film-item.active {
  opacity: 1;
  transform: scale(1.02);
}

.gene0917-film-item:hover {
  opacity: 1;
  transform: translateX(1vw) scale(1.02);
}

.gene0917-year {
  font-size: 1vw;
  letter-spacing: 0.05vw;
  transition: all 0.3s ease;
}

.gene0917-title {
  font-size: 4vw;
  font-weight: 500;
  line-height: 1.1;
  transition: all 0.3s ease;
  position: relative;
}

.gene0917-title::after {
  content: '';
  position: absolute;
  bottom: -0.5vh;
  left: 0;
  width: 0;
  height: 0.2vh;
  background: #fff;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gene0917-film-item.active .gene0917-title::after {
  width: 100%;
}

.gene0917-scroll-arrow {
  width: 3vw;
  height: 3vw;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  margin-top: 2vh;
  animation: bounce 2s infinite;
  transition: opacity 0.3s ease;
}

.gene0917-scroll-arrow:hover {
  opacity: 0.7;
  animation-play-state: paused;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(0.5vh);
  }
  60% {
    transform: translateY(0.3vh);
  }
}

.gene0917-scroll-arrow svg {
  width: 100%;
  height: 100%;
}

/* Background Images Container */
.gene0917-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.gene0917-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: none;
}

.gene0917-bg-image.active {
  opacity: 0.8;
  transform: scale(1);
}

.gene0917-bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
    rgba(0,0,0,0.2) 0%, 
    rgba(0,0,0,0.4) 50%, 
    rgba(0,0,0,0.8) 100%);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    
    
    .gene0917-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3vw;
  font-weight: bold;
  letter-spacing: 0.2vw;
   width:11vw;
}
    
    
  .gene0917-menu-btn {
    font-size: 3vw;
  }
  
  .gene0917-menu-icon {
    width: 5vw;
  }
  
  .gene0917-menu-icon::before,
  .gene0917-menu-icon::after {
    width: 5vw;
  }
  
  .gene0917-logo {
    font-size: 6vw;
  }
  
  .gene0917-search-btn {
    width: 5vw;
    height: 5vw;
  }
  
  .gene0917-side-menu {
    width: 75vw;
    left: -75vw;
  }
  
  .gene0917-close-btn {
    font-size: 3vw;
  }
  
  .gene0917-close-btn span:first-child {
    font-size: 5vw;
  }
  
  .gene0917-menu-list li a {
    font-size: 7vw;
  }
  
  .gene0917-year {
    font-size: 2.5vw;
  }
  
  .gene0917-title {
    font-size: 7vw;
  }
  
  .gene0917-film-item {
    flex-direction: column;
    gap: 0.5vh;
  }
  
  .gene0917-film-item:hover {
    transform: translateX(0) scale(1.02);
  }
  
  .gene0917-scroll-arrow {
    width: 8vw;
    height: 8vw;
  }
}


.gene0917-header.is-fixed {
  /* 讓 fixed header 與內容分層 */
  background: color-mix(in oklab, rgba(255,255,255,0.44), transparent 0%);
  backdrop-filter: blur(4px); /* Safari 需要 -webkit-backdrop-filter */
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: box-shadow .2s ease, background .2s ease;
}


/*footer*/

.gene0917footer {
  background-color: #000;
  color: white;
  font-family: Arial, sans-serif;
  padding: 8vh 0 4vh 0;
}

.gene0917-footer-container {
  max-width: 90vw;
  margin: 0 auto;
  padding: 0 4vw;
}

.gene0917-footer-main {
  display: flex;
  justify-content: space-between;
  gap: 6vw;
  margin-bottom: 8vh;
}

.gene0917-nav-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5vh;
}

.gene0917-social-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5vh;
}

.gene0917-newsletter-column {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 2vh;
}

.gene0917-section-title {
  font-size: 1.1vw;
  font-weight: bold;
  margin: 0 0 2vh 0;
  border-bottom: 1px solid white;
  padding-bottom: 1vh;
  letter-spacing: 0.1vw;
}

.gene0917-nav-link,
.gene0917-social-link,
.gene0917-legal-link {
  color: white;
  text-decoration: none;
  font-size: 1vw;
  font-weight: 500;
  letter-spacing: 0.05vw;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

.gene0917-nav-link:hover,
.gene0917-social-link:hover,
.gene0917-legal-link:hover {
  color: #ccc;
  transform: translateX(0.5vw);
}

.gene0917-newsletter-description {
  font-size: 1.1vw;
  line-height: 1.6;
  margin: 0;
  color: #ddd;
}

.gene0917-signup-form {
  display: flex;
  margin-top: 2vh;
}

.gene0917-email-input {
  flex: 1;
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 1.5vh 2vw;
  font-size: 1vw;
  letter-spacing: 0.1vw;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.gene0917-email-input::placeholder {
  color: #999;
}

.gene0917-email-input:focus {
  outline: none;
  border-color: #ccc;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.gene0917-signup-button {
  background: white;
  color: black;
  border: none;
  padding: 1.5vh 3vw;
  font-size: 1vw;
  font-weight: bold;
  letter-spacing: 0.1vw;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.gene0917-signup-button:hover {
  background: #ddd;
  transform: scale(1.05);
}

.gene0917-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4vw;
  padding-top: 4vh;
  border-top: 1px solid #333;
}

.gene0917-legal-links {
  display: flex;
  flex-direction: column;
  gap: 1vh;
  flex: 1;
}

.gene0917-disclaimer {
  flex: 1;
  font-size: 0.9vw;
  color: #999;
  line-height: 1.4;
  max-width: 30vw;
}

@media (max-width: 768px) {
    .gene0917-hero-content {
        
            width: 80%;
    }
    
    .gene0917-herobtn {
    background: none;
    padding: 0.5vw;
    border: 2px solid #fff;
    position: absolute;
    transition: 0.3s;
    border-radius: 100px;
    width: 8vw;
    right: 0;
    top: 5vw;
}
    
    .gene0917-herobtn a {
    color: white;
    transition: 0.3s;
    font-size: 4.5vw;
    text-decoration: none;
}
    
}




/* Mobile responsive */
@media (max-width: 768px) {
  .gene0917 {
    padding: 8vh 0 6vh 0;
  }





  
  .gene0917-footer-container {
    max-width: 100vw;
    padding: 0 6vw;
  }
  
  .gene0917-footer-main {
    flex-direction: column;
    gap: 8vh;
    margin-bottom: 8vh;
  }
  
  .gene0917-nav-column,
  .gene0917-social-column {
    gap: 2vh;
  }
  
  .gene0917-newsletter-column {
    gap: 3vh;
  }
  
  .gene0917-section-title {
    font-size: 4vw;
    margin-bottom: 3vh;
    padding-bottom: 2vh;
  }
  
  .gene0917-nav-link,
  .gene0917-social-link,
  .gene0917-legal-link {
    font-size: 4vw;
  }
  
  .gene0917-nav-link:hover,
  .gene0917-social-link:hover,
  .gene0917-legal-link:hover {
    transform: translateX(2vw);
  }
  
  .gene0917-newsletter-description {
    font-size: 4vw;
    line-height: 1.5;
  }
  
  .gene0917-signup-form {
    flex-direction: row;
    margin-top: 4vh;
  }
  
  .gene0917-email-input {
    padding: 3vh 4vw;
    font-size: 3.5vw;
  }
  
  .gene0917-signup-button {
    padding: 3vh 6vw;
    font-size: 3.5vw;
  }
  
  .gene0917-footer-bottom {
    flex-direction: column;
    gap: 4vh;
    padding-top: 6vh;
  }
  
  .gene0917-legal-links {
    gap: 2vh;
  }
  
  .gene0917-disclaimer {
    font-size: 3.5vw;
    max-width: 100%;
    line-height: 1.5;
  }
}





/* 按鈕樣式 */
.gene1001Log-in,
.gene1001cart {
    padding: 1vh 2vw;
    background: none;
    color: #000;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: opacity 0.3s;
}



.gene0917-header.is-fixed .gene1001cart, .gene0917-header.is-fixed .gene1001Log-in{
    padding: 1vh 2vw;
    background: none;
    color: #000;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition:0.3s;
}

.gene1001Log-in:hover,
.gene1001cart:hover {
    opacity: 0.8;
}

/* 側邊欄遮罩 */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 側邊欄 */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -42.5rem;
    width: 42.5rem;
    height: 100vh;
    background: #fff;
    transition: right 0.3s;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

/* 側邊欄頂部 */
.cart-header {
    padding: 2vh 2vw;
    background: #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.cart-header h2 {
    margin: 0;
    font-size: 16px;
}

.cart-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 側邊欄內容 */
.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 3vh 2vw;
}

.cart-empty {
    text-align: center;
    color: #ccc;
    font-size: 32px;
    margin: 10vh 0;
}

/* 推薦商品區 */
.cart-recommendations {
    margin-top: 4vh;
}

.cart-recommendations h3 {
    font-size: 14px;
    margin-bottom: 2vh;
    font-weight: normal;
}

.cart-item {
    display: flex;
    gap: 2vw;
    align-items: center;
    padding: 2vh 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 14px;
    margin-bottom: 0.5vh;
}

.cart-item-price {
    font-size: 14px;
    color: #666;
}

.cart-item-add {
    padding: 1vh 2vw;
    background: #fff;
    border: 1px solid #000;
    cursor: pointer;
    font-size: 14px;
}

/* 側邊欄底部 */
.cart-footer {
    padding: 2vh 2vw;
    border-top: 1px solid #ddd;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2vh;
    font-size: 14px;
}

.cart-checkout {
    width: 100%;
    padding: 2vh 0;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

/* 手機版 */
@media (max-width: 768px) {
    .cart-sidebar {
        right: -100vw;
        width: 100vw;
    }
    
    .cart-sidebar.active {
        right: 0;
    }
}    
    
.gene1001Log-in span:first-child,
.gene1001Log-in span:last-child {
    cursor: pointer;
}

.gene1001Log-in span:first-child:hover,
.gene1001Log-in span:last-child:hover {
    text-decoration: underline;
}

.gene1001Log-in span:nth-child(2) {
    cursor: default;
}    
    



/* 購物車商品項目樣式 */
.cart-items-list {
    margin-bottom: 3vh;
}

.cart-items-list .cart-item {
    position: relative;
    padding-right: 30px;
}

.remove-cart-item {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
}


.ex-section {
    width: 90vw;
    margin: 0 auto;
}
.ex-title {
    font-size: 5vw;
    font-weight: bold;
    margin-bottom: 3vh;
}
.ex-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2vw;
    align-items: flex-start;
}
.ex-item {
    width: calc(28vw);
    flex: 0 0 calc(28vw);
}
.ex-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}
.ex-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
    vertical-align: top;
}
.ex-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2vw;
    opacity: 0;
    transition: opacity 0.3s;
}
.ex-link:hover .ex-overlay {
    opacity: 1;
}
.ex-link:hover img {
    transform: scale(1.05);
}
.ex-meta {
    color: #999;
    font-size: 0.8vw;
    margin-top: 1vh;
    margin-bottom: 0.5vh;
    text-transform: uppercase;
}
.ex-item-title {
    color: black;
    font-size: 1.8vw;
    font-weight: bold;
    margin-bottom: 1vh;
}
.ex-content {
    color: #fff;
    font-size: 1vw;
    line-height: 1.5;
    white-space: pre-line;
}
/* 手機版 */
@media (max-width: 768px) {
    .ex-title {
        font-size: 8vw;
        margin-bottom: 2vh;
    }
    
    .ex-grid {
        flex-direction: column;
        gap: 3vh;
    }
    
    .ex-item {
        width: 100%;
        flex: 0 0 100%;
    }
    
    .ex-overlay {
        display: none;
    }
    
    .ex-meta {
        color: #999;
        font-size: 3vw;
        margin-top: 1vh;
    }
    
    .ex-item-title {
        color: black;
        font-size: 5vw;
    }
}






