/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 新加坡航空品牌色彩 */
:root {
    --singapore-airlines-blue: #003B73;
    --singapore-airlines-dark-blue: #002244;
    --singapore-airlines-light-blue: #E6F2FF;
    --singapore-airlines-accent-blue: #0066CC;
    --singapore-airlines-red: #E41E2E;
    --singapore-airlines-gold: #FFD700;
    --singapore-airlines-dark: #1A1A1A;
    --singapore-airlines-gray: #666;
    --singapore-airlines-light-gray: #F5F5F5;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* 头部导航 */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 45px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

/* Hero logo */
.hero-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(1) invert(0);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* CTA button icons */
.cta-button i {
    margin-right: 8px;
    font-size: 1rem;
}

/* Enter button logo */
.enter-button i {
    margin-right: 10px;
    font-size: 1.1rem;
}

/* FAB icon */
.fab-button i {
    margin-right: 8px;
    font-size: 1rem;
}

/* Section logo */
.section-logo {
    margin-bottom: 20px;
}

.section-logo-img {
    height: 50px;
    width: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.section-logo-img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.brand-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--singapore-airlines-blue);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    min-height: 70px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--singapore-airlines-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--singapore-airlines-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--singapore-airlines-blue);
    transition: width 0.3s ease;
}

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

/* 主横幅区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--singapore-airlines-blue) 0%, var(--singapore-airlines-dark-blue) 100%);
    overflow: hidden;
    padding: 80px 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.aircraft-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-aircraft {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.6;
    filter: grayscale(20%) brightness(0.8);
    animation: aircraftParallax 20s ease-in-out infinite;
}

@keyframes aircraftParallax {
    0%, 100% { transform: translateX(0px) translateY(0px) scale(1); }
    25% { transform: translateX(-10px) translateY(-5px) scale(1.02); }
    50% { transform: translateX(0px) translateY(0px) scale(1); }
    75% { transform: translateX(10px) translateY(5px) scale(0.98); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 59, 115, 0.7) 0%, rgba(0, 34, 68, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-align: center;
}

.highlight {
    display: block;
    color: var(--singapore-airlines-gold);
    font-size: 2.2rem;
    margin-top: 8px;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 20px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 120px;
    flex: 1;
    max-width: 150px;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--singapore-airlines-gold);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

.cta-button {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 180px;
    justify-content: center;
}

.cta-button.primary {
    background: var(--white);
    color: var(--singapore-airlines-blue);
    box-shadow: var(--shadow);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cta-button.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-button.secondary:hover {
    background: var(--white);
    color: var(--singapore-airlines-blue);
}

/* 奖品展示区域 */
.rewards-section {
    padding: 100px 0;
    background: var(--singapore-airlines-light-gray);
}

/* Prize Gallery */
.prize-gallery {
    margin: 60px 0;
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--singapore-airlines-dark);
    margin-bottom: 10px;
}

.gallery-header p {
    color: var(--singapore-airlines-gray);
    font-size: 1.1rem;
}

/* Upload Section */
.upload-section {
    margin-bottom: 40px;
}

.upload-area {
    border: 3px dashed var(--singapore-airlines-blue);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, var(--singapore-airlines-light-red) 0%, var(--singapore-airlines-light-blue) 100%);
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--singapore-airlines-dark-red);
    background: linear-gradient(135deg, var(--singapore-airlines-light-blue) 0%, var(--singapore-airlines-light-red) 100%);
    transform: translateY(-2px);
}

.upload-area.dragover {
    border-color: var(--singapore-airlines-dark-red);
    background: var(--singapore-airlines-light-red);
    transform: scale(1.02);
}

.upload-content i {
    font-size: 3rem;
    color: var(--singapore-airlines-blue);
    margin-bottom: 15px;
}

.upload-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--singapore-airlines-dark);
    margin-bottom: 10px;
}

.upload-content p {
    color: var(--singapore-airlines-gray);
    margin-bottom: 20px;
}

.upload-button {
    background: var(--singapore-airlines-blue);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-button:hover {
    background: var(--singapore-airlines-dark-red);
    transform: translateY(-2px);
}

.upload-info {
    margin-top: 15px;
    text-align: center;
}

.upload-info p {
    color: var(--singapore-airlines-gray);
    font-size: 0.9rem;
}

.upload-info i {
    color: var(--singapore-airlines-blue);
    margin-right: 5px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.no-images-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--singapore-airlines-gray);
}

.no-images-message i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--singapore-airlines-light-red);
}

.gallery-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--singapore-airlines-blue);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

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

.gallery-caption {
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--singapore-airlines-light-red) 0%, var(--singapore-airlines-light-blue) 100%);
    font-weight: 600;
    color: var(--singapore-airlines-dark);
    font-size: 1rem;
}

/* Delete button for uploaded images */
.gallery-item .delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(224, 39, 39, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .delete-btn {
    opacity: 1;
}

.gallery-item .delete-btn:hover {
    background: var(--singapore-airlines-blue);
    transform: scale(1.1);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--singapore-airlines-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--singapore-airlines-gray);
}

/* Participation Counter */
.participation-counter {
    background: var(--singapore-airlines-blue);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    margin: 30px auto 0;
    max-width: 300px;
    box-shadow: 0 8px 25px rgba(224, 39, 39, 0.3);
    position: relative;
    overflow: hidden;
}

.participation-counter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('tb/Qantas_(VH-ZNH)_Boeing_787-9_Dreamliner_departing_Sydney_Airport_(3).jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.participation-counter > * {
    position: relative;
    z-index: 1;
}

.counter-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 8px;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--singapore-airlines-gold);
    line-height: 1;
}

.counter-divider {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.counter-total {
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    opacity: 0.8;
}

.counter-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    opacity: 0.9;
    letter-spacing: 1px;
}

/* Lucky Draw Section */
.lucky-draw-section {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* Prize Grid - 3x3 Layout */
.prize-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    max-width: 600px;
    width: 100%;
    aspect-ratio: 1;
}

/* Prize Slot */
.prize-slot {
    background: var(--white);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid transparent;
}

.prize-slot:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.prize-slot.highlight {
    border-color: var(--singapore-airlines-blue);
    background: linear-gradient(135deg, var(--singapore-airlines-light-red) 0%, var(--white) 100%);
    animation: pulse 1s ease-in-out infinite;
}

.prize-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 5px;
}

.prize-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prize-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--singapore-airlines-dark);
    margin-bottom: 3px;
    line-height: 1.2;
}

.prize-value {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--singapore-airlines-blue);
}

/* Center Slot - Spin Button */
.center-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--singapore-airlines-blue) 0%, var(--singapore-airlines-dark-blue) 100%);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(224, 39, 39, 0.3);
}

.spin-button {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--white);
    color: var(--singapore-airlines-blue);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.spin-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.spin-button:disabled {
    background: var(--singapore-airlines-gray);
    color: var(--white);
    cursor: not-allowed;
    transform: none;
}

/* Completed state for spin button */
.spin-button.completed {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    cursor: not-allowed !important;
    animation: none !important;
}

.spin-button.completed:hover {
    transform: none !important;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3) !important;
}

.spin-icon {
    font-size: 2rem;
    margin-bottom: 5px;
}

.spin-text {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Prize Modal */
.prize-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.prize-modal.show {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--singapore-airlines-light-gray);
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--singapore-airlines-dark);
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--singapore-airlines-gray);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: var(--singapore-airlines-blue);
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.prize-result {
    margin-bottom: 20px;
}

.prize-result img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.prize-result h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--singapore-airlines-blue);
    margin-bottom: 5px;
}

.prize-result .prize-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--singapore-airlines-dark);
}

.modal-text {
    font-size: 1.1rem;
    color: var(--singapore-airlines-gray);
    margin: 0;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--singapore-airlines-light-gray);
    text-align: center;
}

.claim-button {
    background: var(--singapore-airlines-blue);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.claim-button:hover {
    background: var(--singapore-airlines-dark-red);
    transform: translateY(-2px);
}

/* Decorative logos */
.decorative-logos {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.decorative-logo {
    position: absolute;
    opacity: 0.1;
    animation: logoRotate 20s linear infinite;
}

.decorative-logo-1 {
    top: 10%;
    left: 5%;
    width: 30px;
    height: auto;
    animation-delay: 0s;
}

.decorative-logo-2 {
    top: 60%;
    right: 10%;
    width: 25px;
    height: auto;
    animation-delay: -7s;
}

.decorative-logo-3 {
    bottom: 20%;
    left: 15%;
    width: 35px;
    height: auto;
    animation-delay: -14s;
}

@keyframes logoRotate {
    0% { transform: rotate(0deg) translateY(0px); }
    25% { transform: rotate(90deg) translateY(-10px); }
    50% { transform: rotate(180deg) translateY(0px); }
    75% { transform: rotate(270deg) translateY(10px); }
    100% { transform: rotate(360deg) translateY(0px); }
}

/* Aircraft decoration */
.aircraft-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.decorative-aircraft {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 200px;
    height: auto;
    opacity: 0.08;
    transform: rotate(-15deg);
    animation: aircraftFloat 15s ease-in-out infinite;
    filter: grayscale(100%) brightness(2);
}

@keyframes aircraftFloat {
    0%, 100% { transform: rotate(-15deg) translateY(0px) translateX(0px); }
    33% { transform: rotate(-10deg) translateY(-20px) translateX(-10px); }
    66% { transform: rotate(-20deg) translateY(10px) translateX(5px); }
}

.prize-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.prize-compact-item {
    background: var(--white);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.prize-compact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.prize-compact-item.premium {
    border: 2px solid var(--singapore-airlines-gold);
    background: linear-gradient(135deg, var(--white) 0%, #FFF9E6 100%);
}

.prize-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--singapore-airlines-blue);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 600;
}

.prize-compact-image {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--singapore-airlines-light-red) 0%, var(--singapore-airlines-light-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.prize-compact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 10px;
    background: var(--singapore-airlines-light-gray);
}

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

.prize-compact-info {
    text-align: center;
}

.prize-compact-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--singapore-airlines-dark);
    margin-bottom: 5px;
    line-height: 1.2;
}

.prize-compact-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--singapore-airlines-blue);
}

/* Floating Action Button */
.floating-action-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.fab-button {
    background: var(--singapore-airlines-blue);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(224, 39, 39, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fab-button:hover {
    background: var(--singapore-airlines-dark-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(224, 39, 39, 0.4);
}

.fab-text {
    display: inline;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(224, 39, 39, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(224, 39, 39, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(224, 39, 39, 0);
    }
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--white);
}

.enter-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--singapore-airlines-light-gray) 0%, var(--white) 100%);
}

.enter-aircraft-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.enter-aircraft {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.1;
    filter: grayscale(80%) brightness(1.2);
}

.enter-content {
    text-align: center;
    max-width: 600px;
    padding: 60px 40px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--singapore-airlines-light-red) 0%, var(--singapore-airlines-light-blue) 100%);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.enter-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: var(--singapore-airlines-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    animation: bounce 2s infinite;
}

.enter-icon-logo {
    width: 60px;
    height: auto;
    filter: brightness(0) invert(1);
}

.enter-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--singapore-airlines-dark);
    margin-bottom: 20px;
}

.enter-content p {
    font-size: 1.1rem;
    color: var(--singapore-airlines-gray);
    line-height: 1.6;
    margin-bottom: 30px;
}

.enter-button {
    background: var(--singapore-airlines-blue);
    color: var(--white);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(224, 39, 39, 0.3);
}

.enter-button:hover {
    background: var(--singapore-airlines-dark-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(224, 39, 39, 0.4);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}


/* 页脚 */
.footer {
    background: var(--singapore-airlines-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--singapore-airlines-gold);
}

.footer-section p {
    color: #CCCCCC;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--singapore-airlines-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--singapore-airlines-gold);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--singapore-airlines-gold);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-info i {
    color: var(--singapore-airlines-blue);
    width: 16px;
}

.footer-disclaimer {
    border-top: 1px solid #444;
    padding: 20px 20px 10px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.footer-disclaimer p {
    max-width: 900px;
    margin: 0 auto;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #CCCCCC;
}

.footer-bottom a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #FFF;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero {
        padding: 40px 0;
        min-height: 80vh;
    }
    
    .hero-content {
        padding: 30px 15px;
        margin: 0 10px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .highlight {
        font-size: 1.5rem;
        margin-top: 5px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .hero-stats {
        gap: 15px;
        margin-bottom: 30px;
        flex-direction: row;
    }
    
    .stat-item {
        padding: 12px 15px;
        flex: 1;
        max-width: 120px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .cta-button {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        min-width: auto;
    }
    
    .cta-button.primary {
        background: var(--white);
        color: var(--singapore-airlines-blue);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .cta-button.secondary {
        background: transparent;
        color: var(--white);
        border: 2px solid var(--white);
    }
    
    .prize-compact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        max-width: 100%;
    }
    
    .prize-compact-item {
        padding: 10px 8px;
        border-radius: 10px;
    }
    
    .prize-compact-image {
        width: 40px;
        height: 40px;
        margin-bottom: 6px;
    }
    
    .prize-compact-info h4 {
        font-size: 0.7rem;
        margin-bottom: 3px;
        line-height: 1.2;
    }
    
    .prize-compact-value {
        font-size: 0.65rem;
    }
    
    .prize-badge {
        font-size: 0.5rem;
        padding: 2px 4px;
        top: 4px;
        right: 4px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .prize-gallery {
        padding: 30px 20px;
        margin: 40px 0;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .enter-content {
        padding: 25px 15px;
    }
    
    .enter-content h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .enter-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    
    .enter-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* Mobile floating button */
    .floating-action-button {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .fab-text {
        display: none;
    }
    
    /* Mobile logo adjustments */
    .logo {
        height: 35px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }
    
    .hero-logo {
        height: 50px;
        margin-bottom: 20px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }
    
    .section-logo-img {
        height: 35px;
    }
    
    .cta-button i {
        font-size: 0.9rem;
    }
    
    .enter-button i {
        font-size: 1rem;
    }
    
    .fab-button i {
        font-size: 0.9rem;
    }
    
    /* Hide decorative logos on mobile */
    .decorative-logos {
        display: none;
    }
    
    /* Hide decorative aircraft on mobile */
    .aircraft-decoration {
        display: none;
    }
    
    /* Mobile aircraft adjustments */
    .hero-aircraft {
        opacity: 0.3;
        object-position: center center;
    }
    
    .enter-aircraft {
        opacity: 0.03;
    }
    
    .enter-icon-logo {
        width: 50px;
    }
    
    /* Mobile text simplification */
    .mobile-compact {
        display: block;
    }
    
    /* Mobile lucky draw adjustments */
    .participation-counter {
        max-width: 250px;
        padding: 15px 20px;
        margin: 20px auto 0;
    }
    
    .counter-display {
        gap: 3px;
        margin-bottom: 6px;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
    
    .counter-divider {
        font-size: 2rem;
    }
    
    .counter-total {
        font-size: 1.5rem;
    }
    
    .counter-label {
        font-size: 0.8rem;
    }
    
    .prize-grid {
        max-width: 400px;
        gap: 15px;
    }
    
    .prize-slot {
        padding: 10px;
        gap: 5px;
    }
    
    .prize-image {
        width: 40px;
        height: 40px;
    }
    
    .prize-name {
        font-size: 0.8rem;
    }
    
    .prize-value {
        font-size: 0.7rem;
    }
    
    .spin-button {
        width: 80px;
        height: 80px;
    }
    
    .spin-icon {
        font-size: 1.5rem;
    }
    
    .spin-text {
        font-size: 0.9rem;
    }
    
    .modal-content {
        width: 95%;
        max-width: 400px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        padding: 15px 20px;
    }

/* Desktop shows full text, mobile shows compact */
@media (min-width: 769px) {
    .mobile-compact::before {
        content: "Enter our exclusive rewards program and ";
    }
    
    .mobile-compact:last-of-type::before {
        content: "Join thousands of Singapore Airlines members who are already in the running for these incredible rewards. ";
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 30px 0;
        min-height: 70vh;
    }
    
    .hero-content {
        padding: 25px 10px;
        margin: 0 5px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .highlight {
        font-size: 1.3rem;
        margin-top: 5px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
        padding: 0 5px;
    }
    
    .hero-stats {
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .stat-item {
        padding: 10px 12px;
        max-width: 100px;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .prize-compact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .prize-compact-item {
        padding: 8px 6px;
        border-radius: 8px;
    }
    
    .prize-compact-image {
        width: 35px;
        height: 35px;
        margin-bottom: 4px;
    }
    
    .prize-compact-info h4 {
        font-size: 0.65rem;
        margin-bottom: 2px;
        line-height: 1.1;
    }
    
    .prize-compact-value {
        font-size: 0.6rem;
    }
    
    .prize-badge {
        font-size: 0.4rem;
        padding: 1px 3px;
        top: 3px;
        right: 3px;
    }
    
    .enter-content {
        padding: 20px 12px;
    }
    
    .enter-content h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .enter-content p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .hero-cta {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .cta-button {
        width: 100%;
        padding: 12px 18px;
        font-size: 0.95rem;
    }
    
    .enter-button {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 30px 0 12px;
    }
    
    .footer-content {
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .footer-links li {
        margin-bottom: 6px;
    }
    
    .footer-links a {
        font-size: 0.8rem;
    }
    
    .contact-info p {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .social-link {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .prize-gallery {
        padding: 15px 12px;
    }
    
    .gallery-image {
        height: 120px;
    }
    
    /* Ultra small mobile adjustments */
    .prize-grid {
        max-width: 350px;
        gap: 10px;
    }
    
    .prize-slot {
        padding: 8px;
        gap: 3px;
    }
    
    .prize-image {
        width: 35px;
        height: 35px;
    }
    
    .prize-name {
        font-size: 0.7rem;
    }
    
    .prize-value {
        font-size: 0.6rem;
    }
    
    .spin-button {
        width: 70px;
        height: 70px;
    }
    
    .spin-icon {
        font-size: 1.3rem;
    }
    
    .spin-text {
        font-size: 0.8rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reward-card,
.step-item {
    animation: fadeInUp 0.6s ease forwards;
}

.reward-card:nth-child(1) { animation-delay: 0.1s; }
.reward-card:nth-child(2) { animation-delay: 0.2s; }
.reward-card:nth-child(3) { animation-delay: 0.3s; }
.reward-card:nth-child(4) { animation-delay: 0.4s; }
.reward-card:nth-child(5) { animation-delay: 0.5s; }
.reward-card:nth-child(6) { animation-delay: 0.6s; }

.step-item:nth-child(1) { animation-delay: 0.1s; }
.step-item:nth-child(2) { animation-delay: 0.2s; }
.step-item:nth-child(3) { animation-delay: 0.3s; }

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--singapore-airlines-light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--singapore-airlines-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--singapore-airlines-dark-blue);
}
}
