* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0b1129;
    /* Dark background to complement the mockup */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.page-container {
    width: 100%;
    max-width: 1178px;
    background: #fff;
    /* Remove any white space between images */
    font-size: 0;
}

.row {
    width: 100%;
    margin: 0;
    padding: 0;
}

.row img {
    width: 100%;
    display: block;
    border: none;
}

/* Floating Download Buttons Overlay */
.row-with-buttons {
    position: relative;
    width: 100%;
}

.button-overlay {
    position: absolute;
    top: 50%;
    /* Positioned within the blue field area of Row 1 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    z-index: 10;
}

.btn-item {
    display: block;
    width: 280px;
    /* Refined width to match the red boxes */
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-item:hover {
    transform: scale(1.05);
}

.btn-item img {
    width: 100%;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

/* Fixed Bottom Navigation Bar */
.fixed-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    /* Matching the black bar in screenshot */
    padding: 10px 0 20px 0;
    z-index: 1000;
}

.nav-btn-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1178px;
    margin: 0 auto;
    padding: 0 40px;
}

.nav-btn-item {
    position: relative;
    flex: 1;
}

.nav-link {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 38px;
    font-weight: 600;
}

.play-btn .nav-link {
    background: #1a82ff;
}

.download-btn .nav-link {
    background: #fca511;
}

.nav-tooltip {
    position: absolute;
    top: -65px;
    left: 15px;
    background: #e44d3a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 500;
    white-space: nowrap;
    animation: tooltip-float 2s ease-in-out infinite;
}

/* Tooltip animation: subtle float and scaling pulse */
@keyframes tooltip-float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

/* Tooltip tail */
.nav-tooltip::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #e44d3a;
}

/* Responsive Scaling */
@media (max-width: 1178px) {
    .page-container {
        width: 100%;
    }

    /* Fixed Bottom Nav Adaptation */
    .fixed-bottom-nav {
        padding: 5px 0 10px 0;
    }

    .nav-btn-container {
        padding: 0 10px;
        gap: 15px;
    }

    .nav-link {
        height: 60px;
        font-size: 20px;
        border-radius: 10px;
    }

    .nav-tooltip {
        top: -45px;
        left: 5px;
        padding: 5px 12px;
        font-size: 14px;
        border-radius: 6px;
    }

    .nav-tooltip::after {
        bottom: -6px;
        left: 10px;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #e44d3a;
    }

    /* Floating Overlay Adaptation */
    .button-overlay {
        gap: 15px;
    }

    .btn-item {
        width: 40%;
        /* Scale relative to mobile screen */
    }
}

@media (max-width: 480px) {
    .nav-link {
        height: 45px;
        font-size: 16px;
    }

    .nav-tooltip {
        font-size: 11px;
        top: -32px;
        left: 2px;
    }

    .button-overlay {
        gap: 8px;
    }

    .btn-item {
        width: 42%;
    }
}