/* Base Styles */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    overflow-x: hidden;
    color: #e50914; /* Netflix red */
    text-transform: uppercase;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.content-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
header {
    background-color: rgba(0, 0, 0, 0.8);
    color: #e50914;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

header h1 {
    margin: 0;
    font-size: clamp(2rem, 8vw, 4rem);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.container h2 {
    color: #e50914;
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(1.8rem, 6vw, 3rem);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* App Grid - Centered */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}

/* App Items */
.app-item {
    background: rgba(20, 20, 20, 0.9);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 180px;
    backdrop-filter: blur(5px);
    border: 1px solid #333;
}

.app-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(229, 9, 20, 0.3);
    border-color: #e50914;
}

.app-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0.5rem 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.app-icon:hover {
    transform: scale(1.1);
}

.app-name {
    font-weight: normal;
    margin: 1rem 0;
    color: #fff;
    font-size: 1.5rem;
    letter-spacing: 1.5px;
}

.app-version {
    color: #aaa;
    font-size: 1rem;
    margin-top: auto;
    letter-spacing: 1px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .app-item {
        width: 160px;
        padding: 1.2rem;
    }
    
    .app-icon {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .app-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .app-item {
        width: 200px;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
}