/* === Modern Reset & Base Styles === */
*, *::before, *::after {
    box-sizing: border-box;
}

body, h1, h2, h3, p, ul, li {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    background-color: #f0f2f5; /* Slightly different light gray */
    color: #1c1e21; /* Darker text color (like Facebook's) */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === Layout === */
.container {
    width: 90%;
    max-width: 1100px; /* Slightly narrower max-width */
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

/* === Header === */
header {
    background: linear-gradient(90deg, rgba(58, 123, 213, 1) 0%, rgba(0, 212, 255, 1) 100%); /* Gradient background */
    color: #ffffff;
    padding: 2rem 0; /* Increased padding */
    text-align: center;
    margin-bottom: 3rem; /* Increased margin */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.8rem;
    font-weight: 600; /* Slightly bolder */
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* === Main Content Area === */
main {
    background-color: #ffffff;
    padding: 2.5rem; /* Increased padding */
    border-radius: 12px; /* More rounded corners */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem; /* Added margin for spacing before footer */
}

main h2 {
    color: #1877f2; /* Facebook blue */
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.8rem;
}

main h3 {
    color: #606770; /* Medium gray */
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e4e6eb; /* Lighter border */
    padding-bottom: 0.6rem;
    font-weight: 500;
    font-size: 1.4rem;
}

/* === Game List === */
.game-list li {
    margin-bottom: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px dashed #e4e6eb; /* Dashed separator */
}

.game-list li:last-child {
    border-bottom: none; /* Remove border from last item */
}

.game-list a {
    text-decoration: none;
    color: #0a58ca; /* Slightly different blue */
    font-size: 1.15rem;
    font-weight: 500;
    transition: color 0.2s ease-in-out, padding-left 0.2s ease-in-out;
}

.game-list a:hover {
    color: #064196; /* Darker blue on hover */
    padding-left: 5px; /* Slight indent on hover */
    text-decoration: none; /* Keep underline off */
}

/* === Upload Link/Button === */
.upload-link {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.9rem 1.8rem;
    background-image: linear-gradient(to right, #43A047, #2E7D32); /* Green gradient */
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.upload-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    background-image: linear-gradient(to right, #388E3C, #1B5E20); /* Darker green gradient */
}

/* === Footer === */
footer {
    text-align: center;
    margin-top: 0; /* Removed top margin, handled by main's bottom margin */
    padding: 2rem 0; /* Increased padding */
    color: #606770; /* Medium gray */
    font-size: 0.95em;
    background-color: #e4e6eb; /* Light gray background for footer */
    border-top: none; /* Removed top border */
}

footer .container {
    padding: 0 1rem;
}

footer a {
    color: #1877f2; /* Facebook blue */
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

footer a:hover {
    text-decoration: underline;
}

/* === Responsive Design Adjustments === */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }
    main {
        padding: 2rem;
    }
    .upload-link {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    main h2 {
        font-size: 1.6rem;
    }
    main h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    header {
        padding: 1.5rem 0;
        margin-bottom: 2rem;
    }
    header h1 {
        font-size: 1.9rem;
    }
    main {
        padding: 1.5rem;
        border-radius: 8px;
    }
    .container {
        width: 95%;
        padding: 0 0.5rem;
    }
    footer {
        padding: 1.5rem 0;
        font-size: 0.9em;
    }
} 