@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC&display=swap');


:root {
      --primary: #30d7ef;
      --primary2: #9288f8;
      --highlight: #f7e659;
      --gray-bg: #f6f7fa;
      --card-bg: #fff;
      --card-border: #e9eafd;
      --txt-main: #1d2033;
      --txt-sub: #858997;
      --border-radius:2em;
    }

   html, body {
  min-height: 100vh;
  margin: 0; padding: 0;
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  color: var(--txt-main);
  background: var(--gray-bg);
  position: relative;
}



.bg-blob-bg {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  user-select: none;
}
.bg-blob-bg svg {
  width: 100vw;
  height: 100vh;
  display: block;
}



    /* Header 導覽列 */
    header {
      position: relative;
      z-index: 2;
      background: rgba(34,41,70,0.94); 
      color: #fff;
      padding: 0 2vw;
      min-height: 68px;
      display: flex;
      align-items: center;
      gap: 16px;
      border-bottom: 1.2px solid #ebebf3;
    }
    .logo1 { height: 44px; margin: 0 8px 0 0;}
    .logo2 { height: 52px; margin: 0; }
    nav {
      margin-left: 24px;
      display: flex;
      gap: 2em;
      font-size: 1.13em;
      align-items: center;
    }
    nav a {
      text-decoration: none;
      color: var(--txt-main);
      opacity: 0.9;
      font-weight: 500;
      padding: 2px 0;
      border-bottom: 2px solid transparent;
      transition: border-color 0.13s;
    }
    nav a:hover { border-color: var(--primary); }






.blog-container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 62px auto 40px auto;
  min-height: 480px;
}


.blog-sidebar {
  width: var(--sidebar-width);
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2.5em 1.6em 2em 1.6em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: fit-content;
  z-index: 1;
}
.sidebar-title-main {
  background: #747887;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  font-size: 1.2em;
  margin-right: 4px;
}
.sidebar-title-sub {
  color: #747887;
  font-weight: 700;
  font-size: 1.1em;
}

.blog-sidebar ul {
  margin: 1.7em 0 0 0;
  padding: 0;
  list-style: none;
  width: 100%;
}
.blog-sidebar li {
  display: flex;
  align-items: center;
  color: var(--txt-sub);
  font-size: 1.13em;
  margin-bottom: 0.95em;
  padding: 0.74em 1.1em;
  border-radius: 1.2em;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
  position: relative;
  letter-spacing: 0.5px;
}
.blog-sidebar li .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--primary2);
  margin-right: 0.5em;
  display: inline-block;
  opacity: 0.8;
}
.blog-sidebar li.active,
.blog-sidebar li:hover {
  background: linear-gradient(90deg, var(--primary2) 60%, var(--primary) 100%);
  color: #fff;
}
.blog-sidebar li.active .dot,
.blog-sidebar li:hover .dot {
  background: #fff;
  opacity: 1;
}


.blog-content {
  flex: 1 1 0;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2.5em 2.8em 2.2em 2.8em;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  position: relative;
}


.blog-content-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.8em;
}
.blog-content-header h2 {
  font-size: 1.37em;
  font-weight: 900;
  letter-spacing: 1px;
  margin: 0;
   color: #747887;
  border-left: 4px solid  #747887;;
  padding-left: 0.7em;
}
.more-link {
  color: #747887;
  font-weight: 700;
  font-size: 1em;
  text-decoration: underline;
  transition: color 0.14s;
}
.more-link:hover { color: var(--primary); }

.post-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2em;
}
.post-card {
  background: #f8fbff;
  border-radius: 1.2em;
  box-shadow: 0 2px 10px #30d7ef18, 0 1px 3px #9288f810;
  padding: 1.1em 1.2em 1.1em 1.2em;
  cursor: pointer;
  transition: box-shadow 0.13s, transform 0.13s;
  border-left: 5px solid var(--primary);
}
.post-card:hover {
  box-shadow: 0 8px 36px #30d7ef33;
  transform: translateY(-4px) scale(1.022);
}
.post-title {
  font-size: 1.11em;
  font-weight: 800;
  color: var(--primary2);
  margin-bottom: 0.25em;
}
.post-meta {
  color: #9db1c2;
  font-size: 0.97em;
  margin-bottom: 0.3em;
  letter-spacing: 0.5px;
}
.post-excerpt {
  color: #252733;
  font-size: 1.05em;
  letter-spacing: 0.2px;
  margin-bottom: 0.1em;
}

.post-card h3 a {
  color: #333;
  text-decoration: none;
  transition: 0.2s;
}
.post-card h3 a:hover {
  color: #007bff;
  text-decoration: underline;
}


@media (max-width: 900px) {
  .blog-sidebar {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    padding: 1.2em 0.9em 1.2em 0.9em;   
    margin-bottom: 1.1em;
    border-radius: 1.2em;
  }
  .blog-content {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    border-radius: 1.2em;
    padding: 1.3em 1.1em;
  }
  .blog-container {
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: 100vw;
  }
  .post-list {
    grid-template-columns: 1fr;
  }
}




















/*banner*/

   .banner {
  position: relative;
  width: 80%;
  height: 500px;
  margin: 56px auto 48px auto;
  border-radius: 2em;
  overflow: hidden;
  box-shadow: 0 4px 42px #d3e5fa1a;
  background: url("../images/Rostar Shop Banner.jpg") center center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  
}
.banner-content {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 48px 64px;
  z-index: 2;
  color: #fff;
  text-shadow: 0 3px 18px #000a, 0 1px 8px #000a;
}
.banner-content h2 {
  font-size: 3em;
  font-weight: 900;
  margin: 0 0 0.3em 0;
  line-height: 1.13;
  letter-spacing: 1px;
}
.banner-content p {
  font-size: 1.35em;
  font-weight: 400;
  margin: 0 0 2em 0;
  letter-spacing: 0.8px;
}
.banner-btn {
  display: inline-block;       
  background-color: #ff9e1f;   
  color: #fff;                
  padding: 12px 32px;         
  border-radius: 50px;        
  text-decoration: none;      
  font-weight: bold;           
  font-size: 18px;            
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-shadow: none;          
  transition: all 0.3s ease;  
  border: 2px solid #fff;      
}


.banner-btn:hover {
  background-color: #e68a00;   
  transform: translateY(-3px); 
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4); 
}
@media (max-width: 900px) {
  .banner { width: 80%;
  height: 500px; }
  .banner-content { padding: 24px 18px; }
  .banner-content h2 { font-size: 1.45em; }
  .banner-content p { font-size: 1em; }
}
@media (max-width: 600px) {
  .banner { width: 90%;
  height: 550px;height: 120px; border-radius: 2em;}
  .banner-content { padding: 10px 8px; }
  .banner-content h2 { font-size: 1em; margin-bottom: 0.18em; }
  .banner-content p { font-size: 0.87em; margin-bottom: 1em; }
  .banner-btn { padding: 0.55em 1.2em; font-size: 0.95em; }
}


   
    section {
      z-index: 2;
      position: relative;
      max-width: 1000px;
      margin: 0 auto 56px auto;
      background: none;
      box-shadow: none;
      border-radius: 0;
      padding: 0 0 36px 0;
    }
    .shop-hero-card {
  width: 100%;
  max-width: 950px;
  margin: 56px auto 42px auto;
  border-radius: 2em;
  background: #fff;
  box-shadow: 0 4px 32px #d3e5fa1a;
  padding: 36px 0 26px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shop-swiper-area {
  width: 90%;
  margin: 0 auto;
  border-radius: 1.5em;
  overflow: hidden;
  box-shadow: 0 2px 18px #9288f812;
  background: #f7f9fb;
}
.shop-swiper {
  width: 100%;
  max-width: 720px;
  height: 320px;
  border-radius: 1.5em;
}
.shop-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f9fb;
}
.shop-swiper .swiper-slide img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  border-radius: 1.5em;
}

.shop-desc-area {
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
  text-align: center;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.shop-desc-area h1 {
  font-size: 2em;
  font-weight: 800;
  background: linear-gradient(80deg, var(--primary2) 0%, var(--primary) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.2em;
}
.shop-desc-area h3 {
  font-size: 1.12em;
  color: #818181;
  font-weight: 400;
  margin-bottom: 1.1em;
}

.shop-shopee-link {
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.shop-shopee-img {
  width: 98px;
  height: 88px;
  object-fit: contain;
  border-radius: 0.6em;
  box-shadow: 0 2px 8px #30d7ef14;
  background: #f5fbff;
}


.service-hero-card {
  width: 100%;
  max-width: 950px;
  margin: 56px auto 42px auto;
  border-radius: 2em;
  background: #fff;
  box-shadow: 0 4px 32px #d3e5fa1a;
  padding: 36px 0 26px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-swiper-area {
  width: 90%;
  margin: 0 auto;
  border-radius: 1.5em;
  overflow: hidden;
  box-shadow: 0 2px 18px #9288f812;
  background: #f7f9fb;
}
.service-swiper {
  width: 100%;
  max-width: 720px;
  height: 320px;
  border-radius: 1.5em;
}
.service-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f9fb;
}
.service-swiper .swiper-slide img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  border-radius: 1.5em;
}

.service-desc-area {
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
  text-align: center;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-desc-area h1 {
  font-size: 2em;
  font-weight: 800;
  background: linear-gradient(80deg, var(--primary2) 0%, var(--primary) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.2em;
}
.service-desc-area h3 {
  font-size: 1.12em;
  color: #818181;
  font-weight: 400;
  margin-bottom: 1.1em;
}
.service-desc-area ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #4e5561;
  font-size: 1.09em;
  line-height: 1.8;
  text-align: left;
  display: inline-block;
}
.service-desc-area ul li {
  margin-bottom: 0.3em;
}


   

    /* 聯絡&獎勵 */
   .rewards-hero-card {
  width: 100%;
  max-width: 620px;
  margin: 56px auto 42px auto;
  border-radius: 2em;
  background: #fff;
  box-shadow: 0 4px 32px #d3e5fa1a;
  padding: 42px 0 36px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rewards-icon-area {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.rewards-icon-img {
  width: 110px;
  height: 110px;
  border-radius: 2em;
  box-shadow: 0 4px 16px #30d7ef15;
  background: #f5fbff;
  object-fit: contain;
}

.rewards-desc-area {
  text-align: center;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rewards-desc-area h1 {
  font-size: 2em;
  font-weight: 800;
  background: linear-gradient(80deg, var(--primary2) 0%, var(--primary) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.2em;
}

.rewards-desc-area h3 {
  font-size: 1.11em;
  color: #818181;
  font-weight: 400;
  margin-bottom: 1.5em;
  line-height: 1.7;
}

.rewards-login-btn {
  margin-top: 8px;
}

.btn-outline-main {
  display: inline-block;
  padding: 0.7em 2.1em;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-size: 1.07em;
  font-weight: 700;
  border-radius: 2em;
  cursor: pointer;
  transition: all 0.16s;
  text-decoration: none;
  box-shadow: none;
  letter-spacing: 1px;
}
.btn-outline-main:hover, .btn-outline-main:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 16px #30d7ef48;
  text-decoration: none;
}


.contact-hero-card {
  width: 100%;
  max-width: 620px;
  margin: 56px auto 42px auto;
  border-radius: 2em;
  background: #fff;
  box-shadow: 0 4px 32px #d3e5fa1a;
  padding: 44px 0 38px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-desc-area {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-desc-area h1 {
  font-size: 2em;
  font-weight: 800;
  background: linear-gradient(80deg, var(--primary2) 0%, var(--primary) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5em;
}

.contact-info {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 1.8em auto;
  display: flex;
  flex-direction: column;
  gap: 0.8em;
}

.contact-info h3 {
  font-size: 1.1em;
  font-weight: 600;
  color: #001236;
  margin: 0.7em 0 0.25em 0;
}

.contact-info p {
  color: #4e5561;
  font-size: 1em;
  margin: 0 0 0.2em 0;
  word-break: break-all;
}

.contact-line-qr {
  width: 110px;
  height: 110px;
  border-radius: 1.2em;
  box-shadow: 0 2px 8px #30d7ef24;
  background: #f5fbff;
  object-fit: contain;
  margin-top: 1.1em;
}

    /* Footer */
   .footer-modern {
  width: 100vw;
  margin-top: 60px;
  padding: 0 0 38px 0;
  background: #fff;
  border-top: 1.2px solid #e7eaf5;
  box-shadow: 0 -2px 28px #d8e9fa0b;
  display: flex;
  flex-direction: column;
  align-items: center;
  letter-spacing: 0.2px;
}

.footer-brand {
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 30px 0 14px 0;
  gap: 15px;
}

.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 1.2em;
  box-shadow: 0 2px 12px #30d7ef1b;
  background: #f2f9fc;
  object-fit: contain;
}

.footer-brand-name {
  font-weight: 900;
  font-size: 1.35em;
  background: linear-gradient(90deg, var(--primary2) 0%, var(--primary) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.1em;
}

.footer-divider {
  width: 86px;
  height: 4px;
  border-radius: 2em;
  background: linear-gradient(90deg, var(--primary2) 0%, var(--primary) 100%);
  margin-bottom: 22px;
  opacity: 0.12;
}

.footer-info {
  display: flex;
  justify-content: space-between;
  width: 92%;
  max-width: 1120px;
  font-size: 1em;
  color: #7d8ba1;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px;
}
.footer-info-left {
  flex: 1;
  text-align: left;
  min-width: 200px;
  font-size: 1em;
}
.footer-info-left small {
  font-size: 0.91em;
  color: #b0bac8;
}
.footer-info-right {
  text-align: right;
  min-width: 180px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
}
.footer-btn {
  display: inline-block;
  padding: 0.42em 1.25em;
  border: 1.5px solid var(--primary2);
  border-radius: 2em;
  background: transparent;
  color: var(--primary2);
  font-size: 0.98em;
  font-weight: 700;
  text-decoration: none;
  margin-left: 12px;
  transition: all 0.17s;
}
.footer-btn:hover {
  background: var(--primary2);
  color: #fff;
  box-shadow: 0 2px 8px #9288f84a;
  border-color: var(--primary2);
}
@media (max-width: 820px) {
  .footer-info { flex-direction: column; gap: 6px; align-items: center; text-align: center;}
  .footer-info-right { justify-content: center; margin-top: 5px; }
  .footer-info-left { text-align: center; }
}

    
    @media (max-width: 900px) {
      section, .main-section { max-width: 98vw; }
      .flex-container { flex-direction: column; gap: 18px; }
      .content-box { max-width: 98vw; min-width: unset; }
      .banner { max-width: 98vw; padding: 2em 0.7em; }
      header { min-height: 52px; padding:0 2vw;}
    }
