* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif
}

:root {
    --primary: #424242;
    --secondary: #FF0000;
    --dark-bg: #ffffff;
    --card-bg: #ffffff;
    --text-light: #939393;
    --text-gray: #3a3434;
    --accent-blue: #1E90FF;
    --accent-green: #32CD32;
    --header-height: 120px;
    --sticky-header-height: 80px
}

body {
    background-color: #fff;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
    padding-top: var(--header-height)
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px
}

header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    transition: all .4s ease;
    height: var(--header-height);
    display: flex;
    align-items: center
}

    header.sticky {
        background-color: #fff;
        box-shadow: 0 5px 20px rgba(0,0,0,.5);
        padding: 10px 0
    }

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%
}

.logo-container {
    display: flex;
    align-items: center;
    transition: all .4s ease;
    flex-shrink: 0
}

.logo-img {
    height: 70px;
    width: auto;
    transition: all .4s ease;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5))
}

header.sticky .logo-img {
    height: 60px
}

.logo-placeholder {
    display: flex;
    align-items: center
}

@media(max-width: 768px) {
    .logo-placeholder {
        justify-content: center;
        text-align: center;
        width: 100%
    }

    .logo-full {
        margin: 0 auto;
        width: 260px;
        height: auto;
        display: block
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px
}

.auth-buttons {
    display: flex;
    gap: 10px
}

.auth-btn {
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    transition: all .3s ease;
    border: 2px solid rgba(0,0,0,0);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px
}

.login-btn {
    background: rgba(0,0,0,0);
    color: var(--text-light);
    border-color: var(--primary)
}

    .login-btn:hover {
        background: rgba(255,215,0,.1);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(255,0,0,.2)
    }

.signup-btn {
    background: linear-gradient(79deg, #f53a3a 0%, #e9242c 49.5%, #cb0c14 100%) !important;
    color: var(--dark-bg)
}

    .signup-btn:hover {
        background: linear-gradient(79deg, #cb0c14 0%, #e9242c 49.5%, #f53a3a 100%) !important;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(255,0,0,.4)
    }

.language-container {
    position: relative
}

.language-toggle {
    background: hsla(0,0%,100%,.1);
    color: var(--text-light);
    border: 1px solid rgba(255,0,0,.3);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    min-width: 140px;
    justify-content: space-between
}

    .language-toggle:hover {
        background: hsla(0,0%,100%,.2)
    }

    .language-toggle i {
        font-size: .9rem;
        transition: transform .3s ease
    }

    .language-toggle.active i {
        transform: rotate(180deg)
    }

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background-color: var(--card-bg);
    border-radius: 10px;
    width: 140px;
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all .3s ease;
    border: 1px solid rgba(255,215,0,.2);
    z-index: 1001
}

    .language-dropdown.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0)
    }

.lang-option {
    padding: 12px 20px;
    color: var(--text-light);
    cursor: pointer;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    gap: 10px
}

    .lang-option:first-child {
        border-radius: 10px 10px 0 0
    }

    .lang-option:last-child {
        border-radius: 0 0 10px 10px
    }

    .lang-option:hover {
        background-color: rgba(255,215,0,.1)
    }

    .lang-option.active {
        background-color: rgba(255,0,0,.2);
        color: var(--primary);
        font-weight: 700
    }

.lang-flag {
    width: 24px;
    height: 16px;
    border-radius: 3px;
    overflow: hidden
}

    .lang-flag.en {
        background: linear-gradient(to bottom, #012169 0%, #012169 33%, #C8102E 33%, #C8102E 66%, #FFFFFF 66%)
    }

    .lang-flag.cn {
        background: linear-gradient(to bottom, #EE1C25 0%, #EE1C25 33%, #FFD100 33%, #FFD100 66%, #EE1C25 66%)
    }

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px
}

.banner-image {
    width: 100%;
    height: auto;
    display: block
}

.rebate-section {
    margin-bottom: 25px
}

.rebate-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700
}

.rebate-percentage {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-light);
    text-shadow: 0 0 15px rgba(255,215,0,.7);
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px
}

    .rebate-percentage span {
        color: var(--secondary)
    }

.play-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary), #FFA500);
    color: var(--dark-bg);
    padding: 15px 40px;
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all .3s ease;
    box-shadow: 0 5px 15px rgba(255,215,0,.4);
    margin-top: 10px
}

    .play-button:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(255,215,0,.6);
        background: linear-gradient(90deg, #FFA500, var(--primary))
    }

.steps-title {
    text-align: center;
    font-size: clamp(1.3rem,4vw,1.8rem);
    margin: 30px auto;
    color: var(--primary);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%)
}

    .steps-title::after {
        content: "";
        display: block;
        margin: 10px auto 0;
        width: 80%;
        height: 3px;
        background: linear-gradient(90deg, transparent, var(--primary), transparent)
    }

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px
}

.step {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    border: 3px solid red;
    transition: transform .3s ease,box-shadow .3s ease;
    position: relative;
    overflow: hidden
}

    .step:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 25px rgba(255,215,0,.2)
    }

.step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f23537, #d3121a);
    color: var(--dark-bg);
    font-size: 1.8rem;
    font-weight: 900;
    border-radius: 50%;
    margin-bottom: 20px;
    position: relative;
    z-index: 1
}

.step-title {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 700
}

.step-description {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 700
}

.events-section {
    margin: 50px 0
}

.events-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary)
}

.events-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 20px
}

@media(max-width: 768px) {
    .events-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px
    }
}

.event-card {
    position: relative;
    overflow: hidden;
    padding: 0
}

    .event-card:nth-child(2) {
        border-color: rgba(30,144,255,.3)
    }

    .event-card:nth-child(3) {
        border-color: rgba(50,205,50,.3)
    }

.event-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 700
}

.event-card:nth-child(2) .event-badge {
    background: var(--accent-blue)
}

.event-card:nth-child(3) .event-badge {
    background: var(--accent-green)
}

.event-card-title {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 700
}

.event-card-highlight {
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 900;
    margin: 15px 0;
    text-shadow: 0 0 10px rgba(255,215,0,.3)
}

.event-card-details {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 1rem
}

.event-button {
    display: inline-block;
    background: var(--secondary);
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all .3s ease
}

.event-card:nth-child(2) .event-button {
    background: var(--accent-blue)
}

.event-card:nth-child(3) .event-button {
    background: var(--accent-green)
}

.event-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,0,0,.4)
}

.event-card:nth-child(2) .event-button:hover {
    box-shadow: 0 5px 15px rgba(30,144,255,.4)
}

.event-card:nth-child(3) .event-button:hover {
    box-shadow: 0 5px 15px rgba(50,205,50,.4)
}

footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid hsla(0,0%,100%,.1);
    margin-top: 40px;
    color: var(--text-gray);
    font-size: .9rem
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    transition: color .3s ease
}

    .footer-link:hover {
        color: var(--text-light);
        text-decoration: underline
    }

.age-restriction {
    color: var(--secondary);
    font-weight: 700;
    margin-top: 10px
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #fff;
    color: red;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255,0,0,.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .4s ease;
    z-index: 999;
    border: 3px solid var(--secondary)
}

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0)
    }

    .back-to-top:hover {
        background-color: var(--secondary);
        color: #fff;
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(255,215,0,.5)
    }

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    z-index: 2000;
    align-items: center;
    justify-content: center
}

    .modal.active {
        display: flex
    }

.modal-content {
    background-color: var(--card-bg);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    border: 2px solid var(--primary);
    box-shadow: 0 10px 40px rgba(0,0,0,.7);
    animation: modalFadeIn .3s ease
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px
}

.modal-title {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color .3s ease
}

    .modal-close:hover {
        color: var(--primary)
    }

.form-group {
    margin-bottom: 20px
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 600
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background-color: hsla(0,0%,100%,.1);
    border: 1px solid rgba(255,215,0,.3);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all .3s ease
}

    .form-input:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 10px rgba(255,215,0,.3)
    }

.modal-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, var(--primary), #FFA500);
    color: var(--dark-bg);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease;
    margin-top: 10px
}

    .modal-submit-btn:hover {
        background: linear-gradient(90deg, #FFA500, var(--primary));
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(255,215,0,.4)
    }

.modal-footer {
    margin-top: 20px;
    text-align: center;
    color: var(--text-gray);
    font-size: .9rem
}

.modal-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600
}

    .modal-link:hover {
        text-decoration: underline
    }

@media(max-width: 992px) {
    .logo-img {
        height: 70px
    }

    header.sticky .logo-img {
        height: 50px
    }

    .rebate-percentage {
        font-size: 2.8rem
    }

    .play-button {
        padding: 12px 30px;
        font-size: 1.2rem
    }

    .auth-btn {
        padding: 8px 20px;
        min-width: 80px;
        font-size: .8rem
    }
}

@media(max-width: 768px) {
    .header-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between
    }

    .logo-container {
        flex: 1
    }

    .header-right {
        flex: 1;
        justify-content: flex-end
    }

    .logo-img {
        height: 60px
    }

    header.sticky .logo-img {
        height: 45px
    }

    .rebate-title {
        font-size: 1.5rem
    }

    .rebate-percentage {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 5px
    }

    .steps-container {
        grid-template-columns: 1fr
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px
    }

    .modal-content {
        padding: 30px 20px;
        width: 95%
    }
}

@media(max-width: 600px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start
    }

    .logo-container {
        width: 100%
    }

    .header-right {
        width: 100%;
        justify-content: space-between
    }

    .auth-buttons {
        order: 1
    }

    .language-container {
        order: 2
    }
}

@media(max-width: 480px) {
    body {
        padding-top: 140px
    }

    header {
        height: 140px;
        padding: 10px 0
    }

        header.sticky {
            height: 150px
        }

    .logo-img {
        height: 50px
    }

    header.sticky .logo-img {
        height: 40px
    }

    .rebate-percentage {
        font-size: 1.8rem
    }

    .step {
        padding: 20px 15px
    }

    .event-card {
        padding: 5px
    }

    .event-card-highlight {
        font-size: 1.8rem
    }

    .language-toggle {
        padding: 8px 15px;
        min-width: 120px;
        font-size: .9rem
    }

    .auth-btn {
        padding: 8px 15px;
        min-width: 70px;
        font-size: .75rem
    }
}

.image-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    border-radius: 6px
}

.hot {
    background: #ff3b3b
}

.new {
    background: #00c853
}

.limited {
    background: #ff9800
}

.event-image-card {
    position: relative
}
