/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #07090e;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

/* App Container limiting max width to simulate mobile phone on all devices */
.app-container {
    width: 100%;
    max-width: 480px;
    /* Force mobile width */
    min-height: 100vh;
    background-color: #0d0f14;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 100px;
    /* Reserved space so fixed bottom button doesn't block the last banner */
}

/* Wrapper for sequential banner stack */
.mobile-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Link wrapper for banners */
.banner-link {
    display: block;
    width: 100%;
    text-decoration: none;
    border: none;
    outline: none;
}

/* Banner image formatting for seamless vertical stacking */
.banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Fixed Bottom Button Container */
.bottom-btn-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 480px;
    padding: 16px;
    background: linear-gradient(to top, rgba(7, 9, 14, 0.98) 60%, rgba(7, 9, 14, 0) 100%);
    z-index: 1000;
}

.bottom-btn-link {
    display: block;
    width: 100%;
    text-decoration: none;
    border: none;
    outline: none;
    transition: transform 0.15s ease;
}

.bottom-btn-link:hover {
    transform: scale(1.02);
}

.bottom-btn-link:active {
    transform: scale(0.98);
}

.bottom-btn-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Optimize style for mobile screens <= 480px */
@media (max-width: 480px) {
    .app-container {
        box-shadow: none;
    }
}