* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    padding: 20px 40px;
    display: flex;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.top-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    margin-left: 20px;
    border-bottom: 2px solid #333;
    padding-bottom: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.app-info {
    width: 300px;
    text-align: center;
}

.app-icon img {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.app-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

/* Slider Styles */
.slider-container {
    width: 100%;
    max-width: 800px;
    position: relative;
    overflow: visible;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    display: flex; /* Helps container fit child height */
    align-items: flex-start;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 15px;
}

.slide {
    flex: 0 0 calc(33.333% - 10px); /* Show 3 images */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Make nav container same height as slider */
    display: flex;
    align-items: center; /* Center buttons vertically within the full height */
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.slider-nav button {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    transform: translateY(0); /* Reset transform as parent is already centering */
    touch-action: manipulation; /* Disable double-tap to zoom on these buttons */
}

.slider-nav button:hover {
    background: #fff;
}

.slider-nav button.prev {
    margin-left: -20px;
}

.slider-nav button.next {
    margin-right: -20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header {
        padding: 20px;
    }

    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .app-info {
        flex: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .app-name {
        font-size: 1.8rem;
    }

    .slider-container {
        width: 100%;
    }

    .slide {
        flex: 0 0 calc(40% - 10px); /* Show 2.5 images on mobile */
    }

    .slider {
        gap: 10px;
    }

    .slider-nav {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 0 5px;
        align-items: center;
        transform: none;
    }

    .slider-nav button {
        width: 32px;
        height: 32px;
        font-size: 16px;
        background: rgba(255, 255, 255, 0.9);
    }

    .slider-nav button.prev {
        margin-left: 0;
    }

    .slider-nav button.next {
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .slide {
        flex: 0 0 calc(40% - 10px); /* Still 2.5 images */
    }
}
