/* 共用 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet"');

html, body {
    margin: 0;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: "Noto Sans TC", "Noto Sans", "Microsoft JhengHei", sans-serif;
    font-weight: 400;
    font-size: 20px;
    position: relative;
}

/* main */
.header {
    width: 100%;
    height: 8vh;
    border-bottom: 1px solid #150729;
    background-color: #150729;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-icon {
    /*width: 140px;*/
    width: 260px;
    margin-left: 20px;
    cursor: pointer;
}

.en-logo-icon {
    /*width: 140px;*/
    width: 215px;
    margin-left: 20px;
    cursor: pointer;
}

.header1 {
    height: 8vh;
    /*border-bottom: 1px solid #150729;*/
    background-color: #150729;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header-button {
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 3.5px;
    background-color: transparent;
    border: none;
    padding: 2px 15px;
    margin-left: 15px;
    border-radius: 50px;
    cursor: pointer;
}

.header-button:hover {
    color: #DE0380;
}

.header-button-2 {
    display: none;
}

.container {
    display: flex;
    background: linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    min-height: 84vh;
}

.main-KV {
    width: 45vw;
    background-color: #361B5D;
}

.main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #000;
    text-align: center;
    padding: 50px 0px 0px 0px;
}

.main-title {
    font-size: 38px;
    color: #FB7676;
    font-weight: bold;
    line-height: 0px;
}

.main-title-black {
    font-size: 38px;
    color: #ffffff;
    font-weight: bold;
}

.main-description {
    color: #ffffff;
    font-weight: 300;
    margin-top: 0px;
    font-size: 16px;
    line-height: 30px;
}

.main-pic {
    width: 30vw;
    margin: 20px auto;
}

.main-pic img {
    width: 100%;
}

.chat-container {
    width: 55vw;
    margin: 0px auto;
    overflow-y: auto;
}

.chat-list {
    width: 60%;
    margin: 30px auto;
}

.chat-title {
    color: #ffffff;
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    padding-top: 20px;
}

.input-label {
    color: #ffffff;
    font-weight: 300;
    font-size: 14px;
    /*margin-bottom: 10px;*/
    margin-bottom: 5px;
}

.basic-list {
    margin-bottom: 20px;
}

.input-text {
    width: 97%;
    height: 40px;
    border: 2px solid #ffffff;
    background-color: #EEF3FC;
    border-radius: 10px;
    font-size: 16px;
    padding-left: 10px;
    transition: border 0.2s ease;
    cursor: pointer;
}

.input-text:focus {
    outline-style: none;
    border: 1px solid transparent;
    background-image: linear-gradient(#EEF3FC, #EEF3FC), linear-gradient(180deg, #fb7676 0%, #fe5768 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.gender-options {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 7px;
}

.option-button {
    width: 32%;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
    cursor: pointer;
}

.interest-button {
    width: 18.8%;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
    cursor: pointer;
    margin-top: 5px;
    justify-content: space-around;
}

.option-button:hover, .interest-button:hover {
    background: linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    border: none;
    color: #fff;
}

.selected {
    background: linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    border: none;
    color: #fff;
}

.check {
    margin-top: 30px;
}

.terms-text {
    font-size: 12px;
    color: #ffffff;
    text-align: center;
}

.match-button {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
}

.divider {
    margin-top: 35px;
    border-top: #DDE1E6;
}

.links {
    display: flex;
    justify-content: space-evenly;
    text-decoration: none;
    width: 100%;
    font-size: 12px;
    color: #489aff;
    cursor: pointer;
    margin-bottom: 100px;
}

a:hover, a:visited, a:link, a:active {
    text-decoration: none;
}

.link-list-black {
    color: #ffffff;
}

.link-list {
    color: #489aff;
}

.cookie-main {
    width: 100%;
    position: fixed;
    bottom: 0px;
    background-color: #150729;
    z-index: 1005;
    display: none;
}

.cookie-detail {
    color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1005;
    height: 8vh;
}

.cookie-text {
    font-size: 14px;
}

.cookie-button-eara {
    margin-left: 10px;
}

.cookie-button {
    width: 112px;
    height: 32px;
    border-radius: 50px;
    border: 1px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
    cursor: pointer;
}

.cookie-button:hover, .cookie-butto:focus {
    background: #DDE1E6;
}

/* chatroom */
.header-icon {
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.header-icon img {
    height: 50%;
}

.chatroom {
    width: 100%;
    background: linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    height: 92vh;
}

.chatroom-container {
    width: 100%;
    /*min-height: 84vh;*/
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chatroom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

.chatroom-logo img {
    width: 140px;
}

.chatroom-exit {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.chatroom-exit p {
    font-size: 18px;
    margin-right: 10px;
    font-weight: 600;
}

.chatroom-exit img {
    width: 32px;
    height: 32px;
}

.chatroom-messages {
    /*flex: 1;
    padding: 20px 20px 0px 20px;*/
    padding: 20px 20px 2px 20px;
    height: calc(75vh - 30px);
    scrollbar-width: thin;
    scrollbar-color: white transparent;
    margin-bottom: 80px;
    overflow-y: auto;
    overflow-x: hidden;
}

.ai-icon {
    width: 30px;
    cursor: pointer;
}

.ai-icon img {
    width: 100%;
}

.more {
    cursor: pointer;
}

.more-active {
    content: url('../img/more_red.png');
}

/* AI 建議彈窗 */
.chatroom-main {
    /*min-height: 84vh;*/
    display: flex;
    justify-content: space-between;
}

.ai-suggestions {
    background-color: #361B5D;
    padding: 10px 20px;
    box-sizing: border-box;
    z-index: 999;
    flex-shrink: 0;
    min-height: 84vh;
    width: 300px;
}

.ai-suggestions-mb {
    display: none;
    position: absolute;
    right: 0;
    width: 80%;
    background-color: #361B5D;
    z-index: 999;
    padding: 20px;
    box-sizing: border-box;
    top: 7vh;
}

.ai-suggestions-mb {
    display: none;
}

.ai-suggestions {
    display: block;
}

.ai-suggestions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-suggestions-text {
    color: #ffffff;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

.close-button {
    background: none;
    border: none;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
}

.close-button-2 {
    /*position: absolute;
    top: 10px;
    right: 10px;*/
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

.close-button-3 {
    position: absolute;
    top: 0px;
    right: 0px;
    background: none;
    border: none;
    font-size: 24px;
    color: #000;
    cursor: pointer;
}

.ai-suggestions-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.suggestion-button {
    width: 100%;
    padding: 6px;
    background-color: #EEF3FC;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    color: #000;
}

.suggestion-button:hover, .suggestion-button:focus {
    background: linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    color: #fff;
    border: none;
}

.refresh {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.popup-button {
    width: 60%;
    height: 40px;
    margin-top: 10px;
    margin-bottom: 0px;
    font-size: 14px;
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    border-radius: 35px;
    cursor: pointer;
}

.popup-button:hover, .popup-button:focus {
    border: 2px solid transparent;
    background-image: linear-gradient(#361B5D, #361B5D), linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 35px;
    color: #ffffff;
}

.popup-button-exit {
    height: 40px;
    font-size: 14px;
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    border-radius: 35px;
    cursor: pointer;
    padding: 2px 30px;
}

.popup-button:hover, .popup-button:focus, .popup-button-exit:hover, .popup-button-exit:focus {
    border: 2px solid transparent;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 35px;
    color: #5A3798;
}

.AD {
    max-width: 300px;
    height: auto;
    margin: 10px auto;
}

.AD img {
    width: 100%;
}

/* 更多彈窗 */
.more-popup {
    background-color: #361B5D;
    padding: 0px 20px;
    min-height: 84vh;
    width: 300px;
    box-sizing: border-box;
    z-index: 999;
    flex-shrink: 0;
    display: none;
}

.exit {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.exit-text {
    font-size: 18px;
    font-weight: 600;
    color: #FE5768;
}

.exit-icon {
    width: 32px;
    height: 32px;
}

/* 檢舉彈窗 */
.report-popup {
    background-color: #361B5D;
    box-sizing: border-box;
    z-index: 1000;
    flex-shrink: 0;
    display: none;
    width: 100%;
    overflow-y: auto;
}

.report-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.report-popup-title {
    color: #ffffff;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.report-popup-options {
    margin-top: 10px;
}

.report-option {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    text-align: left;
    border: none;
    font-size: 14px;
    color: #000;
    background-color: #EEF3FC;
    cursor: pointer;
    padding: 6px;
    border-radius: 10px;
}

.popup-button-submit {
    width: 60%;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    background-color: #fff;
    color: #000;
    border: 2px solid #fff;
    border-radius: 35px;
    cursor: pointer;
}

.popup-button-submit:hover, .popup-button-submit:focus {
    border: 2px solid transparent;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 35px;
    color: #5A3798;
}

.report-option:hover, .report-option:focus {
    background: linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    color: #fff;
    border: none;
}

.popup-send {
    background-color: #361B5D;
    box-sizing: border-box;
    z-index: 1000;
    flex-shrink: 0;
}

.popup-send-text {
    color: #ffffff;
    font-size: 14px;
    display: flex;
    justify-content: center;
}

/* 離開彈窗 */
.exit-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1004;
}

.popup-content {
    position: relative;
    width: 350px;
    padding: 20px;
    background-color: white;
    border-radius: 20px;
    text-align: center;
    border: 6px solid #DDE1E6;
}

.popup-title {
    font-size: 18px;
    font-weight: 400;
    margin: 0px;
}

.popup-text {
    font-size: 14px;
    margin-top: 10px;
}

/* 對話框樣式 */
.message-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.message-container.left {
    justify-content: flex-start;
}

.message-container.right {
    flex-direction: row-reverse;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 20px;
}

.message-box {
    display: flex;
    align-items: center;
}

.message {
    padding: 10px 15px;
    border-radius: 10px;
    position: relative;
    font-size: 14px;
}

.message.other {
    background-color: #ffffff;
}

.violation {
    font-size: 16px;
    color: #ff1212;
    font-weight: 600;
}

.violation-frame {
    opacity: 0.6;
    background-color: #dae6ff;
    padding: 10px 15px;
    border-radius: 10px;
    position: relative;
    font-size: 14px;
}

.violation-frame::before {
    content: "";
    position: absolute;
    top: 0px;
    right: -13px;
    border-width: 10px;
    border-style: solid;
    border-color: #dae6ff;
    clip-path: polygon(100% 0, 0 0, 0 100%);
}

.message.self {
    background-color: #ffffff;
}

.message.other::before {
    content: "";
    position: absolute;
    top: 0px;
    left: -13px;
    border-width: 10px;
    border-style: solid;
    border-color: #ffffff;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.message.self::before {
    content: "";
    position: absolute;
    top: 0px;
    right: -13px;
    border-width: 10px;
    border-style: solid;
    border-color: #ffffff;
    clip-path: polygon(100% 0, 0 0, 0 100%);
}

.message-container.right .message {
    align-self: flex-end;
    margin-left: auto;
}

.message-time {
    font-size: 14px;
    margin-left: 5px;
    margin-top: 15px;
    color: #BCBCBC;
}

.message-time-right {
    font-size: 14px;
    margin-right: 5px;
    margin-top: 15px;
    color: #BCBCBC;
}

/* 輸入框樣式 */
.chatroom-input {
    position: absolute;
    bottom: 8vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 10vh;
    /*background-color: #150729;*/
    background-color: #E91E63;
    width: 100%;
    z-index: 1000;
}

.chat-input-text {
    width: 75%;
    height: 40px;
    border: 2px solid #EEF3FC;
    border-radius: 10px;
    font-size: 16px;
    padding-left: 10px;
    background-color: #EEF3FC;
    color: black;
}

.chat-input-text:focus {
    outline-style: none;
    border: 1px solid transparent;
    background-image: linear-gradient(#EEF3FC, #EEF3FC), linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.send-button {
    display: block;
    width: 10%;
    height: 40px;
    border: none;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
}

.send-button:hover, .send-button:focus {
    background: transparent;
    color: #ffffff;
    border: 2px solid transparent;
    background-image: linear-gradient(#150729, #150729), linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 10px;
}

.send-button-MB {
    display: none;
}

.emoji {
    width: 24px;
    cursor: pointer;
}

.emoji img {
    width: 100%;
}

.input-text:focus {
    border: 2px solid transparent;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* 未讀 */
.unread {
    width: 100%;
    height: 27px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid #ffffff;
    border-radius: 50px;
    margin: 20px 0px;
    text-align: center;
    font-size: 14px;
    color: #ffffff;
    padding-top: 5px;
}

/* 離開重新配對 */
.exit-match {
    width: 260px;
    height: 42px;
    background-color: #fff;
    box-shadow: 2.947px 7.368px 14.737px 0 rgba(162, 183, 190, 0.2);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    cursor: pointer;
}

/* 輸入中 */
.input-enter {
    width: 260px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid #fff;
    color: #fff;
    font-size: 14px;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    cursor: pointer;
}

.exit-match p {
    font-size: 14px;
}

.exit-match:hover, .exit-match:focus {
    background: linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    color: #fff;
    border: none;
}

/* 服務條款 */
.terms-container {
    width: 45vw;

    padding: 20px;
    margin: 0px auto;
}

.back-button {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.article-back-button {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-left: -14%;
}

.service-title {
    color: #ffffff;
    font-size: 36px;
    text-align: center;
    margin-bottom: 48px;
}

.service-text {
    color: #ffffff;
    overflow-y: auto;
    font-size: 14px;
}

/* 動畫頁 */
.animate-container {
    width: 100%;
    /*height: 100vh;*/
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.animate-text {
    color: #ffffff;
    text-align: center;
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 30px;
}

.animate-text-pink {
    color: #ffffff;
}

.animate-logo {
    width: 160px;
}

.animation-container {
    height: 60px;
    padding-left: 20px;
    padding-right: 20px;
}

/* landing */
.landing-container {
    position: relative;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background: linear-gradient(to bottom, #B23434, #5A3798);
}

.bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
}

.bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.landing-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    z-index: 1;
    padding-top: 0px;
}

.landing-logo {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding: 40px 80px;
}

.landing-logo img {
    width: 120px;
    height: auto;
    z-index: 10;
}

.landing-text {
    z-index: 2;
    max-width: 50%;
    margin-left: 5%;
    margin-top: 0px;
}

.landing-pic {
    z-index: 3;
    max-width: 50%;
    display: flex;
    justify-content: flex-end;
    margin-right: 5%;
}

.landing-pic img {
    margin-top: 80px;
    width: 100%;
    height: auto;
}

.landing-sub {
    color: #DE0380;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 40px;
}

.landing-title {
    color: #ffffff;
    font-size: 62px;
    font-weight: bold;
}

.landing-title-pink {
    font-size: 62px;
    font-weight: bold;
    color: #DE0380;
}

.landing-detail {
    color: #ffffff;
    font-size: 18px;
    margin-top: 40px;
}

.landing-button {
    height: 72px;
    background: linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    box-shadow: 4px 10px 20px 0 rgba(162, 183, 190, 0.2);
    border-radius: 50px;
    border: 5px solid #fff;
    padding: 0px 20px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    transition: transform 0.3s ease;
}


.landing-button:hover {
    transform: translateX(10px);
}

.landing-button img {
    width: 25px;
}

.line-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.line-top img {
    width: 100%;
    z-index: 0;
}

.feature-bg {
    position: relative;
    z-index: 0;
}

.feature-main {
    text-align: center;
    margin-top: 50px;
}

.line-bottom {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    z-index: -100;
}

.line-bottom img {
    width: 100%;
}

.line-bottom-MB {
    display: none;
}

.feature-card-area {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px auto;
}

.feature-card {
    width: 30%;
    height: 250px;
    perspective: 1000px;
}

.card-inner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transform-origin: center;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.feature-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 80%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border: 10px solid rgba(152, 182, 246, 0.2);
    box-shadow: 4px 10px 15px #621686;
    transform-origin: center;
}

.feature-card img {
    width: 70px;
    margin-top: 10px;
}

.feature-title {
    font-size: 21px;
    font-weight: bold;
    margin-top: 30px;
    text-align: center;
}

.feature-title-back {
    font-size: 16px;
    margin-top: 30px;
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
}

.card-back {
    background-color: #f5f5f5;
    transform: rotateY(180deg);
}

.feature-detail {
    font-size: 18px;
    font-weight: 400;
    margin-top: -15px;
}

.feature-text-area {
    margin-top: 40px;
}

.feature-text {
    font-size: 18px;
    font-weight: 400;
    margin-top: 5px;
    color: #ffffff;
}

.copyright {
    background-color: #150729;
    color: #ffffff;
    width: 100%;
    height: 8vh;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-link-list {
    color: #fff;
    width: 33%;
}

.footer-link {
    margin-bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    text-align: center;
}


/* 聊天攻略 */
.chat-strategy-area {
    position: relative;
    min-height: 84vh;
    overflow-y: hidden;
    background: linear-gradient(to bottom, #B23434, #5A3798);
}

.background-lines-top,
.background-lines-bottom {
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 1;
}

.background-lines-top {
    top: 0;
}

.background-lines-top img, .background-lines-bottom img {
    width: 100%;
}

.background-lines-bottom {
    bottom: 0;
}

.chat-strategy-article {
    position: relative;
    width: 90%;
    margin: 0px auto;
    z-index: 2;
}

.strategy-text {
    font-size: 36px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

.chat-strategy-menu {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.menu-button {
    background-color: transparent;
    color: #ffffff;
    font-size: 16px;
    border: none;
    cursor: pointer;
    padding: 0px 20px;
    transition: color 0.3s ease;
}

.menu-button.active {
    color: #FC54B0;
}

.menu-button:hover {
    color: #FC54B0;
}

.menu-divider {
    color: #ffffff;
    font-size: 16px;
}

.article-content {
    width: 100%;
    margin: 20px auto;
    color: #ffffff;
    font-size: 16px;
    max-height: 63vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: white transparent;
}

.article-content-feature {
    width: 100%;
    margin: 20px auto;
    color: #ffffff;
    font-size: 16px;
    scrollbar-width: thin;
    scrollbar-color: white transparent;
}

/* scroll bar */
.article-content::-webkit-scrollbar {
    width: 12px;
}

.article-content::-webkit-scrollbar-track {
    background: transparent;
}

.article-content::-webkit-scrollbar-thumb {
    background-color: white;
    border-radius: 10px;
    border: 3px solid transparent;
    background-clip: content-box;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-right: 20px;
}

.grid-item {
    text-align: center;
    cursor: pointer;
    margin-bottom: 10px;
}

.grid-image {
    width: 100%;
    height: auto;
}

.grid-text {
    margin-top: 10px;
    font-size: 14px;
    color: #ffffff;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    margin-right: 10px;
}

.grid-icon {
    width: 16px;
    height: 16px;
    margin-left: 5px;
    margin-top: 3px;
    padding-top: 2px;
    padding-left: 5px;
}


.bottom-divider {
    width: 100%;
    height: 1px;
    background-color: #ffffff;
    margin: 10px auto;
}

/* 內容頁 */
.article-area {
    position: relative;
    width: 70%;
    margin: 0px auto;
    z-index: 2;
}

.article-pic {
    width: 100%;
    margin-top: 40px;
}

.article-pic img {
    width: 100%;
}

.artcile-text {
    font-size: 14px;
    font-weight: 300;
    color: #ffffff;
    line-height: 28px;
    padding-bottom: 100px;
    margin-top: 20px;
}

/* 留言板 */
.message-board {
    text-align: center;
    margin-top: 50px;
}

.message-board-area {
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 50px auto;
    position: relative;
}

.message-card {
    width: 300px;
    background-color: #FFF495;
    border-radius: 0px;
    box-shadow: 4px 10px 15px #621686;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    position: relative;
    /* transform: rotate(var(--rotation)); */
    --rotation: 0deg;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.message-card:hover {
    /* transform: rotate(var(--rotation)) translateY(-15px); */
    transform: translateY(-15px);
}

.message-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    z-index: 1;
}

.message-title {
    font-size: 21px;
    font-weight: bold;
    margin-top: 0px;
}


.message-title, .message-detail, .message-user {
    text-align: center;
}


.message-detail {
    font-size: 18px;
    font-weight: 400;
    margin-top: -15px;
}

.message-user {
    font-size: 14px;
    font-weight: 400;
    margin-top: -10px;
}

.message-btn {
    width: 100%;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #000;
}

.message-btn:hover {
    border: 2px solid #ff552f;
    color: #ff552f;
    background-color: transparent;

}

.message-card.color-1 {
    z-index: 1;
    position: relative;
    border-radius: 0px 0px 0px 60px;
}

.message-card.color-2 {
    background-color: #FFBA7A;
    z-index: 0;
    margin-top: 30px;
    position: relative;
    border-radius: 0px 0px 60px 0px;
}

.message-card.color-3 {
    z-index: 1;
    position: relative;
    border-radius: 60px 0px 0px 0px;
}

.message-card.color-4 {
    background-color: #FFBA7A;
    z-index: 0;
    position: relative;
    border-radius: 0px 0px 0px 56px;
}

.message-card.color-5 {
    z-index: 1;
    position: relative;
    border-radius: 0px 31px 0px 0px;
}

.message-card.color-6 {
    background-color: #FFBA7A;
    z-index: 0;
    /* margin-left: 30px; */
    position: relative;
    border-radius: 48px 0px 0px 0px;
}

.color-corner1 {
    position: absolute;
    bottom: 0px;
    left: 3px;
    width: 55px;
}

.color-corner2 {
    position: absolute;
    bottom: -2px;
    right: 0px;
    width: 60px;
}

.color-corner3 {
    position: absolute;
    top: 2px;
    left: 0px;
    width: 43px;
}

.color-corner4 {
    position: absolute;
    bottom: 0px;
    left: -2px;
    width: 40px;
}

.color-corner5 {
    position: absolute;
    top: -13px;
    right: 2px;
    width: 50px;
}

.color-corner6 {
    position: absolute;
    top: -1px;
    left: 3px;
    width: 50px;
}

.pushpin {
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, #FDBA35 0%, #FE7602 100%);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 5px;
}

.landing-link {
    padding: 10px 40px;
    background-color: #FC54B0;
    border-radius: 50px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 2px solid #FC54B0;
}

.landing-link:hover {
    border: 2px solid #FC54B0;
    background-color: transparent;
}

.landing-link-2 {
    padding: 10px 50px;
    background-color: #DE0380;
    border-radius: 50px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 2px solid #DE0380;
}

.landing-link-2:hover {
    border: 2px solid #DE0380;
    background-color: transparent;
}

.landing-link-3 {
    padding: 10px 40px;
    background-color: #FC54B0;
    border-radius: 50px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 2px solid #FC54B0;
}

.landing-link-3:hover {
    border: 2px solid #FC54B0;
    background-color: transparent;
}

.landing-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.landing-link img {
    width: 25px;
}

.landing-link-2 img {
    width: 25px;
}

.landing-link-3 img {
    width: 25px;
}

.smooth-talk-guide {
    text-align: center;
    margin-top: 50px;
}

.smooth-talk-guide-area {
    width: 80%;
    margin: 0px auto;
}

.gender-area {
    font-size: 18px;
    color: #fff;

}

.article-content {
    width: 100%;
    margin: 20px auto;
    color: #ffffff;
    font-size: 16px;
    max-height: 63vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: white transparent;
}

.link-bottom {
    display: flex;
    justify-content: center;
    padding-bottom: 50px;
}

.announcement-button {
    height: 24px;
    font-size: 12px;
    color: #ffffff;
    padding: 0px 10px;
    border: 2px solid #FC54B0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    cursor: pointer;
}

/* 公告 */
.message-announcement {
    width: 85%;
    margin: 30px auto;
}

.announcement-area {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.announcement-title {
    font-size: 36px;
    font-weight: 600;
    color: #fff;
}

.announcement-search-area {
    display: flex;
    gap: 10px;
}

.announcement-search {
    background-color: #fff;
    font-size: 14px;
    border-radius: 50px;
    text-align: center;
    padding: 0px 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.announcement-search img {
    width: 20px;
    margin-right: 5px;
}

.announcement-search.active {
    background-color: #FC54B0;
    color: #fff;
}

.announcement-search:hover {
    background-color: #FC54B0;
    color: #fff;
}

.announcement-search img.active {
    filter: invert(100%);
}

.message-area {
    margin-top: 20px;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px 0px;
    cursor: pointer;
}

.message-area:hover {
    transform: translateY(5px);
}

.post-message {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.post-message-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 20px;
}

.post-message-content img {
    width: 38px;
}

.post-message-content-2 {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.post-message-content-2 img {
    width: 38px;
}

.message-user-area {
    margin-left: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.message-nikcname {
    font-size: 14px;
}

.message-user-time {
    font-size: 12px;
}

.message-reply {
    display: flex;
    margin-right: 15px;
    font-size: 14px;
}

.message-reply img {
    width: 20px;
}

.message-reply-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 15px;
}

.message-reply-text {
    margin-left: 3px;
}

.message-comment {
    font-size: 18px;
    font-weight: 600;
    padding: 0px 20px;
}

.message-use {
    display: flex;
}

.pagination {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.pagination a {
    margin: 0 5px;
    padding: 6px 12px;
    text-decoration: none;
    background-color: #fff;
    color: #333;
    border-radius: 5px;
    font-size: 18px;
}

.pagination a:hover {
    background-color: #ddd;
}

.pagination a.active {
    background-color: #FC54B0;
    color: white;
}

.pagination span {
    margin: 0 5px;
    padding: 8px 16px;
    color: #fff;
}

.post-content-area {
    padding: 20px;
}

.post-container {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
}

.post-title {
    margin-top: 20px;
    font-size: 28px;
    color: #000;
    font-weight: 600;
}

.post-subtitle {
    margin-top: 20px;
    font-size: 14px;
    color: #000;
}

.post-content {
    font-size: 14px;
    color: #000;
}

.comment-section {
    width: 100%;
    border-top: 1px solid #CCCCCC;
    padding: 10px 0px;
}

.comment {
    font-size: 14px;
    color: #fff;
    display: flex;
    justify-content: space-between;
}

.comment-2 {
    font-size: 14px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding-left: 20px;
    padding-top: 10px;
}

.comment-reply {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #000;
}

.comment-avatar img {
    width: 30px;
}

.comment-details {
    margin-left: 5px;
}

.comment-text {
    font-size: 14px;
}

.comment-text-2 {
    font-size: 14px;
    padding-left: 20px;
}

.comment-input {
    width: 100%;
    background-color: #EFEFEF;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0px 0px 10px 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.comment-emoji {
    width: 24px;
    cursor: pointer;
    margin: 0px 5px;
}

.comment-emoji img {
    width: 100%;
}

.comment-input-text {
    width: 55%;
    height: 40px;
    border: 1px solid #21272A;
    border-radius: 10px;
    font-size: 16px;
    padding-left: 10px;
    background-color: #EEF3FC;
    color: #919BA1;
}

.comment-input-text:focus {
    outline-style: none;
    border: 1px solid transparent;
    background-image: linear-gradient(#EEF3FC, #EEF3FC), linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.reply-input-text {
    width: 95%;
    height: 30px;
    border: 1px solid #21272A;
    border-radius: 10px;
    font-size: 16px;
    padding-left: 10px;
    background-color: #EEF3FC;
    color: #919BA1;
    margin:6px;
}

.reply-input-text:focus {
    outline-style: none;
    border: 1px solid transparent;
    background-image: linear-gradient(#EEF3FC, #EEF3FC), linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.comment-send-button {
    display: block;
    height: 40px;
    border: none;
    border-radius: 10px;
    color: #fff;
    margin: 0px 5px;
    background: linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.comment-icon-area {
    display: flex;
    gap: 3px;
}

.share-icon, .report-icon {
    width: 24px;
    cursor: pointer;
    padding-right: 5px;
}

.share-icon img, .report-icon img {
    width: 100%;
}

.action-button {
    height: 20px;
    font-size: 14px;
    padding: 0px 20px;
    border: 1px solid #FC54B0;
    background-color: transparent;
    color: #FC54B0;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
}

.action-button:hover {
    background-color: #FC54B0;
    color: #fff;
}

.action-area {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.action-area-2 {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
    gap: 10px
}

.action-button-other {
    width: 250px;
    height: 24px;
    font-size: 14px;
    border: 1px solid #000;
    background-color: transparent;
    color: #000;
    text-align: center;
    border-radius: 50px;
    margin-top: 20px;
}

/* nav */
.dropdown {
    position: relative;
    display: inline-block;
    top: 30px;
    right: 140px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #150729;
    min-width: 160px;
    z-index: 4;
    padding: 0px 0;
    border: 1px solid #FC54B0;
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #FC54B0;
    cursor: pointer;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #FC54B0;
    color: #fff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    top: 100%;
    left: 0;
}

.show {
    display: block;
}

.menu-toggle {
    display: none;

}

.header-button-mobile, .header-mobile {
    display: none;
}

/* 複製網址彈窗 */
.copy-popup {
    position: absolute;
    transform: translate(-80%, -100%);
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 0px 10px;
    z-index: 1000;
}

#copy-popup {
    display: none;
}

.copy-area {
    display: flex;
}

.copy-link {
    font-size: 14px;
    text-decoration: underline;
}

.copy-button {
    width: 30px;
    border: none;
    background-color: #fff;
    cursor: pointer;
}

.copy-button img {
    width: 100%;
}

.copy-message {
    font-size: 14px;
    text-align: center;
    border-radius: 3px;
    color: #fff;
    margin-top: 10px;
    background-color: #FC54B0;
    position: absolute;
    bottom: 14%;
    right: 1%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    z-index: 1000;
}

#copyMessage {
    display: none;
}

.copy-message img {
    width: 18px;
    margin-left: 10px;
}

/* 檢舉彈窗 */
.report-popup-2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.report-checkbox {
    width: 150px;
    font-size: 14px;
    margin: 20px auto;
    text-align: left;
}

.report-checkbox input {
    margin: 10px 5px;
}

.report-popup-text {
    font-size: 14px;
    padding: 20px 0px;
}

.add-popup-text {
    font-size: 14px;
    padding: 20px 0px;
    text-align: left;
}

/* 新增留言 */
.add-message-area {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.add-title {
    height: 50px;
    border-radius: 10px;
    border: none;
    padding-left: 10px;
    font-size: 18px;
    margin-bottom: 20px;
    border: 2px solid #fff;
}

.add-text {
    /*height: 400px;*/
    height: calc(44vh - 106px);
    border-radius: 10px;
    border: none;
    padding-top: 15px;
    padding-left: 10px;
    font-size: 18px;
    margin-bottom: 20px;
    border: 2px solid #fff;
}

.add-title:focus {
    outline-style: none;
    border: 2px solid transparent;
    background-image: linear-gradient(#EEF3FC, #EEF3FC), linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.add-text:focus {
    outline-style: none;
    border: 2px solid transparent;
    background-image: linear-gradient(#EEF3FC, #EEF3FC), linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.add-message-btn {
    width: 100%;
    height: 42px;
    color: #fff;
    font-size: 16px;
    background: linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    box-shadow: 4px 10px 20px 0 rgba(162, 183, 190, 0.2);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
}

/* 登入 */
.login-button {
    color: #fff;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 5px 25px;
    text-align: center;
    cursor: pointer;
}

.login-button-mb {
    display: none;
}

.login-button:hover {
    border: 1px solid #FC54B0;
    color: #FC54B0;
}

.login-avatar2, .user-dropdown-right {
    display: none;
}

/*
.login-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}
*/

.login-avatar {
    width: 40px;
    height: 40px;
    background-color: #FC54B0;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
}

.user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 8vh;
    background-color: #FC54B0;
    color: #fff;
    padding: 0px 20px;
    z-index: 1;
    color: #fff;
    text-align: center;
    border-radius: 0px 0px 10px 10px;
}

.dropdown-user-name {
    font-size: 14px;
}

.dropdown-user-time {
    font-size: 10px;
}

.logout-button {
    color: #fff;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 5px 10px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.logout-button:hover {
    background-color: #150729;
}

.header-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.login-content {
    color: #fff;
}

.login-title {
    font-size: 36px;
    font-weight: 600;
}

.login-text {
    font-size: 16px;
}

.login-input {
    margin-top: 20px;
}

.login-container {
    width: 100%;
    /*height: 100vh;*/
}

.login-input-text {
    width: 97%;
    height: 40px;
    border: 2px solid #ffffff;
    background-color: #EEF3FC;
    border-radius: 10px;
    font-size: 16px;
    padding-left: 10px;
    transition: border 0.2s ease;
    cursor: pointer;
    margin-top: 20px;
}

.login-input-text:focus {
    outline-style: none;
    border: 2px solid transparent;
    background-image: linear-gradient(#EEF3FC, #EEF3FC), linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 60%;
    transform: translateY(-50%);
    cursor: pointer;
}

.toggle-password img {
    width: 15px;
    height: 15px;
}

.login-options {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 14px;
    color: #fff;
}

.forgot-password {
    text-decoration: none;
    color: #fff;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-container-button {
    width: 100%;
    height: 42px;
    color: #fff;
    font-size: 16px;
    background: linear-gradient(180deg, #B23434 0%, #5A3798 100%);
    border: 0px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-top: 20px;
}

.login-container-button:hover {
    box-shadow: 4px 10px 20px 0 rgba(162, 183, 190, 0.2);
}

.login-line {
    border: 1px solid #fff;
    margin-top: 20px;
}

.account-text {
    font-size: 14px;
    color: #fff;
    text-align: center;
    margin-top: 15px;
    cursor: pointer;
}

.forget-password-text {
    font-size: 16px;
    margin-top: 40px;
}

.password-rule {
    font-size: 12px;
    color: #fff;
    margin-top: 10px;
    line-height: 20px;
}



/* RWD */
@media (min-width:768px) and (max-width:1394px) {
    .landing-logo {
        padding: 30px 30px;
    }

    .landing-logo img {
        width: 150px;
    }

    .landing-text {
        margin-top: 0px;
    }

    .landing-pic img {
        margin-top: 80px;
        width: 100%;
        height: auto;
    }

    .landing-sub {
        margin-bottom: 0px;
    }

    .landing-title {
        font-size: 50px;
    }

    .landing-title-pink {
        font-size: 50px;
    }

    .landing-detail {
        font-size: 18px;
        margin-top: 40px;
    }


    /*.feature-bg {
        height: 120vh;
    }*/

    .feature-main {
        text-align: center;
        margin-top: 100px;
    }

    .line-bottom-MB {
        display: none;
    }

    .feature-card-area {
        width: 100%;
        gap: 10px;
    }

    .card-inner {
        width: 100%;
    }

    .feature-card {
        width: 30%;
    }

    .message-board-area {
        width: 90%;
        gap: 10px;
    }
}

@media (min-width: 769px) and (max-width: 1058px) {
    .main-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: #000;
        text-align: center;
        padding: 80px 0px 0px 0px;
    }

    .main-KV {
        width: 40vw;
    }

    .main-title {
        font-size: 28px;
    }

    .main-title-black {
        font-size: 28px;
    }

    .main-description {
        margin: 5px 10px;
        font-size: 14px;
        line-height: 20px;
    }

    .main-pic {
        width: 90%;
    }

    .chat-container {
        width: 60vw;
    }

    .chat-list {
        width: 80%;
    }

    .chat-title {
        font-size: 28px;
    }

    .gender-options {
        flex-wrap: nowrap;
    }

    .terms-container {
        width: 50vw;
    }

    .service-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .header {
        height: 7.5vh;
    }

    .logo-icon {
        /*width: 115px;*/
        width: 260px;
    }

    .container {
        flex-direction: column;
    }

    .main-KV {
        height: 30vh;
        width: 100%;
    }

    .main-container {
        display: none;
    }

    .main-pic {
        width: 250px;
    }

    .chat-container {
        width: 100%;
        margin: 0px auto;
    }

    .input-text {
        font-size: 14px;
    }

    .gender-options {
        flex-wrap: nowrap;
    }

    .check {
        margin-top: 40px;
    }

    .cookie-main {
        width: 100%;
    }

    .cookie-detail {
        width: 95%;
        margin: 0px 0px 0px 20px;
    }

    .cookie-text {
        font-size: 14px;
    }

    .cookie-button-eara {
        display: flex;
        margin-left: 0px;
        margin-right: 20px;
    }

    .cookie-button {
        width: 100px;
        margin-left: 10px;
    }

    .terms-container {
        padding: 10px;
        width: 80vw;
    }

    .service-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    /* chatroom */
    .chatroom-input {
        height: 10vh;
    }

    .chat-input-text {
        width: 60%;
    }

    .send-button {
        width: 15%;
    }

    .send-button-MB {
        display: none;
    }

    /* landing */
    .bg {
        width: 200%;
    }

    .landing-main {
        flex-direction: column-reverse;
    }

    .landing-logo {
        padding: 25px 25px;
    }

    .landing-logo img {
        width: 120px;
        height: auto;
    }

    .landing-text {
        max-width: 90%;
        margin-left: 0px;
        margin-top: 20px;
    }

    .landing-pic {
        justify-content: center;
        margin-right: 0%;
    }

    /* .landing-pic img {
        margin-top: 0px;
    } */

    .landing-sub {
        margin-bottom: 20px;
    }

    .landing-title {
        font-size: 50px;
    }

    .landing-title-pink {
        font-size: 50px;
    }

    .landing-detail {
        margin-top: 20px;
    }

    .line-top {
        top: -50px;
        left: -80px;
        width: 120%;
    }

    /*.feature-bg {
        height: 200vh;
    }*/

    .feature-main {
        text-align: center;
        margin-top: 200px;
    }

    .line-bottom {
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: -100;
    }

    .line-bottom img {
        width: 100%;
    }

    .line-bottom-PC {
        display: none;
    }


    .line-bottom-MB {
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: -100;
    }

    .feature-card-area {
        flex-direction: column;
        align-items: center;
        margin: 50px auto;
        gap: 40px;
    }

    .card-inner {
        width: 100%;
    }

    .feature-card {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .message-board-area {
        width: 50%;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .header-button {
        padding: 2px 10px;
        margin-left: 0px;
    }

    .login-avatar {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 639px) {
    .ai-suggestions-mb {
        display: block;
    }

    .ai-suggestions {
        display: none;
    }

    .ai-suggestions-mb {
        display: none;
        position: absolute;
        width: 90%;
        min-height: 84vh;
        right: 0;
        z-index: 999;
        padding: 10px;
        box-sizing: border-box;
    }

    .ai-suggestions-header {
        margin-bottom: 10px;
    }

    .report-popup-header {
        margin-bottom: 10px;
    }

    .popup-button {
        height: 30px;
        margin-bottom: 0px;
    }

    .ai-suggestions-content {
        gap: 10px;
    }

    /* 更多彈窗 */
    .more-popup {
        width: 90%;
        min-height: 84vh;
        display: none;
        position: absolute;
        right: 0;
        z-index: 999;
        padding: 10px;
        box-sizing: border-box;
    }

    /* 聊天檢舉 */
    .report-popup {
        display: none;
        background-color: #361B5D;
        box-sizing: border-box;
        flex-shrink: 0;
        display: none;
        height: 90vh;
        overflow-y: auto;
        top: 0;
        right: 0;
        z-index: 1001;
    }
}

@media (max-width: 480px) {
    .header {
        height: 7vh;
    }

    .logo-icon {
        /*width: 115px;*/
        width: 260px;
        margin-left: 10px;
    }

    .container {
        flex-direction: column;
    }

    .main-KV {
        height: 22vh;
        width: 100%;
    }

    .main-container {
        display: none;
    }

    .main-pic {
        width: 170px;
    }

    .chat-container {
        width: 100%;
        margin: 0px auto;
    }

    .chat-list {
        width: 80%;
    }

    .chat-title {
        font-size: 32px;
        padding-top: 0px;
    }

    .input-text {
        font-size: 14px;
    }

    .gender-options {
        flex-wrap: nowrap;
        gap: 5px;
    }

    .check {
        margin-top: 40px;
    }

    .links {
        margin-bottom: 70px;
        flex-direction: space-around;
    }

    .cookie-detail {
        width: 95%;
        margin: 0px 0px 0px 10px;
    }

    .cookie-text {
        font-size: 12px;
    }

    .cookie-button-eara {
        display: flex;
        margin-right: 0px;
        margin-left: 0px;
    }

    .cookie-button {
        width: 55px;
        margin-left: 5px;
    }

    .terms-container {
        padding: 10px;
        width: 80vw;
    }

    .service-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    /* chatroom */

    .header-icon img {
        height: 42%;
    }

    .chatroom-input {
        height: 10vh;
    }

    .chat-input-text {
        width: 60%;
        border-radius: 50px;
    }

    .send-button-MB {
        display: block;
        width: 30px;
    }

    .send-button-MB img {
        width: 100%;
    }

    .send-button {
        display: none;
    }

    .unread {
        height: 20px;
        padding-top: 0px;
    }

    /* landing */
    .bg {
        width: 220%;
    }

    .landing-main {
        flex-direction: column-reverse;
    }

    .landing-logo {
        padding: 15px 15px;
    }

    .landing-logo img {
        width: 120px;
        height: auto;
    }

    .landing-text {
        max-width: 90%;
        margin-left: 0px;
        margin-top: 20px;
    }

    .landing-pic {
        max-width: 80%;
        justify-content: center;
        margin-right: 0%;
    }

    .landing-pic img {
        margin-top: 0px;
    }

    .landing-sub {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .landing-title {
        font-size: 30px;
    }

    .landing-title-pink {
        font-size: 30px;
    }

    .landing-detail {
        font-size: 14px;
        margin-top: 10px;
    }

    .landing-button {
        height: 50px;
        border: 3px solid #fff;
        font-size: 16px;
        letter-spacing: 1px;
    }

    .line-top {
        top: -50px;
        left: -130px;
        width: 180%;
    }

    /*.feature-bg {
        height: 160vh;
    }*/

    .feature-main {
        text-align: center;
        margin-top: 50px;
    }

    .line-bottom {
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: -100;
    }

    .line-bottom img {
        width: 100%;
    }

    .line-bottom-PC {
        display: none;
    }

    .line-bottom-MB {
        display: block;
    }

    .feature-card-area {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    .feature-card {
        width: 100%;
        height: 200px;
    }


    .feature-card img {
        width: 60px;
    }

    .feature-title {
        font-size: 18px;
        margin-top: 20px;
    }

    .feature-detail {
        font-size: 16px;
    }

    .feature-text-area {
        margin-top: 20px;
    }

    .feature-text {
        font-size: 14px;
        margin-top: 5px;
    }

    .popup-content {
        width: 300px;
    }

    /* 動畫 */
    .animate-text {
        font-size: 30px;
        padding: 10px;
        margin-bottom: 50px;
    }

    .animate-logo {
        width: 120px;
        margin-top: -30px;
    }

    .copyright {
        font-size: 10px;
    }

    .image-grid {
        grid-template-columns: 1fr;
        margin-bottom: 20px;
    }

    .header1 {
        height: 8vh;
        /*border-bottom: 1px solid #150729;*/
        background-color: #150729;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header-buttons {
        padding-right: 10px;
    }

    .header-button {
        font-size: 24px;
        letter-spacing: 2.5px;
        padding: 5px 10px;
        margin-left: 5px;
        padding: 25px 0px;
        border-bottom: 1px solid #fff;
        width: 100%;
        border-radius: 0px;
        cursor: pointer;
    }

    .strategy-text {
        margin-bottom: 20px;
    }

    .grid-image {
        /*width: 150px;*/
        height: auto;
    }

    .grid-text {
        margin-top: 10px;
        font-size: 14px;
        justify-content: center;
        text-align: start;
        margin-left: 10px;
    }

    .grid-icon {
        width: 16px;
        height: 16px;
        margin-left: 0px;
        margin-top: 0px;
    }

    .strategy-text {
        font-size: 24px;
    }

    .artcile-text {
        font-size: 12px;
        line-height: 24px;
    }

    .menu-button {
        font-size: 14px;
    }

    .article-back-button, .back-button {
        font-size: 14px;
    }

    .message-board-area {
        width: 80%;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .landing-area {
        display: flex;
        flex-direction: column;
    }

    .header-buttons {
        display: none;
        flex-direction: column;
        position: absolute;
        right: -16px;
        top: 8vh;
        width: 70%;
        height: 100vh;
        background-color: #150729;
        z-index: 5;
    }

    .header-buttons.show {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .menu-toggle {
        display: block;
        z-index: 100;
        background-color: transparent;
        border: none;
    }

    .header-mobile {
        display: block;
    }

    .menu-toggle img {
        width: 100%;
        z-index: 100;
    }

    .header-button-2 {
        display: block;
        font-size: 16px;
        letter-spacing: 2.5px;
        padding: 10px 0px;
        margin-left: 5px;
        color: #fff;
        text-align: center;
    }

    .dropdown {
        display: none;
    }

    .header-button-mobile {
        display: block;
        font-size: 24px;
        letter-spacing: 2.5px;
        margin-left: 5px;
        padding: 0px 0px 10px 0px;
        border-bottom: 1px solid #fff;
        width: 100%;
        border-radius: 0px;
        cursor: pointer;
        color: #ffffff;
        background-color: transparent;
        border: none;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 4;
    }

    .overlay.show {
        display: block;
    }

    .no-scroll {
        overflow: hidden;
    }

    .login-avatar, .user-dropdown {
        display: none;
    }

    /* 登入 */
    /*
    .login-avatar2 {
        display: block;
        width: 80px;
        height: 80px;
        margin-top: 20px;
    }
*/
    .login-avatar2 {
        width: 60px;
        height: 60px;
        background-color: #FC54B0;
        border: 2px solid #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 28px;
        text-transform: uppercase;
        margin-top: 20px;
        cursor: pointer;
    }

    .user-dropdown-right {
        display: block;
        color: #fff;
        text-align: center;
    }

    .dropdown-user-name-right {
        font-size: 14px;
    }

    .dropdown-user-time-right {
        font-size: 10px;
    }

    .login-button-mb {
        width: 35%;
        display: block;
        color: #fff;
        background-color: transparent;
        border: 1px solid #fff;
        border-radius: 50px;
        padding: 5px 10px;
        text-align: center;
        cursor: pointer;
        margin-top: 20px;
    }

    .login-button {
        display: none;
    }

    .dropdown-button {
        display: none;
    }
}