html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: radial-gradient(circle at top left, #19002C, #37035A);
    background-attachment: fixed;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100%;
    text-align: center;
}

.container {
    flex-grow: 1;
    /* Removed background-color, padding, border-radius, box-shadow */
    max-width: 800px;
    width: 90%;
    margin: 0 auto; /* Center the container horizontally */
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px; /* Reduced margin below the header-logo container */
}

.logo {
    width: 150px;
    height: 150px;
    margin-right: 5px; /* Reduced space between logo and title */
    margin-bottom: 0; /* Reset margin from general .logo rule */
}

.header-logo h1 {
    font-size: 3em;
    margin: 0; /* Ensure no default margins interfere with alignment */
}

p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* Space between cards */
    margin-bottom: 20px;
}

.features h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
    width: 100%; /* Ensure the h2 takes full width to center properly */
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly more opaque for definition */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for cards */
    flex: 1 1 calc(50% - 30px); /* Two cards per row on larger screens */
    min-width: 280px; /* Minimum width for cards */
    text-align: left;
}

.feature-card p {
    font-size: 1em;
    margin: 0; /* Reset margin from general p rule */
}

.feature-card strong {
    color: #FFD700; /* Highlight feature titles */
}

.btn {
    display: inline-block;
    background-color: #fff;
    color: #37035A;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 30px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #eee;
}

.screenshots {
    margin-top: 50px;
    margin-bottom: 50px; /* Added margin-bottom */
}

.screenshots h2 {
    /* Removed h2 styles as the title is removed */
    display: none; /* Hide the h2 element */
}

.screenshot-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.screenshot-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    width: 300px;
    text-align: center;
}

.screenshot-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer; /* Add cursor pointer to indicate clickability */
}

.screenshot-item p {
    font-size: 0.9em;
    color: #ccc;
    margin: 0;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1000px; /* Increased max-width */
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

/* Tips Section */
.tips-section {
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: center; /* Center the heading */
}

.tips-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.tips-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* Space between cards */
    margin-bottom: 20px;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .header-logo h1 {
        font-size: 2.5em;
    }

    p {
        font-size: 1em;
    }

    .feature-card {
        flex: 1 1 100%; /* One card per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .header-logo h1 {
        font-size: 2em;
    }

    .logo {
        width: 100px;
        height: 100px;
    }
}

.footer {
    margin-top: auto; /* Pushes the footer to the bottom */
    padding: 20px;
    font-size: 0.9em;
}

.footer a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #fff;
}

.footer a:hover {
    border-bottom: 2px solid #fff;
}