/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Squada One', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Remove all other font-family declarations since they're now inherited from body */
.hero-text h1,
.hero-text h2,
.tab-btn,
.section-title2,
.section-title,
.new-release,
p,
a {
    font-family: inherit;
}

/* Hero Section */
.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #010214;
    padding: 2rem;
}

.hero-gradient {
    width: 100%;
    height: 100%;
    background-image: url('images/home_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
}

.banner-mask {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: calc(100% - 0rem);
    height: auto;
    object-fit: contain;
    z-index: 1;
}

.logo {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 180px;
    height: auto;
    z-index: 3;
}

.hero-content {
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-phone {
    flex: 0 1 40%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%; 
}

.phone-image {
    width: 100%;
    max-width: 570px;
    height: auto;
    object-fit: contain;
    margin-bottom: -8px;
    margin-left: 50px;
}

.hero-text {
    flex: 0 1 60%;
    color: white;
    position: relative;
    top: 16px;
    left: -100px;
    text-align: left;
}

.hero-text h1 {
    font-size: 49px;
    margin: 14px 0;
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 3.6px;
    color: #FFFFFF;
    text-align: left;
    white-space: nowrap;
}

.hero-text h2 {
    font-size: 108px;
    font-weight: 400;
    letter-spacing: 7.92px;
    margin-bottom: 22px;
    color: #FFFFFF;
    text-align: left;
    white-space: nowrap;
}

.download-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 32px;
    justify-content: flex-start;
}

.download-button {
    display: block;
    transition: transform 0.3s ease;
}

.download-button:hover {
    transform: scale(1.05);
}

.download-button img {
    height: 72px;
    width: auto;
}

/* Desktop styles */
.main {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(90deg, #852EFF 0%, #00D4C8 100%);
    overflow: hidden;
}

.section-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 80px;
    overflow: hidden;
}

/* Hero section */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 80px;
    height: calc(100vh - 72px);
}

.hero-text {
    flex: 0 1 720px;
    padding-top: 0;
}

.hero-text h1 {
    font-size: 108px;
    margin: 14px 0;
    font-weight: 400;
    line-height: 0.9;
    text-transform: none;
    letter-spacing: 7.92px;
    color: #FFFFFF;
}

.hero-text h2 {
    font-size: 49px;
    font-weight: 400;
    opacity: 1;
    text-transform: none;
    letter-spacing: 3.6px;
    margin-bottom: 22px;
    color: #FFFFFF;
}

.hero-text p {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 32px;
    max-width: 600px;
    color: #FFFFFF;
}

.hero-text .new-release {
    font-size: 20px;
    margin-bottom: 12px;
    color: #FF3B3B;
}

.hero-text p .highlight {
    color: #852eff;
}

.hero-image {
    flex: 0 1 960px;
    display: flex;
    align-items: flex-end;
    position: relative;
    margin-left: 40px;
    height: 100%;
}

.phone-preview {
    max-width: 572px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
    margin-bottom: -60px;
    transform-origin: left bottom;
}

/* App store buttons */
.app-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.store-button img {
    height: 72px;
    width: auto;
    transition: transform 0.3s ease;
}

.store-button:hover img {
    transform: scale(1.05);
}

/* Swiper section */
.swiper,
.discover-swiper {
    width: 100%;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

.swiper-wrapper {
    display: flex;
    width: 100%;
}

.swiper-slide {
    width: calc(100% / 6);
    height: auto;
    flex-shrink: 0;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 2/3;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.swiper-slide:hover img {
    transform: scale(1.05);
}

/* Navigation buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(133, 46, 255, 0.8);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 24px;
}

/* Category tabs */
.category-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin: 40px 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 32px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 2px;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.tab-btn.active {
    color: #FFFFFF;
}

/* Section titles */
.section-title2 {
    font-size: 83px;
    letter-spacing: 9.2px;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 1.8rem;
}

/* Partner logos */
.partner-logos {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2.5rem;
    margin-top: 7rem;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* 上排三個 logo，每個佔 4 欄 */
.partner-logos > img:nth-child(1) {
    grid-column: span 4;
    justify-self: center;
}

.partner-logos > img:nth-child(2) {
    grid-column: span 4;
    justify-self: center;
}

.partner-logos > img:nth-child(3) {
    grid-column: span 4;
    justify-self: center;
}

/* 下排的容器 */
.bottom-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2.5rem;
    width: 100%;
}

/* PayMaya 佔 4 欄，從第 3 欄開始（左邊空 2 欄） */
.bottom-row > img:first-child {
    grid-column: 3 / span 4;
    justify-self: center;
}

/* GCash 佔 4 欄，從第 7 欄開始（右邊空 2 欄） */
.bottom-row > img:last-child {
    grid-column: 7 / span 4;
    justify-self: center;
}

.partner-logos img {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.partner-logos img:hover {
    opacity: 1;
}

/* Desktop breakpoints */
@media (max-width: 1600px) {
    .section-container {
        max-width: 1400px;
        padding: 0 60px;
    }

    .hero-content {
        max-width: 1400px;
        padding: 0 60px;
    }

    .hero-text {
        flex: 0 1 600px;
    }

    .hero-text h1 {
        font-size: 88px;
        letter-spacing: 6.4px;
    }

    .hero-text h2 {
        font-size: 40px;
        letter-spacing: 2.9px;
    }

    .hero-image {
        flex: 0 1 800px;
        margin-left: 20px;
    }

    .phone-preview {
        max-width: 480px;
    }

    .swiper-slide {
        width: calc(100% / 5);
    }
}

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

    .hero-content {
        max-width: 1200px;
        padding: 0 50px;
        position: relative;
    }

    .hero-text {
        flex: 0 1 550px;
        position: relative;
        left: 0;
        top: 0;
    }

    .hero-text h1 {
        font-size: 80px;
        letter-spacing: 5.8px;
    }

    .hero-text h2 {
        font-size: 36px;
        letter-spacing: 2.6px;
    }

    .hero-image {
        flex: 0 1 700px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: -50px;
    }

    .phone-preview {
        max-width: 440px;
        position: relative;
        transform: translateX(0) translateY(0);
    }
    .phone-image {
        width: 100%;
        max-width: 370px;
        height: auto;
        object-fit: contain;
        margin-bottom: -8px;
        margin-left: 50px;
    }

    .swiper-slide {
        width: calc(100% / 4);
    }

    .partner-logos { 
        gap: 2rem;
        margin-top: 1.5rem;
    }
}

@media (max-width: 1200px) {
    .section-container {
        max-width: 1100px;
        padding: 0 40px;
    }

    .hero-content {
        max-width: 1100px;
        padding: 0 40px;
        position: relative;
    }

    .hero-text {
        flex: 0 1 500px;
    }

    .hero-text h1 {
        font-size: 72px;
        letter-spacing: 5.2px;
    }

    .hero-text h2 {
        font-size: 32px;
        letter-spacing: 2.4px;
    }

    .hero-image {
        flex: 0 1 600px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: -80px;
    }

    .phone-preview {
        max-width: 400px;
        position: relative;
        transform: translateY(20px);
    }

    .swiper-slide {
        width: calc(100% / 4);
    }

    .partner-logos {
        max-width: 800px;
        gap: 2rem;
    }

    .partner-logos img {
        height: 100px;
    }
}

.shows-section {
    background-color: #010214;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: relative;
}

.section-title {
    font-size: 83px;
    line-height: 1.2;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
}

.section-title .purple {
    color: #852EFF;
}

.new-release {
    font-size: 32px;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 400;
}

.shows-slider {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 40px;
    margin: 0 auto;
    max-width: 1920px;
}

.show-card {
    flex: 1;
    position: relative;
    max-width: 280px;
}

.show-card img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.show-card:hover img {
    transform: scale(1.05);
}

.discover-section {
    background-color: #010214;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 80px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.discover-content {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
}

.section-title {
    font-size: 83px;
    line-height: 1.2;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
}

.tab-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.3s ease;
}

.tab-arrow:hover {
    transform: scale(1.1);
}

.tab-arrow img {
    width: 32px;
    height: 32px;
}

.discover-slider {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: visible;
}

.swiper {
    width: 100%;
    overflow: visible !important;
    display: none;
}

.swiper.active {
    display: block;
}

.swiper-wrapper {
    display: flex;
    gap: 20px;
    padding: 20px 0;
}

.swiper-slide {
    width: calc((100vw - 100px) / 6) !important;
    aspect-ratio: 9/16;
    height: auto;
    flex-shrink: 0;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.swiper-slide:hover img {
    transform: scale(1.05);
}

/* Navigation buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.swiper-button-next {
    right: 20px;
}

.swiper-button-prev {
    left: 20px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(133, 46, 255, 0.8);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 24px;
}

/* 移除重複的樣式 */
.swiper-container,
.swiper-container.active {
    display: none;
}

.partners-section {
    background-color: #010214;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 80px;
}

.partners-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title2 {
    font-size: 83px;
    letter-spacing: 9.2px;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 1.8rem;
    white-space: nowrap;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2.5rem;
    margin-top: 7rem;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.bottom-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2.5rem;
    width: 100%;
}

.partner-logos img {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.partner-logos img:hover {
    opacity: 1;
}

.footer {
    height: 168px;
    background: #852EFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: auto;
}

.store-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.store-button img {
    height: 48px;
    width: auto;
    transition: transform 0.3s ease;
}

.store-button:hover img {
    transform: scale(1.05);
}

.copyright {
    color: #FFFFFF;
    font-size: 14px;
    opacity: 0.8;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.loading-gif {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .loading-gif {
        width: 96px;
        height: 96px;
    }
} 