body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #f8f9fa;
    color: #343a40;
    line-height: 1.6;
}

code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styling */
header {
    background-color: #007bff;
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2.8em;
}

.tagline {
    font-size: 1.1em;
    margin-top: 5px;
    opacity: 0.9;
}

header nav {
    margin-top: 15px;
}

header nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #cfe2ff;
}

/* Main Content Section Styling */
section {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

section h2 {
    color: #007bff;
    text-align: center;
    margin-bottom: 25px;
    font-size: 2em;
}

.icon {
    text-align: center;
}

.icon-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.instruction-content {
    display: flex;
    flex-wrap: wrap;
    /* Allows content to wrap on smaller screens */
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.instruction-text {
    flex: 1;
    min-width: 200px;
    /* Ensures text block doesn't get too small */
}

.video-container {
    flex: 2;
    min-width: 300px;
    /* Ensures video block doesn't get too small */
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
    justify-items: center;
}

.image-gallery img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.store-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.store-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 200px;
    /* Ensure buttons are wide enough */
    text-align: center;
}

.store-button.chrome {
    background-color: #4285F4;
    /* Google Chrome blue */
}

.store-button.chrome:hover {
    background-color: #357ae8;
    transform: translateY(-2px);
}

.store-button.edge {
    background-color: #0078D7;
    /* Microsoft Edge blue */
}

.store-button.edge:hover {
    background-color: #0063b1;
    transform: translateY(-2px);
}

.store-button.firefox {
    background-color: #FF7139;
    /* Firefox orange */
}

.store-button.firefox:hover {
    background-color: #e6521a;
    transform: translateY(-2px);
}

.coming-soon {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: #6c757d;
}

/* Footer Styling */
footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.9em;
}

footer a {
    color: #cfe2ff;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .instruction-content {
        flex-direction: column;
    }

    .video-container {
        padding-bottom: 75%;
        /* Adjust aspect ratio for better viewing on smaller screens if needed */
    }

    .image-gallery {
        grid-template-columns: 1fr;
        /* Stack images on small screens */
    }

    .store-button {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}