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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

header {
    background: linear-gradient(135deg, #2196F3, #21CBF3);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

section {
    background: white;
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h2 {
    color: #2196F3;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.test-results {
    display: grid;
    gap: 1rem;
}

.test-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e0e0e0;
}

.test-label {
    font-weight: 600;
    color: #555;
}

.test-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.test-status.pass {
    background: #4CAF50;
    color: white;
}

.test-status.fail {
    background: #f44336;
    color: white;
}

.test-status.waiting {
    background: #FF9800;
    color: white;
}

.test-status.info {
    background: #2196F3;
    color: white;
}

#install-buttons {
    text-align: center;
}

#install-button {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

#install-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

#install-button:active {
    transform: translateY(0);
}

#ios-install-instructions {
    background: #e3f2fd;
    border: 1px solid #2196F3;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

#ios-install-instructions p {
    margin-bottom: 0.5rem;
}

#unsupported-message {
    background: #fff3e0;
    border: 1px solid #FF9800;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
    text-align: center;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
}

#network-status {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

#online-status.offline {
    color: #f44336;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    section {
        padding: 1.5rem;
    }

    .test-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .image-gallery {
        grid-template-columns: 1fr;
    }
}