@charset "UTF-8";
@font-face {
    font-family: 'KIAbodyLatinbasic';
    src: url('../../../../../assets/fonts/KIAbodyLatinbasic_Regular.otf') format("opentype");
}

@font-face {
    font-family: 'NotoSansCJK';
    src: url('../../../../../assets/fonts/NotoSansCJK.ttc') format("ttc");
}

@font-face {
    font-family: 'NotoSansTC';
    src: url('../../../../../assets/fonts/NotoSansTC-Medium.otf') format("opentype");
}

@font-face {
    font-family: 'KiaSignatureOTFBold';
    src: url('../../../../../assets/fonts/KiaSignatureOTFBold.otf') format("opentype");
}

@font-face {
    font-family: 'KiaSignatureBold';
    src: url('../../../../../assets/fonts/KiaSignatureBold.eot') format("embedded-opentype");
}

@font-face {
    font-family: 'KIAbodyLatinbasicLight';
    src: url('../../../../../assets/fonts/KIAbodyLatinbasic_Light.otf') format("opentype");
}

@font-face {
    font-family: kiaLight;
    src: url('../../../../../assets/fonts/KIAbodyLatinbasic_Light.eot') format("embedded-opentype");
}

@font-face{
    font-family:kiaM;
    font-weight:normal;
    font-style:normal;
    font-display:fallback;
    src:url('../../../../../assets/fonts/KiaSignatureRegular.eot');
    src:url('../../../../../assets/fonts/KiaSignatureRegular.eot?#iefix') format('embedded-opentype'),
    url('../../../../../assets/fonts/KiaSignatureRegular.woff2') format('woff2'),
    url('../../../../../assets/fonts/KiaSignatureRegular.woff') format('woff')
}

:root {
    --color-gray: #666666;
    --color-primary: #05141f;
    --color-white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", Arial, sans-serif;*/
    font-family: "kiaM", sans-serif;
    overflow-x: hidden;
    position: relative;
}

body.menu-open {
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 90vh;
    background: url('../img/cover.webp') center center / cover no-repeat;
    color: white;
    z-index: 100;
}
.navbar-top{
    background: linear-gradient(135deg, #000 0%, #000 100%);
    height: 50px;
}

/* Navigation */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 60px;
    z-index: 100;
    /* background: linear-gradient(135deg, #000 0%, #000 100%); */
}

.navbar-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

/* 手機選單按鈕（預設隱藏） */
.mobile-menu-toggle {
    display: block;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
    position: relative;
    position: fixed;
    top: 15px;
    right: 15px;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

.nav-menu {
    display: flex;
    gap: 45px;
    list-style: none;
    position: absolute;
    top: 25px;
    right: 35px;
    z-index: 102;
    font-size: 16px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #05C3DE;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1440px;
    width: 100%;
    padding: 0 60px;
}

.hero-title {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgb(0 0 0 / 19%);
}

.hero-subtitle {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgb(0 0 0 / 32%);
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 10px;
    max-width: 500px;
    color: #d3d3d3;
}
.hero-description .hero-b{
    padding-top: 10px;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    text-shadow: 2px 2px 4px rgb(0 0 0 / 14%);
}

/* Buttons */
.hero-buttons {
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%, 120px);
    max-width: 1440px;
    width: 100%;
    padding-left: 60px;
    display: flex;
    gap: 20px;
    z-index: 100;
    /* bottom: 10%; */
}
.video-section{
    margin-bottom: -10px;
}

.btn {
    padding: 15px 50px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #C5A572;
    color: #1a1a1a;
}

.btn-primary:hover {
    background-color: #d4b583;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 165, 114, 0.4);
}

.btn-secondary {
    background-color: #00000082;
    color: #fffaf1;
    border: 2px solid #c5a572;
}

.btn-secondary:hover {
    background-color: white;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Stats Box */
.stats-box {
    position: absolute;
    top: calc(95vh - 120px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0;
    width: 90%;
    max-width: 1240px;
    border: 2px solid #C5A572;
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(4px);
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.stat-item {
    flex: 1;
    padding: 15px 40px;
    text-align: center;
    border-right: 1px solid #c5a57257;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #C5A572;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    color: white;
    font-weight: 500;
}

/* 獎項介紹區塊 */
.prizes-section {
    position: relative;
    background-color: #1B1C1D;
    /* padding: 100px 0 80px; */
    /* margin-top: -50px; */
    z-index: 2;
}

.prizes-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #C5A572;
    text-align: left;
    margin-bottom: 60px;
    padding-bottom: 15px;
    border-bottom: 2px solid #C5A572;
    text-align: center;
}
.section-title.s2{
    text-align: center;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.prize-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prize-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(197, 165, 114, 0.3);
}

.prize-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.prize-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.prize-item:hover .prize-image img {
    transform: scale(1.05);
}

.prize-info {
    padding: 30px;
    display: flex;
    background: #363636;
}

.prize-name {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.prize-badge {
    display: inline-block;
    background-color: #C5A572;
    color: #1B1C1D;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-left: 20px;
}

.prize-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* 猜球容器 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xl) 0;
}

.challenge-wrapper {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: var(--spacing-xxl);
    background: var(--color-dark);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xxl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* ===================================
   猜球左側區域 - 問題展示
   =================================== */

.left-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.main-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--color-light-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

/* 猜測數字顯示框 */
.guess-box {
    background: linear-gradient(135deg, var(--color-dark-gray) 0%, var(--color-black) 100%);
    border: 2px solid var(--color-gold);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
}


.guess-box:focus-within {
    border-color: var(--color-gold-light);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.guess-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.guess-display input {
    background: transparent;
    border: none;
    color: var(--color-gold);
    font-size: 4rem;
    font-weight: 900;
    text-align: center;
    width: 200px;
    letter-spacing: 10px;
    cursor: text;
}

.guess-display input:focus {
    outline: none;
    color: var(--color-gold-light);
}

.guess-display .unit {
    font-size: 2rem;
    color: var(--color-gold);
    font-weight: 700;
}

.hint {
    text-align: center;
    color: var(--color-gray);
    font-size: 0.9rem;
}


/* ===================================
   右側區域 - 表單
   =================================== */

.right-section {
    background: var(--color-dark-gray);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
}

/* 表單群組 */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    color: var(--color-gold);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--color-black);
    border: 1px solid var(--color-dark-gray);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

.form-group input::placeholder {
    color: var(--color-gray);
}

/* 電話號碼欄位 */
.phone-group {
    display: flex;
    gap: var(--spacing-sm);
}

.phone-group input {
    flex: 1;
}

/* 表單提示文字 */
.form-hint {
    display: block;
    color: #fff;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* 按鈕樣式 */
.btn-verify,
.btn-submit,
.btn-confirm {
    background: linear-gradient(135deg, var(--color-gold-dark) 0%, var(--color-gold) 100%);
    color: var(--color-black);
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.95rem;
}

.btn-verify:hover,
.btn-submit:hover,
.btn-confirm:hover {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-verify:disabled {
    background: var(--color-dark-gray);
    color: var(--color-gray);
    cursor: not-allowed;
    transform: none;
}

.btn-submit {
    width: 100%;
    padding: var(--spacing-md);
    font-size: 1.1rem;
    margin-top: var(--spacing-lg);
}

/* 兩欄表單 */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group.half {
    margin-bottom: 0;
}

/* Checkbox 樣式 */
.checkbox-group {
    margin-bottom: var(--spacing-md);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-weight: 400;
    color: var(--color-white);
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid var(--color-gold);
    border-radius: var(--radius-sm);
    background: var(--color-black);
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.checkbox-label:hover .checkmark {
    border-color: var(--color-gold-light);
}

.checkbox-label input:checked ~ .checkmark {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.checkbox-label input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    display: block;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--color-black);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.privacy-label {
    align-items: flex-start;
}

.privacy-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-light-gray);
}

.privacy-link {
    color: var(--color-gold);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--color-gold-light);
}

/* 猜球容器 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xl) 0;
}

.challenge-wrapper {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: var(--spacing-xxl);
    background: var(--color-dark);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xxl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* ===================================
   猜球左側區域 - 問題展示
   =================================== */

.left-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.main-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--color-light-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

/* 猜測數字顯示框 */
.guess-box {
    background: linear-gradient(135deg, var(--color-dark-gray) 0%, var(--color-black) 100%);
    border: 2px solid var(--color-gold);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
}


.guess-box:focus-within {
    border-color: var(--color-gold-light);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.guess-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.guess-display input {
    background: transparent;
    border: none;
    color: var(--color-gold);
    font-size: 4rem;
    font-weight: 900;
    text-align: center;
    width: 200px;
    letter-spacing: 10px;
    cursor: text;
}

.guess-display input:focus {
    outline: none;
    color: var(--color-gold-light);
}

.guess-display .unit {
    font-size: 2rem;
    color: var(--color-gold);
    font-weight: 700;
}

.hint {
    text-align: center;
    color: var(--color-gray);
    font-size: 0.9rem;
}


/* ===================================
   右側區域 - 表單
   =================================== */

.right-section {
    background: var(--color-dark-gray);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
}

/* 表單群組 */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    color: var(--color-gold);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--color-black);
    border: 1px solid var(--color-dark-gray);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

.form-group input::placeholder {
    color: var(--color-gray);
}

/* 電話號碼欄位 */
.phone-group {
    display: flex;
    gap: var(--spacing-sm);
}

.phone-group input {
    flex: 1;
}

/* 表單提示文字 */
.form-hint {
    display: block;
    color: var(--color-gray);
    font-size: 0.85rem;
    margin-top: var(--spacing-xs);
}

/* 按鈕樣式 */
.btn-verify,
.btn-submit,
.btn-confirm {
    background: linear-gradient(135deg, var(--color-gold-dark) 0%, var(--color-gold) 100%);
    color: var(--color-black);
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.95rem;
}

.btn-verify:hover,
.btn-submit:hover,
.btn-confirm:hover {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-verify:disabled {
    background: var(--color-dark-gray);
    color: var(--color-gray);
    cursor: not-allowed;
    transform: none;
}

.btn-submit {
    width: 100%;
    padding: var(--spacing-md);
    font-size: 1.1rem;
    margin-top: var(--spacing-lg);
}

/* 兩欄表單 */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group.half {
    margin-bottom: 0;
}

/* Checkbox 樣式 */
.checkbox-group {
    margin-bottom: var(--spacing-md);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-weight: 400;
    color: var(--color-white);
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid var(--color-gold);
    border-radius: var(--radius-sm);
    background: var(--color-black);
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.checkbox-label:hover .checkmark {
    border-color: var(--color-gold-light);
}

.checkbox-label input:checked ~ .checkmark {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.checkbox-label input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    display: block;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--color-black);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.privacy-label {
    align-items: flex-start;
}

.privacy-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-light-gray);
}

.privacy-link {
    color: var(--color-gold);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--color-gold-light);
}

.prizes-fr-section{
    background-color: #1a1a1a;
    padding: 40px 20px;
}

.prizes-fr-content{
    width: 1440px;
    margin: auto;
}


/* Challenge Section Styles */
.challenge-section {
    background-color: #1a1a1a;
    padding: 60px 20px;
    color: #fff;
}

.form-container {
    max-width: 1440px;
    margin: 20px auto;
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    display: flex;
    gap: 40px;
    border: 1px solid #c8a464;
}

.form-left {
    flex: 0 0 40%;
}

.form-right {
    flex: 0 0 60%;
    padding-right: 40px;
}

.form-left {
    /* border-right: 1px solid #444; */
    padding-right: 60px;
}

.form-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #c8a464;
}
.tt{
    line-height: 2;
}

.form-left p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.guess-input-group {
    display: flex;
    align-items: center;
    margin: 30px 0;
    border: 2px solid #c8a364;
    border-radius: 5px;
    /* padding: 5px; */
    background-color: #c8a364;
}

.guess-input {
    flex-grow: 1;
    background: #1a1a1a;
    border: none;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    width: 70%;
    padding: 10px;
    color: #c8a364;
    outline: 0;
}

.guess-input::placeholder {
    color: #888;
}

.guess-unit {
    background-color: #c8a464;
    color: #000;
    padding: 20px 30px;
    font-size: 24px;
    font-weight: bold;
    /* border-radius: 5px; */
}

.input-hint {
    font-size: 14px;
    color: #aaa;
}

.form-right .form-group {
    margin-bottom: 20px;
}

.form-right label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #ccc;
}

.form-right input[type="text"],
.form-right input[type="tel"],
.form-right input[type="email"],
.form-right select {
    width: 100%;
    padding: 15px;
    background-color: #1a1a1a;
    border: 2px solid #555;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
}

.verification-success{
    color: #11ce1d;
    width: 100px;
    line-height: 2;
    padding-top: 8px;
}
@keyframes errorSlideIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group.error input,
.form-group.error select {
    border-color: #ea4343;
}

.form-group.error .error-message {
    display: block;
}

/* 手機號碼欄位的錯誤訊息特殊樣式 */
.phone-group + .error-message {
    display: block;
    margin-top: 10px;
    margin-bottom: 0;
}

.input-with-button {
    display: flex;
    gap: 10px;
}

.input-with-button input {
    flex-grow: 1;
}

.btn-verify {
    padding: 12px 20px;
    background-color: #c8a464;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
}
.btn-verify:hover{
    background-color: #ecce8c;
    box-shadow: 0 10px 30px rgba(197, 165, 114, 0.3);
    transform: translateY(-2px);
}

.form-right small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #c8a464;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 14px;
}
.checks a{
	color: #fff;
	border-bottom: 1px solid #fff;
	text-decoration: none;
}
.owner-note {
    flex-grow: 1;
    margin-left: 10px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    border: 2px solid #c8a464;
    background-color: #c8a464;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
}
.btn-submit:hover{
    background-color: #ecce8c;
    box-shadow: 0 10px 30px rgba(197, 165, 114, 0.3);
    transform: translateY(-2px);
}

/* 球車巡展 */

/* Tour Section Styles */
.tour-section {
    background-color: #1a1a1a;
    padding: 20px 60px;
    color: #fff;
    text-align: center;
}

.tour-section .section-title {
    width: 1340px;
    max-width: 100%;
    margin: 0 auto 40px;
    font-size: 28px;
    font-weight: bold;
}

.tour-slider-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 0 60px;
}

.tour-swiper {
    overflow: visible;
}

.swiper-slide {
    height: auto;
    padding: 20px;
}

.tour-item-inner {
    border: 2px solid #c8a464;
    border-radius: 10px;
    padding: 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
}
.tour-item-inner:hover{
    box-shadow: 0 10px 30px rgba(197, 165, 114, 0.3);
}

.tour-icon {
    margin-bottom: 15px;
}

.tour-location {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
    color: #c8a464;
    padding-top: 20px;
}

.tour-location::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
    background-color: #ffffff4d;
}

.tour-dates {
    font-size: 18px;
    color: #ffffff;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.date-separator {
    margin: 5px 0;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: 1px solid #c8a464;
    color: #c8a464;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background-color: rgba(200, 164, 100, 0.1);
}

.slider-nav.prev-slide {
    left: 0;
    width: 40px;
    height: 40px;
}

.slider-nav.next-slide {
    right: 0;
    width: 40px;
    height: 40px;
}

.slider-nav svg {
    stroke: #c8a464;
}

.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after {
    content: ''!important;
}

.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after {
    content: ''!important;
}
.activity-rules{
    color: #dddddd;
    line-height: 2;
    padding-bottom: 10px;
}

.activity-rules ol {
    list-style-type: decimal;
    padding-left: 50px;
}

.activity-rules strong{
    color: #c8a464;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 0;
    outline: 0;
}
.modal-dialog-lightbox{
	max-width: 1000px;
}
.modal-dialog-lightbox .tp{
	font-size: 24px;
	text-align: center;
	color: #0f1d2a;
}
.modal-body {
    padding: 0 50px 50px 50px;
    line-height: 2;
    color: #0f1d2a;
}
.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem 1rem;
    border-bottom: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* 預設隱藏（桌面版）*/
.mobile-only {
    display: none;
}

@media (max-width: 1440px) {
   .tour-section .section-title {
        width: 100%;
    }
    .prizes-fr-content{
        width: 100%;
    }

}

@media (max-width: 1200px) {
    .tour-slider-container {
        padding: 0 50px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar {
        padding: 20px 40px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 30px;
    }

    .stats-box {
        /* flex-direction: column; */
        width: 85%;
    }

    .stat-item {
        padding: 20px 40px;
        /* border-right: none; */
        /* border-bottom: 1px solid #C5A572; */
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    /* 獎項區塊平板版 */
    .prizes-container {
        padding: 0 40px;
    }

    .prizes-grid {
        gap: 30px;
    }

    .prize-image {
        height: 280px;
    }
    
    .hero-section {
        height: 70vh;
    }
    .hero-buttons {
        /* top: 30%; */
        /* left: 50%; */
    }
    
}

@media (max-width: 1024px) {
    .section-title.s2{
        font-size: 24px;
    }
}

@media (max-width: 992px) {
    .form-container {
        flex-direction: column;
    }
    .form-left {
        border-right: none;
        padding-right: 0;
    }
    .form-right {
        flex: 0 0 60%;
        padding-right: 0;
    }
    .nav-menu {
        gap: 30px;
        top: 25px;
        right: 35px;
        z-index: 102;
        font-size: 14px;
    }
}


/* 手機版選單 */
@media (max-width: 768px) {
    /* 手機版背景圖 */
    .hero-section {
        background-image: url('../img/cover_m.webp');
        background-size: cover;
        background-position: bottom center;
        min-height: calc(100vw * 1.7);
        /* height: calc(100vw * 1.78); */
    }

    .navbar {
        padding: 15px 20px;
    }

    .logo img {
        height: 40px;
    }

    /* 顯示手機選單按鈕 */
    .mobile-menu-toggle {
        display: flex;
    }

    /* 手機版選單樣式 - 從右側滑入 */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 80px 40px 30px;
        transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 150;
    }
    .menu-background{
        opacity: 0;
        transition: all 0.4s;
    }  
    .menu-open .menu-background{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgb(0 0 0 / 29%);
        z-index: 145;
        backdrop-filter: blur(4px);
        opacity: 1;
    }
    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(197, 165, 114, 0.3);
    }

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

    .nav-menu a {
        display: block;
        padding: 25px 0;
        font-size: 18px;
        text-align: left;
        color: white;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a:hover {
        color: #C5A572;
        padding-left: 10px;
    }

    .hero-content {
        position: relative;
        padding: 130px 20px 30px;
        left: auto;
        top: auto;
        transform: none;
        text-align: left;
        max-width: 100%;
        min-height: calc(100vw * 1.78);
    }

    .hero-title {
        font-size: 30px;
        margin-bottom: 15px;
        margin-left: 30px;
        white-space: nowrap;
    }

    .hero-subtitle {
        font-size: 28px;
        margin-bottom: 15px;
        margin-left: 30px;
    }

    .hero-description {
        font-size: 18px;
        margin-bottom: 30px;
        margin-left: 30px;
        text-shadow: 2px 2px 4px rgb(0 0 0 / 37%);
    }

    .hero-buttons {
        display: flex;
        flex-direction: row;
        gap: 15px;
        position: absolute;
        top: unset;
        /* top: calc(100vw * 1.27); */
        left: 20px;
        right: 20px;
        transform: none;
        max-width: none;
        width: auto;
        padding-left: 0;
        margin: 0;
        z-index: 100;
        bottom: 8%;
    }

    .btn {
        padding: 14px 30px;
        text-align: center;
        font-size: 16px;
        flex: 1;
    }

    .stats-box {
        position: absolute;
        width: 90%;
        top: calc(100vw * 1.27 + 80px);
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        z-index: 100;
    }

    .stat-item {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 13px;
    }

    /* 獎項區塊手機版 */
    .prizes-section {
        padding: 0 0 50px;
        /* margin-top: -250px; */
    }

    .prizes-section::before {
        top: -50px;
        height: 50px;
    }

    .prizes-container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .prizes-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .prize-image {
        height: 400px;
    }

    .prize-info {
        padding: 25px;
    }

    .prize-name {
        font-size: 20px;
    }

    .prize-badge {
        font-size: 13px;
        padding: 5px 14px;
    }

    .prize-description {
        font-size: 14px;
    }
    .challenge-section {
        padding: 40px 15px;
    }

    .form-container {
        padding: 20px;
    }

    .form-title {
        font-size: 24px;
    }

    .guess-input {
        font-size: 36px;
    }

    .guess-unit {
        padding: 15px 25px;
        font-size: 20px;
    }

    .input-with-button {
        flex-direction: column;
    }

    .btn-verify {
        width: 100%;
        margin-top: 10px;
    }

    .tour-section {
        padding: 0px 10px 60px 10px;
    }
    
    .tour-slider-container {
        padding: 0 50px;
    }
    
    .swiper-slide {
        padding: 15px;
    }

    .mobile-only {
        display: block;
    }

}

/* 平板與小筆電 */
@media (min-width: 769px) and (max-width: 1440px) {
    .navbar-container {
        max-width: 100%;
    }

    .hero-content {
        max-width: 100%
    }
    .stat-label {
        font-size: 14px;
    }
}

/* 小螢幕手機優化 */
@media (max-width: 576px) {
    .hero-section {
        /* height: 800px; */
    }
    .hero-content {
        padding: 130px 15px 20px;
        /* min-height: calc(100vw * 4); */
    }

    .hero-title {
        font-size: 22px;
        margin-bottom: 12px;
        margin-left: 10px;
        white-space: nowrap;
    }

    .hero-subtitle {
        font-size: 20px;
        margin-bottom: 12px;
        margin-left: 10px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 25px;
        margin-left: 10px;
    }

    .hero-buttons {
        left: 15px;
        right: 15px;
        gap: 12px;
        transform: none;
        max-width: none;
        width: auto;
        padding-left: 0;
        z-index: 100;
        /* top: 700px; */
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .stats-box {
        width: 95%;
        top: calc(100vw * 1.3 + 70px);
        z-index: 100;
    }

    .stat-item {
        padding: 18px 12px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* 獎項區塊小螢幕優化 */
    .prizes-section {
        padding: 50px 0 40px;
    }

    .prizes-container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .prizes-grid {
        gap: 25px;
    }

    .prize-image {
        height: 350px;
    }

    .prize-info {
        padding: 20px;
    }

    .prize-name {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .prize-badge {
        font-size: 12px;
        padding: 4px 12px;
    }

    .prize-description {
        font-size: 13px;
    }

    .prizes-section {
        padding: 0px 0 50px;
        /* margin-top: -150px; */
    }
    
    .tour-slider-container {
        padding: 0 45px;
    }
    .challenge-section {
        padding: 40px 15px 10px 15px;
    }    
    
}   

/* Footer Buttons Section */
.footer-buttons-section {
    background-color: #1a1a1a;
    padding: 10px 20px 40px;
    color: #fff;
}

.footer-buttons-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-btn {
    background-color: #C8A464;
    color: #1a1a1a;
    padding: 10px 40px;
    border-radius: 0;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    flex: 1;
    max-width: 380px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.footer-btn:hover::before {
    left: 100%;
}

.footer-btn:hover {
    background-color: #d4b070;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(200, 164, 100, 0.4);
}

.footer-btn .btn-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 0px;
    text-align: center;
}

.footer-btn .btn-subtitle {
    font-size: 13px;
    color: #333;
    text-align: center;
    margin-top: 8px;
}

.footer-divider {
    max-width: 1200px;
    margin: 40px auto 30px;
    height: 1px;
    background-color: #c8a464;
}

.footer-copyright {
    text-align: center;
    color: #999;
    font-size: 14px;
}

.footer-copyright p {
    margin: 0;
}

/* 手機版底部按鈕 */
@media (max-width: 768px) {
    .footer-buttons-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-btn {
        max-width: 100%;
        min-width: 100%;
        padding: 25px 30px;
    }
    
    .footer-btn .btn-title {
        font-size: 20px;
    }
    
    .footer-btn .btn-subtitle {
        font-size: 12px;
    }

    .tour-section .section-title {
        font-size: 22px;
        line-height: 1.6;
    }
    
}

@media (max-width: 440px) {
    .hero-title {
        font-size: 18px;
        margin-bottom: 12px;
        margin-left: 10px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 12px;
        margin-left: 10px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 25px;
        margin-left: 10px;
    }
    .hero-description .hero-b{
        font-size: 16px;
    }
    .hero-section {
        /* height: 700px; */
    }
    .hero-buttons {
        /* top: 600px; */
    }
    
    .footer-buttons-section {
        padding: 40px 15px 30px;
    }
    
    .footer-btn {
        padding: 20px 25px;
    }
    
    .footer-btn .btn-title {
        font-size: 18px;
    }
    .prize-info {
        flex-direction: column;
    }
    .prize-badge {
        margin-left: 0;
        width: 150px;
        text-align:center;
    }
    .tour-section .section-title {
        font-size: 18px;
    }
    .prize-image {
        height: 250px;
    }
    
}

@media (max-width: 392px) {
    .hero-title {
        font-size: 17px;
        margin-bottom: 12px;
        margin-left: 10px;
    }
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 12px;
        margin-left: 10px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 25px;
        margin-left: 10px;
    }
    .hero-description .hero-b{
        font-size: 15px;
    }
    .tour-section .section-title {
        font-size: 16px;
    }
}

/* Loading 遮罩樣式 */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loading-overlay.active {
    display: flex;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #c8a464;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loading-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

