/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes floatSubtle {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.section-1 {
    background-image: url('../../assets/images/pc/f1/bg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-1-logo-area {
    padding-left: 20px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    justify-self: start;
    position: absolute;
    top: 0;
    left: 0;
    animation: fadeIn 1s ease-out;
}

.section-1-logo {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

.section-1-logo:hover {
    transform: scale(1.05);
}

.section-1-age-rating {
    height: 110px;
    width: auto;
    transition: transform 0.3s ease;
}

.section-1-age-rating:hover {
    transform: scale(1.05);
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: end;
    width: 100%;
    max-width: 1920px;
}

.section-1-center-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-1-title {
    text-align: center;
    font-size: 6rem;
    font-weight: bold;
    color: white;
}

.section-1-maintitle-text {
    height: 129px;
    width: auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.section-1-subtitle {
    text-align: center;
}

.section-1-subtitle-text {
    height: 43px;
    width: auto;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.section-1-subtitle2 {
    margin-top: 40px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.section-1-subtitle2 > img {
    height: 37px;
    width: auto;
}

.section-1-subtitle3 {
    animation: fadeInUp 1s ease-out 1.9s both;
}

.section-1-subtitle3 > img {
    height: 66px;
    width: auto;
}

.section-1-rewards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
    scroll-behavior: smooth;
    width: auto;
    /* overflow-y: hidden;
    overflow-x: hidden; */
}

.section-1-rewards::-webkit-scrollbar {
    width: 1px;
}

.section-1-reward-item {
    width: auto;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.section-1-reward-item.animated {
    animation: fadeInUp 0.8s ease-out forwards, floatSubtle 4s ease-in-out infinite;
}

.section-1-reward-item.animated:hover {
    animation: fadeInUp 0.8s ease-out forwards, float 2s ease-in-out infinite !important;
}

.section-1-reward-item[data-animation-delay="0"] {
    animation-delay: 0.7s;
}

.section-1-reward-item[data-animation-delay="1"] {
    animation-delay: 0.85s;
}

.section-1-reward-item[data-animation-delay="2"] {
    animation-delay: 1s;
}

.section-1-reward-item[data-animation-delay="3"] {
    animation-delay: 1.15s;
}

.section-1-reward-item[data-animation-delay="4"] {
    animation-delay: 1.3s;
}

.section-1-reward-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: translateX(-100%) translateY(-100%) rotate(90deg);
    transition: transform 1.2s ease;
    pointer-events: none;
    z-index: 1;
}

.section-1-reward-item:hover {
    transform: scale(1.1) translateY(-5px);
    filter: brightness(1.1);
    cursor: pointer;
    animation: float 2s ease-in-out infinite, fadeInUp 0.8s ease-out forwards !important;
}

.section-1-reward-item:hover::before {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.section-1-reward-img {
    max-height: 354px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.section-1-arrow {
    height: 42px;
    width: auto;
    flex-shrink: 0;
    opacity: 0;
    animation: fadeIn 0.5s ease-out 1.5s forwards, bounce 2s ease-in-out infinite 2s;
}

.section-1-cta {
    display: flex;
    justify-content: center;
    width: auto;
    margin: 10px 0;
}

.section-1-cta.cta-register {
    height: 96px;
    width: auto;
}

.section-1-cta-button {
    height: 100%;
    width: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: fadeInUp 1s ease-out 1.7s both, pulse 2s ease-in-out infinite 2.7s;
}

.section-1-cta-button:hover {
    animation: fadeInUp 1s ease-out 1.7s both, pulse 1.5s ease-in-out infinite 2.7s !important;
}

.section-1-cta-button:hover {
    transform: scale(1.05);
}

@media only screen and (max-width: 1920px) {
    .content-wrapper {
        max-width: 1600px;
    }
}


@media only screen and (max-width: 1600px) {

    .section-1-logo {
        height: calc(100px * 0.73);
    }
    
    .section-1-age-rating {
        height: calc(110px * 0.73);
    }

    .content-wrapper {
        max-width: 1366px;
    }

    .section-1-maintitle-text {
        height: calc(129px * 0.73);
    }

    .section-1-subtitle-text {
        height: calc(43px * 0.73);
    }

    .section-1-reward-img {
        max-height: calc(327px * 0.73);
    }

    .section-1-rewards {
        margin-top: 30px;
    }

    .section-1-subtitle2 {
        margin-top: 25px;
        margin-bottom: 12px;
    }

    .section-1-subtitle2 > img {
        height: calc(37px * 0.73);
    }

    .section-1-cta.cta-register {
        height: calc(96px * 0.73);
    }

    .section-1-subtitle3 > img {
        height: calc(66px * 0.73);
    }

    .section-1-arrow {
        height: calc(42px * 0.73);
    }
}


@media only screen and (max-width: 1366px) {

    .section-1-logo {
        height: calc(100px * 0.66);
    }
    
    .section-1-age-rating {
        height: calc(110px * 0.66);
    }

    .content-wrapper {
        max-width: 1100px;
    }

    .section-1-maintitle-text {
        height: calc(129px * 0.66);
    }

    .section-1-subtitle-text {
        height: calc(43px * 0.66);
    }

    .section-1-reward-img {
        max-height: calc(327px * 0.66);
    }

    .section-1-rewards {
        margin-top: 30px;
    }

    .section-1-subtitle2 {
        margin-top: 25px;
        margin-bottom: 12px;
    }

    .section-1-subtitle2 > img {
        height: calc(37px * 0.66);
    }

    .section-1-cta.cta-register {
        height: calc(96px * 0.66);
    }

    .section-1-subtitle3 > img {
        height: calc(66px * 0.66);
    }

    .section-1-arrow {
        height: calc(42px * 0.66);
    }
}

@media only screen and (max-width: 960px) {
    .section-1 {
        background-image: url('../../assets/images/mobile/f1/bg.png');
        background-repeat: no-repeat;
        background-position: top left;
        background-size: cover;
        min-height: 100vh;
        align-items: end;
    }

    .section-1-logo-area {
        padding: 10px 0 0 10px;
        gap: 0;
    }

    .content-wrapper {
        max-width: 100%;
    }

    .section-1-logo {
        height: 50px;
    }
    
    .section-1-age-rating {
        height: 55px;
    }


    .section-1-maintitle-text {
        height: 40px;
    }

    .section-1-subtitle-text {
        height: 18px;
    }

    .section-1-center-content {
        width: 100%;
    }

    .section-1-rewards {
        overflow-x: auto;
        overflow-y: hidden;
        gap: 4px;
        padding: 0 40px;
        width: 100%;
        margin-top: 15px;
        height: 200px;
    }

    .section-1-subtitle2 {
        margin-top: 15px;
        margin-bottom: 5px;
    }

    .section-1-cta.cta-register {
        height: 50px;
        margin: 5px 0;
    }

    .section-1-subtitle3 > img {
        height: 42px;
        margin-bottom: 20px;
    }

    .section-1-reward-img {
        height: 170px;
    }

    .section-1-arrow {
        height: 25px;
    }

    .section-1-cta {
        height: 100px;
    }

    .section-1-subtitle2 > img {
        height: 36px;
    }

    /* Disable hover effects on mobile */
    .section-1-reward-item:hover {
        transform: none;
        filter: none;
        cursor: default;
    }

    .section-1-reward-item:hover::before {
        transform: translateX(-100%) translateY(-100%) rotate(90deg);
    }
}

/* Mobile */
@media only screen and (max-width: 650px) {
    .section-1-rewards {
        justify-content: flex-start;
    }

    .section-1 {
        background-image: url('../../assets/images/mobile/f1/bg.png');
        background-repeat: no-repeat;
        background-position: top;
        background-size: cover;
        min-height: 102vh;
        align-items: end;
    }
}

@media only screen and (max-width: 460px) {
   
}