* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* transição suave ao rolar para âncoras */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f5f5f7;
    color: #000;
    line-height: 1.5;
}

.container {
    max-width: 1860px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
}

/* Mix Live Section */
.mix-live {
    position: relative;
    width: 100%;
    /* Altura responsiva baseada na largura (aprox. 16:9) sem estourar em telas muito altas */
    min-height: clamp(420px, 56.25vw, 78vh);
    overflow: hidden;
    background: #f5f5f7;
    display: flex; /* permite filhos ocuparem 100% via flex */
}

.mix-live-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.mix-live-background img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* preenche sem barras pretas */
    object-position: center; /* ajuste para top/center se quiser mudar o foco */
}

.mix-live-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 56.566%, rgba(0, 0, 0, 0.28) 100%),
                linear-gradient(180deg, rgba(88, 88, 88, 0.62) 0%, rgba(0, 0, 0, 0.62) 100%);
    z-index: 1;
}

.mix-live-content {
    position: relative;
    z-index: 2;
    flex: 1 1 auto; /* ocupar toda a altura do container .mix-live */
    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* concentrar conteúdo na parte de baixo */
    gap: 2rem; /* espaçamento vertical entre blocos */
}

.mix-live-header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mix-live-title {
    font-size: clamp(2.5rem, 6.5vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    max-width: 610px;
}

.description-download-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mix-live-description {
    max-width: 520px; /* diminuir largura disponível do parágrafo */
    margin-top: 1rem;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: end;
    gap: 0.25rem;
}

.description-paragraph {
    font-size: clamp(0.95rem, 1.8vw, 1.3rem);
    color: #d7d7d7;
    line-height: 1.4;
    margin: 0;
    height: 54px;
    overflow: hidden; /* corta conteúdo que ultrapassa */
    word-wrap: break-word; /* quebra palavras longas */
    overflow-wrap: break-word; /* quebra palavras longas */
    text-overflow: ellipsis; /* adiciona "..." se necessário */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* limita a 2 linhas */
    line-clamp: 2; /* limita a 2 linhas (padrão) */
    -webkit-box-orient: vertical;
    flex: 1 1 auto;
}

.read-more-link {
    font-size: clamp(0.95rem, 1.8vw, 1.3rem);
    color: #d7d7d7;
    text-decoration: none;
    transition: opacity 0.3s, color 0.3s;
    flex-shrink: 0;
}

.read-more-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.read-more-link:active {
    opacity: 0.6;
    color: #fff;
    transition: opacity 0.15s, color 0.15s;
}

.btn-download {
    margin-top: 1rem;
    padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    color: #000;
    background-color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    width: fit-content;
    align-self: flex-start;
}

.btn-download:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.btn-download:active {
    transform: translateY(0);
}

.mix-live-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.logo-downloads {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-image {
    width: 70px;
    height: 70px;
    border-radius: 5.742px;
    object-fit: cover;
    flex-shrink: 0;
}

.downloads-info {
    display: flex;
    flex-direction: column;
}

.downloads-count {
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    font-weight: 700;
    color: #fff;
}

.downloads-label {
    font-size: clamp(0.9rem, 1.5vw, 1.5rem);
    font-weight: 500;
    color: #a4a4a4;
}

.vertical-line {
    width: 1px;
    height: 49px;
    background: rgba(255, 255, 255, 0.3);
}

.available-platforms {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-left: auto;
}

.available-label {
    font-size: clamp(0.9rem, 1.5vw, 1.7rem);
    font-weight: 500;
    color: #fff;
}

.platform-icons {
    display: flex;
    gap: 3rem; /* gap maior entre ícones */
    align-items: center;
}

.platform-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.platform-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Divider */
.divider {
    width: 100%;
    height: 12px;
    background: rgba(0, 0, 0, 1);
}

/* Trailer Section */
.trailer-section {
    padding: 3rem 0;
    background-color: #000000d7;
}

.trailer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: #fff;
}

.trailer-title {
    font-size: clamp(2rem, 5vw, 3.625rem);
    font-weight: 700;
}

.trailer-arrow {
    width: 18px;
    height: 33px;
    fill: currentColor;
}

.trailer-videos {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Primeiro container de vídeos (trailer principal) - alinha à esquerda */
.trailer-section > .container > .trailer-videos:first-of-type {
    justify-content: flex-start;
}

/* Segundo container (Mais trailers) - centraliza */
.trailer-section > .container > .more-trailers + .trailer-videos {
    justify-content: space-between;
}

.video-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    width: 360px; /* largura fixa aumentada */
    height: 270px; /* altura fixa aumentada (proporção 16:9) */
    flex-shrink: 0; /* evita que os cards encolham */
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%; /* usa altura fixa do card */
    background: #000;
}

.video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Placeholder genérico para embeds de vídeo */
.video-placeholder {
    width: 100%;
    height: 100%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.video-info {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.video-title {
    font-size: clamp(0.9rem, 2vw, 1.125rem);
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.5rem;
}

.video-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    color: #fff;
}

.trailer-divider {
    border: none;
    height: 1px;
    background: #878787;
    margin: 2rem 0;
}

.more-trailers {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: clamp(1.5rem, 4vw, 3.625rem);
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s;
    color: #fff;
}

.more-trailers:hover {
    opacity: 0.7;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: #2B2B2B;
    color: #fff;
}

.about-title {
    font-size: clamp(2rem, 5vw, 3.0625rem);
    font-weight: 700;
    margin-bottom: 3rem;
}

/* Container 1: Descrição (esquerda) + Grid Info (direita) */
.about-container-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: start;
}

.about-description {
    background-color: #414141;
    padding: 2rem;
    border-radius: 10px;
}

.about-app-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.about-app-text {
    font-size: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.6;
    color: #ABABAB;
}

.about-grid-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.about-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.about-label {
    font-size: clamp(0.9rem, 2vw, 1.25rem);
    font-weight: 600;
    color: #fff;
}

.about-value {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #888888;
}

/* Container 2: Info Vertical (esquerda) + Screenshots (direita) */
.about-container-2 {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
}

.about-info-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 280px;
}

.about-screenshots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.screenshot-item {
    aspect-ratio: 1;
    background: #555;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.screenshot-item span {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: clamp(0.65rem, 1.2vw, 0.75rem);
    color: #ABABAB;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

/* Footer */
.page-footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #323232;
    color: #fff;
}

.footer-content-container{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: clamp(0.9rem, 2vw, 1.25rem);
}

.footer-separator {
    width: 1px;
    height: 47px;
    background: #4B4B4B;
}

@media (max-width: 768px) {
    .mix-live-content {
        padding: 2rem 1rem;
    }

    .mix-live-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .available-platforms {
        margin-left: 0;
    }

    .platform-icons {
        flex-wrap: wrap;
    }

    .trailer-videos {
        flex-wrap: wrap; /* permite quebrar linha em mobile */
        justify-content: center; /* centraliza cards em mobile */
    }

    /* No mobile, o primeiro vídeo também pode ser centralizado */
    .trailer-section > .container > .trailer-videos:first-of-type {
        justify-content: center;
    }

    .video-card {
        width: 360px; /* mantém largura fixa aumentada */
        height: 270px; /* mantém altura fixa aumentada */
        max-width: 100%; /* permite ajuste em telas muito pequenas */
    }

    /* About Section - Responsivo */
    .about-container-1 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-grid-right {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-container-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-info-left {
        min-width: auto;
    }

    .about-screenshots {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .about-screenshots {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .about-description {
        padding: 1.5rem;
    }
}


