@font-face {
    font-family: 'shrikhand';
    src: url('../fonts/SSTVietnamese-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'sst-bold';
    src: url('../fonts/SSTVietnamese-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'sst-light';
    src: url('../fonts/SSTVietnamese-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'sst-medium';
    src: url('../fonts/SSTVietnamese-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'sst-heavy';
    src: url('../fonts/SSTVietnamese-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'sst-roman';
    src: url('../fonts/SSTVietnamese-Medium.ttf') format('truetype');
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Styles */
.navigation-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    padding: 20px 0;
}

.navigation-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navigation-logo img {
    height: 20px;
    width: auto;
}



.navigation-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.navigation-menu li a {
    text-decoration: none;
    color: #333;
    font-family: 'sst-medium', sans-serif;
    font-weight: normal;
    font-size: 16px;
    transition: color 0.3s ease;
}

.navigation-menu li a:hover {
    color: #000;
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Close Menu Button */
.close-menu {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #333;
    z-index: 1002;
}

/* Landing Styles */
.content-wrapper {
    background: url('../images/desktop-top-bg.jpg') no-repeat;
    text-align: center;
    background-size: 100% 100%;
    background-position: top;
    margin: 0 auto;
}

.landing-text {
    padding-top: 50px;
    width: 70%;
    margin: auto;
}

.landing-text img {
    width: 50%;
}

.promo-text {
    font-size: 16px;
    color: #77536a;
    font-family: 'shrikhand', sans-serif;
    margin-top: 10px;
}

.landing-image {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15%;
}


.headphone-item {
    position: relative;
    text-align: center;
    flex: 1;
}



/* nhân vật */
.character-img {
    position: relative;
    width: 100%;
    z-index: 1;
}

/* headphone */
.headphone-img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}


.left {
    top: -200px;
    position: relative;
}

.center {
    position: relative;
}

.right {
    top: -150px;
    position: relative;
}


/* căn vị trí riêng từng cặp */
.left .headphone-img {
    bottom: 30%;
    left: 60%;
    animation: float 3s ease-in-out infinite;
    width: 40%;
}

.center .headphone-img {
    bottom: 10%;
    left: 30%;
    animation: float 3s ease-in-out infinite;
    width: 50%;
}

.right .headphone-img {
    bottom: 45%;
    animation: float 3s ease-in-out infinite;
    left: -10%;
    width: 50%;
}

.penguin-img {
    position: absolute;
    left: 39%;
    transform: translateX(-50%);
    z-index: 2;
    width: 30%;
}

/* tinh chỉnh character từng bên nếu cần */
.left .character-img {
    width: 80%;
}

.center .character-img {
    right: 48%;
}

.right .character-img {}

@keyframes float {
    0% {
        transform: translateY(0);
        /* Start at original position */
    }

    50% {
        transform: translateY(-20px);
        /* Move up 20px */
    }

    100% {
        transform: translateY(0);
        /* Return to original position */
    }
}

.product-name {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-size: 18px;
    text-align: center;
    width: 100%;
    text-wrap: nowrap;
    font-family: 'shrikhand', sans-serif;
}

.left .product-name {
    bottom: 10%;
    left: 80%;
    color: #a4c2c6;
}

.center .product-name {
    bottom: 0%;
    left: 75%;
    color: #ce9fa0;
}

.right .product-name {
    top: -10%;
    color: #baa7c7;
}

.product-info-container {
    padding: 50px 0;
}

.product-info-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}






.promo-card {
    position: relative;
    display: flex;
    align-items: center;
    background: #eff3ff;
    border-radius: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    width: 500px;
    overflow: visible;
}

.promo-card.card-left {
    justify-content: end;
}

.promo-card.card-right {
    justify-content: start;
}

.promo-card img {
    position: absolute;
    left: -120px;
    height: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
}

/* Color swatch images - hidden by default */
.promo-card img[class*="color-swatch-"] {
    display: none;
}

/* Slide animations */
@keyframes slideOut {
    0% {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-50%) translateX(-30px);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-50%) translateX(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.promo-card img.slide-out {
    animation: slideOut 0.3s ease-out forwards;
}

.promo-card img.slide-in {
    animation: slideIn 0.3s ease-out forwards;
}

/* Show active color swatch images */
.promo-card .info-img-desktop[class*="color-swatch-"].active {
    display: block;
}

.promo-card .info-img-mobile[class*="color-swatch-"].active {
    display: none;
}

/* Vùng thông tin */
.info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    line-height: 1.2;
}

/* Màu sắc dọc */
.colors {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.color {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.color.white {
    background: #fff;
}

.color.wheat {
    background: #ecdfd0;
}

.color.blue {
    background: #597186;
}

.color.yellow {
    background: #eeeab4;
}

.color.pink {
    background: #f3d6db;
}

.color.black {
    background: #343436;
}

/* Title */
.title {
    color: #cc91b7;
    font-weight: 700;
    font-size: 32px;
    font-family: 'sst-medium', sans-serif;
}

/* Giá */
.price {
    font-size: 36px;
    color: #d482b1;
    line-height: 1;
    font-family: 'shrikhand', sans-serif;
}

.old-price {
    text-decoration: line-through;
    color: #333;
    font-size: 1rem;
    margin-top: -2px;
}

/* Nút */
.buy-btn {
    margin-top: 10px;
    background: #e8a8cd;
    color: #fff;
    border: 1px solid white;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    width: 100%;
}

.buy-btn:hover {
    background: #d97aa0;
    transform: translateY(-2px);
}



.card-left .colors {
    left: 40%;
}

.card-right img {
    left: unset;
    right: -120px;
}

.card-right .colors {
    left: 55%;
}

.redeem-wrapper {
    background: url('../images/desktop-bottom-bg.jpg') no-repeat;
    background-size: 100% 100%;
    background-position: bottom;
}

.redeem-container {
    position: relative;
}

.cover-img {
    position: relative;
    text-align: center;
}

.note-img {
    position: absolute;
}

.note-1 {
    top: 20%;
    left: 20%;
}

.note-2 {
    top: 40%;
    left: 10%;
}

.note-3 {
    top: 80%;
    left: 30%;
}

.note-4 {
    top: 20%;
    right: 20%;
}

.note-5 {
    top: 40%;
    right: 20%;
}

.note-6 {
    top: 80%;
    right: 30%;
}

.how-to-container {
    text-align: center;
    margin: auto;
    position: relative;
    top: -250px;
}


.how-to-content {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-direction: column;
    text-align: center;
}

.how-to-item {
    width: 550px;
    background: #eff3ff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin: auto;
}

.how-to-title {
    font-size: 48px;
    color: #cc91b7;
    font-family: 'shrikhand', sans-serif;

}


.how-to-item {
    text-align: left;
}

.how-to-item-title {
    font-size: 24px;
    color: #77536a;
    font-family: 'sst-medium', sans-serif;
    text-align: center !important;
    margin-bottom: 10px;
}

.how-to-item-title span {
    font-weight: 700;
}

.how-to-item-list {
    list-style-type: decimal;
}

.how-to-item-list li {
    margin-bottom: 7px;
}

.how-to-item-list li a {
    color: #a4c2c6;
    font-weight: 700;
    text-decoration: underline;
}

.how-to-content {
    font-size: 18px;
    color: #cc91b7;
    font-family: 'sst-medium', sans-serif;
}

.my-sony-rewards-btn {
    background: #e8a8cd;
    color: black;
    border: 1px solid white;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    font-family: 'sst-medium', sans-serif;
}

.my-sony-rewards-btn:hover {
    background: #d97aa0;
    transform: translateY(-2px);
}




.compare-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 0 50px 0;
    margin-top: -150px;
}

.card {
    position: relative;
    width: 550px;
    background: #eff3ff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.image-wrapper {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    left: 5%;
}


.headphone-compare-img {
    width: 40%;
    height: auto;
}

/* Image slideshow - hide all jpg-frequency images by default */
.jpg-frequency {
    display: none;
}

/* Show only the active image */
.jpg-frequency.active {
    display: block;
}

.content {
    text-align: left;
    padding: 30px 40px;
    z-index: 1;
}

.content h3 {
    color: #d174a1;
    margin-bottom: 15px;
    font-size: 32px;
    text-align: center;
    font-family: 'sst-medium', sans-serif;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.feature img {
    width: 40px;
    height: 40px;
}

.feature span {
    color: #333;
    font-size: 18px;
    font-family: 'sst-light', sans-serif;
    font-weight: 500;
}

/* about */
.about-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    width: 60%;
    margin: auto;

}

.about-text {
    width: 60%;
}

.about-image {
    width: 40%;
    text-align: center;
}

.about-text-title {
    font-size: 48px;
    color: #cc91b7;
    font-family: 'shrikhand', sans-serif;
}

.about-text-content {
    font-size: 18px;
    color: #333;
    font-family: 'sst-roman', sans-serif;
}

.themellowberry-button {
    width: 40%;
    padding-top: 30px;
}

.tnc-container {
    width: 60%;
    margin: auto;
    text-align: center;
    padding-bottom: 50px;
}

.tnc-text {
    font-size: 12px;
    color: #333;
    font-family: 'sst-roman', sans-serif;
}

.footer-container {
    background: #fffbd8;
    text-align: center;
}

.forthemusic-logo {
    padding: 30px 0;
}


.info-img-mobile {
    display: none;
}

.desktop-title {
    display: block;
}

.mobile-title {
    display: none;
}

.br-mobile-block {
    display: none;
}

/* Mobile Styles */

@media (max-width: 1440px) {

    .about-container,
    .tnc-container {
        width: 80%;
    }

    .promo-text {
        width: 50%;
        margin-left: auto;
        margin-right: auto;
    }
}


@media (max-width: 1024px) {
    .promo-card {
        width: 400px;
    }

    .title {
        font-size: 28px;
    }

    .card-right img {
        right: -80px;
    }

    .card-left img {
        left: -80px;
    }

    .card-left .colors {
        left: 43%;
    }

    .product-name {
        font-size: 16px;
    }

    .right .product-name {
        top: -15%;
    }

    .note-1 {
        top: 10%;
    }

    .note-2 {
        top: 40%;
        left: 2%;
    }

    .note-3 {
        top: 70%;
        left: 15%;
    }

    .note-4 {
        top: 13%;
        right: 4%;
    }

    .note-5 {
        top: 40%;
        right: 1%;
    }

    .note-6 {
        top: 80%;
        right: 10%;
    }

    .how-to-container {
        width: 80%;
    }

    .compare-container {
        padding-top: 0px;
    }

    .card {
        width: 450px;
    }

    .how-to-item {
        width: 450px;
    }

    .content {
        padding: 20px 20px;
    }

    .feature span {
        font-size: 16px;
    }

    .about-text {
        width: 75%;
    }

    .about-text-title {
        font-size: 40px;
    }

    .about-text-content {
        font-size: 16px;
    }

    .about-image {
        width: 35%;
    }

    .tnc-container {
        padding-bottom: 20px;
    }

    .tnc-text {
        font-size: 10px;
    }

    .forthemusic-logo {
        width: 200px;
    }

    .promo-text {
        width: 50%;
    }
}


@media (max-width: 768px) {
    .promo-text {
        width: 70%;
    }

    .hamburger-menu {
        display: flex;
    }

    .navigation-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .navigation-menu.menu-open {
        transform: translateX(0);
    }

    .navigation-menu ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .navigation-menu li a {
        font-size: 24px;
        font-weight: 600;
    }

    .close-menu {
        display: block;
    }

    .navigation-container {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .product-info-item {
        flex-wrap: wrap;
    }

    .promo-card {
        width: 450px;
    }

    .landing-text {
        width: 100%;
    }

    .landing-image {
        padding-top: 45%;
    }

    .left .character-img {
        width: 100%;
    }

    .left .headphone-img {
        bottom: 30%;
        left: 60%;
        width: 60%;
    }

    .center .headphone-img {
        bottom: 10%;
        left: 30%;
        width: 60%;
    }

    .right .headphone-img {
        bottom: 40%;
        left: -20%;
        width: 60%;
    }

    .penguin-img {
        left: 39%;
        width: 40%;
    }

    .about-container {
        padding-top: 0px;
        padding-bottom: 20px;
    }

    .about-text-title {
        font-size: 32px;
    }

    .about-text-content {
        font-size: 12px;
    }

    .themellowberry-button {
        width: 50%;
        padding-top: 10px;
    }

    .br-mobile-none {
        display: none;
    }

    .br-mobile-block {
        display: block;
    }

    .redeem-container {
        padding-bottom: 0px;
    }

    .how-to-container {
        position: relative;
        left: unset;
        width: 100%;
        transform: unset;
        top: -150px;
    }

    .how-to-content {
        flex-wrap: wrap;
    }

    .how-to-item-title {
        font-size: 22px;
    }

    .how-to-item-list li {
        font-size: 14px;
    }

    .compare-container {
        margin-top: 0px;
    }
}

@media (max-width: 568px) {
    .title {
        font-size: 26px;
    }

    .price {
        font-size: 38px;
    }

    .promo-text {
        font-size: 14px;
        width: 70%;
        margin: auto;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .how-to-container {
        top: -50px;
    }

    .desktop-title {
        display: none;
    }

    .mobile-title {
        display: block;
        width: 100%;
        text-align: center;
    }

    .about-container {
        flex-wrap: wrap;
    }

    .about-container,
    .tnc-container {
        width: 80%;
    }

    .about-text {
        width: 60%;
    }

    .about-text-content {
        font-size: 12px;
        width: 90%;
    }


    .landing-text img {
        width: 70%;
    }

    .content-wrapper {
        background: url(../images/mobile-top-bg.jpg) no-repeat;
        background-size: 100% 100%;
        background-position: top;
    }

    .redeem-wrapper {
        background: url(../images/mobile-bottom-bg.jpg) no-repeat;
        background-size: 100% 100%;
        background-position: top;
    }

    .info-img-mobile {
        display: block;
    }

    .info-img-desktop {
        display: none;
    }

    /* Mobile color swatches */
    .promo-card .info-img-mobile[class*="color-swatch-"].active {
        display: block;
    }

    .promo-card .info-img-desktop[class*="color-swatch-"].active {
        display: none;
    }

    .promo-card {
        width: 425px;
    }

    .product-info-container {
        padding: 50px 0;
        overflow: hidden;
    }

    .card-right img {
        right: -220px;
        width: 80%;
        z-index: 5;
        top: 55%;
    }

    .card-left img {
        left: -140px;
        width: 70%;
        top: 27%;
        z-index: 3;
    }

    .how-to-title {
        font-size: 32px;
    }

    .how-to-content {
        font-size: 16px;
    }

    .my-sony-rewards-btn {
        font-size: 16px;
        margin-left: 5px;
    }

    .how-to-item-title {
        font-size: 20px;
    }

    .how-to-item-list li {
        font-size: 12px;
    }

    .how-to-item {
        padding: 20px 10px;
    }
}

@media (max-width: 480px) {
    .landing-container {
        overflow: hidden;
    }

    .landing-text {
        width: 100%;
        padding-top: 20px;
    }

    .landing-image {
        padding-top: 45%;
        flex-wrap: wrap;
    }

    .headphone-item {
        flex: unset;
        width: 60%;
    }

    .character-img {
        position: relative;
        width: 80%;
        z-index: 1;
    }

    .landing-image .left {
        top: 0px;
        position: relative;
        order: 1;
        width: 50%;
    }

    .left .character-img {
        width: 100%;
    }

    .left .headphone-img {
        bottom: 30%;
        left: 60%;
        width: 60%;
    }

    .left .product-name {
        left: 120%;
    }

    .landing-image .center {
        position: relative;
        text-align: left;
        top: -100px;
    }


    .center .character-img {
        right: 0%;
    }

    .center .headphone-img {
        bottom: -20%;
        left: 60%;
        width: 55%;
    }

    .center .product-name {
        bottom: -20%;
        left: 45%;
        color: #ce9fa0;
    }

    .landing-image .right {
        position: relative;
        right: -57%;
        top: 0;
    }

    .right .headphone-img {
        bottom: 25%;
        left: -10%;
        width: 55%;
    }

    .right .character-img {
        width: 100%;
    }

    .penguin-img {
        left: 39%;
        width: 40%;
    }

    .info {
        gap: 2px;
    }

    .card-right img {
        right: -200px;
    }

    .main-img {
        width: 80%;
    }

    .card {
        width: 400px;
    }

    .how-to-item {
        width: 400px;
    }

    .image-wrapper {
        left: -5%;
    }

    .image-wrapper.left {
        left: -7%;
    }

    .mobile-title {
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .about-image {
        width: 40%;
    }
}

@media (max-width: 450px) {
    .about-text {
        width: 50%;
    }

    .about-image {
        width: 50%;
    }

    .main-img {
        z-index: 1;
        position: relative;
    }

    .note {
        z-index: 0;
    }

    .how-to-container {
        z-index: 2;
    }
}

@media (max-width: 430px) {
    .promo-card {
        width: 85%;
        padding: 30px 10px;
    }

    .price {
        font-size: 27px;
        margin-bottom: 6px;
    }

    .promo-text {
        width: 84%;
    }

    .compare-container {
        padding-top: 50px;
        gap: 50px;
    }

    .card {
        width: 80%;
    }

    .how-to-item {
        width: 80%;
    }

    .card-right .colors {
        left: 60%;
    }

    .card-right img {
        right: -180px;
    }

    .card-left .colors {
        left: 39%;
    }

    .card-left img {
        left: -100px;
        width: 65%;
        top: 35%;
        z-index: 3;
    }

    .content {
        padding: 20px 10px;
    }

    .content h3 {
        font-size: 24px;
    }

    .feature img {
        width: 24px;
        height: 24px;
    }

    .feature span {
        font-size: 12px;
    }

    .about-text {
        width: 60%;
    }

    .about-image {
        width: 40%;
    }

    .themellowberry-button {
        width: 65%;
    }
}


@media (max-width: 390px) {
    .promo-card {
        width: 90%;
        padding: 30px 20px;
    }

    .landing-image {
        padding-top: 40%;
    }

    .landing-image .center {
        top: -60px;
    }

    .landing-image .right {
        right: -55%;
    }

    .card-right img {
        right: -170px;
    }

    .how-to-container {
        bottom: 15%;
    }

    .card {
        width: 90%;
    }

    .how-to-item {
        width: 90%;
    }

    .image-wrapper {
        left: 0%;
    }

    .image-wrapper.left {
        left: 0%;
    }

    .headphone-compare-img {
        width: 45%;
    }

    .how-to-title,
    .mobile-title {
        font-size: 28px;
    }
}

@media (max-width: 320px) {
    .landing-image {
        padding-top: 45%;
    }

    .title {
        font-size: 20px;
    }

    .buy-btn {
        margin-top: 0px;
    }

    .color {
        width: 18px;
        height: 18px;
    }

    .card-right .colors {
        left: 57%;
    }

    .card-right img {
        right: -140px;
    }

    .card-left .colors {
        left: 42%;
    }

    .card-left img {
        left: -80px;
    }

    .how-to-container {
        bottom: 10%;
    }

    .how-to-content {
        font-size: 14px;
    }

    .headphone-compare-img {
        width: 38%;
    }

    .how-to-title,
    .mobile-title {
        font-size: 25px;
    }

    .about-text {
        width: 100%;
        order: 2;
        text-align: center;
    }

    .about-text-content {
        font-size: 12px;
        width: 100%;
    }

    .about-image {
        width: 70%;
        order: 1;
        margin-bottom: 20px;
    }
}