
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}


/* General Page Styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1f1f1f;
    padding: 15px 30px;
}

.logo {
    font-size: 30px;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    color: #38bdf8;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;            /* THIS makes it horizontal */
    gap: 20px;                /* space between links */
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
}


nav ul li a:hover {
    color: #38bdf8;
    text-shadow: 0 0 8px #38bdf8;
}

/* Top Internal Links */
.top-links {
    text-align: center;
    padding: 15px;
    background-color: #181818;
}

.top-links a {
    color: #00aaff;
    text-decoration: none;
}

.top-links a:hover {
    text-decoration: underline;
}

/* Hero */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(to right, #1e3c72, #2a5298);
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 25px;
}

/* Buttons */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}


.small-btn {
    padding: 10px 18px;
}

.secondary-btn {
    background-color: #555;
}

.secondary-btn:hover {
    background-color: #444;
}

/* Page Banner */
.page-banner {
    text-align: center;
    padding: 60px 20px;
    background-color: #1d3f72;
}

/* Featured Section */
.featured {
    text-align: center;
    padding: 50px 20px;
}

.game-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.game-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    padding: 20px;
    width: 240px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transition: transform 0.2s ease;
}

.game-card:hover {
    transform: scale(1.05);
}

.game-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
}

.game-card h3 {
    margin-top: 15px;
}

/* CTA */
.cta {
    text-align: center;
    padding: 60px 20px;
    background-color: #2a2a2a;
}

/* Content Sections */
.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-section a {
    color: #00aaff;
}

.content-section ul,
.content-section ol,
.content-section dl {
    margin-left: 20px;
}

/* Forms */
.form-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}

form {
    background-color: #1f1f1f;
    padding: 25px;
    border-radius: 10px;
}

label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
}

input[type="radio"],
input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

input[type="submit"],
input[type="reset"] {
    margin-top: 20px;
    margin-right: 10px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #1f1f1f;
    font-size: 14px;
    margin-top: 40px;
}

/* Responsive Design */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #0f172a, #1e293b);
    padding: 15px 30px;
}



 .hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(to right, #0ea5e9, #9333ea);
}

    .game-container {
        flex-direction: column;
        align-items: center;
    }

    .game-card {
        width: 90%;
    }
}


