body {
    margin: 0;
    font-family: 'Motiva Sans', sans-serif;
    background-color: #1b2838; /* Steam dark blue */
    color: #c7d5e0; /* Light grey/blue text */
    font-size: 14px;
}

a {
    color: #66c0f4; /* Steam light blue */
    text-decoration: none;
}

a:hover {
    color: #ffffff;
}

.container {
    width: 940px; /* Standard Steam content width */
    margin: 0 auto;
    padding: 0 10px;
}

/* Header */
header {
    background-color: #171a21; /* Slightly darker header */
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-nav {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    margin-right: 30px;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header nav li {
    margin-right: 20px;
}

header nav a {
    text-transform: uppercase;
    font-size: 14px;
    color: #b8b6b4; /* Greyish nav text */
    padding-bottom: 5px;
}

header nav a.active, header nav a:hover {
    color: #ffffff;
    border-bottom: 2px solid #66c0f4;
}

.header-actions {
    display: flex;
    align-items: center;
    color: #b8b6b4;
    font-size: 12px;
}

.header-actions a {
    color: #b8b6b4;
    margin-left: 10px;
}
.header-actions a:hover {
     color: #ffffff;
}

.install-steam {
    background-color: #5c7e10; /* Steam green */
    color: #e5e4dc !important;
    padding: 5px 10px;
    border-radius: 2px;
    margin-right: 15px;
    font-weight: bold;
}
.install-steam:hover {
    background-color: #759d14;
}


/* Main Content */
main {
    padding: 30px 0;
}

.hero {
    background: linear-gradient(rgba(27, 40, 56, 0.8), rgba(27, 40, 56, 0.8)), url('hero_background.png') no-repeat center center;
    background-size: cover;
    padding: 40px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 40px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.hero h1 {
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 700;
}

.hero h2 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #c7d5e0;
    font-weight: 400;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.search-box input[type="search"] {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid #0e141b;
    border-radius: 3px 0 0 3px;
    background-color: #2a3f5a;
    color: #ffffff;
    font-size: 16px;
    outline: none;
}
.search-box input[type="search"]::placeholder {
    color: #8f98a0;
}

.search-box button {
    padding: 10px 20px;
    border: none;
    background: linear-gradient(to bottom, #67c1f5 5%, #4188ab 95%);
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 0 3px 3px 0;
    font-weight: bold;
}
.search-box button:hover {
    background: linear-gradient(to bottom, #78d4ff 5%, #4c9bc9 95%);
}


.common-issues h2, .sign-in-help h2 {
    font-size: 24px;
    color: #ffffff;
    border-bottom: 1px solid #3a4e66;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 400;
}

.issue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.issue-card {
    background-color: #2a3f5a; /* Slightly lighter blue */
    padding: 20px;
    border-radius: 3px;
    transition: background-color 0.2s ease;
    display: block; /* Make whole card clickable */
    color: #c7d5e0;
}

.issue-card:hover {
    background-color: #3a4e66;
    color: #ffffff;
}

.issue-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: #ffffff;
}

.issue-card p {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.5;
}

.sign-in-help {
    background-color: #202d3e;
    padding: 30px;
    border-radius: 3px;
    text-align: center;
}

.sign-in-help p {
    margin-bottom: 25px;
    font-size: 16px;
}

.sign-in-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin: 0 10px;
}

.btn-primary {
    background: linear-gradient(to bottom, #799905 5%, #5c7e10 95%);
    color: #d2ff4d;
    border: 1px solid #435c0b;
    box-shadow: 0 0 5px rgba(121, 153, 5, 0.5);
}
.btn-primary:hover {
    background: linear-gradient(to bottom, #8ab405 5%, #6c9112 95%);
}


.btn-secondary {
    background: linear-gradient(to bottom, #4f5153 5%, #3b3d3f 95%);
    color: #cccccc;
    border: 1px solid #1e1f20;
}
.btn-secondary:hover {
    background: linear-gradient(to bottom, #606365 5%, #46494b 95%);
}


/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #171a21;
    padding: 30px 40px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    width: 350px;
    position: relative;
    color: #c7d5e0;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #8f98a0;
    cursor: pointer;
    line-height: 1;
}
.close-modal:hover {
    color: #ffffff;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 25px;
    text-align: center;
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    color: #8f98a0;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 10px;
    background-color: #2a3f5a;
    border: 1px solid #0e141b;
    border-radius: 3px;
    color: #ffffff;
    font-size: 14px;
    box-sizing: border-box; /* Include padding in width */
}

.modal-login-btn {
    width: 100%;
    padding: 12px 20px;
    margin-top: 10px;
    font-size: 16px;
}

.modal-help {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
}
.modal-help a {
    color: #8f98a0;
}
.modal-help a:hover {
    color: #ffffff;
}


/* Logged In State */
.logged-in-user {
    color: #66c0f4; /* Steam light blue for username */
    font-weight: bold;
    margin-right: 10px;
}

.logout-link {
    color: #b8b6b4;
    cursor: pointer;
}
.logout-link:hover {
    color: #ffffff;
}


/* Footer */
footer {
    background-color: #171a21;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid #000;
    color: #8f98a0; /* Footer grey text */
    font-size: 12px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* For absolute positioning of Valve logo */
}

.footer-logo img {
    height: 30px;
    opacity: 0.5;
    margin-right: 20px;
}

.footer-text {
    flex-grow: 1;
    line-height: 1.6;
    margin-right: 20px;
}
.footer-text a {
    color: #8f98a0;
}
.footer-text a:hover {
    color: #ffffff;
}

.footer-links a {
     color: #8f98a0;
     margin: 0 5px;
}
.footer-links a:hover {
    color: #ffffff;
}

.valve-logo {
    position: absolute;
    right: 10px;
    bottom: 0; /* Adjust as needed */
}

.valve-logo img {
    height: 30px;
    opacity: 0.5;
}