body {
    background-color: #0D0F14;
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    .site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #171A21;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

.main-nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #8A5CF6;
}

.header-actions button {
    background-color: #8A5CF6;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
}
.hero {
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    color: #A0A0A0;
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary {
    background-color: #8A5CF6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
    background-color: #7A4CE0;
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid #444;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}
.games-section {
    padding: 40px 30px;
}

.games-section h2 {
    margin-bottom: 20px;
}

.games-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.game-card {
    background-color: #171A21;
    border-radius: 10px;
    overflow: hidden;
    width: 220px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.game-thumb {
    background-color: #232733;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.game-info {
    padding: 12px;
}

.game-info h3 {
    margin: 0 0 6px 0;
    font-size: 16px;
}

.game-author {
    color: #A0A0A0;
    font-size: 13px;
    margin: 0 0 8px 0;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    color: #A0A0A0;
    font-size: 13px;
}
.games-page-header {
    padding: 40px 30px 20px;
}

.search-bar {
    width: 100%;
    max-width: 400px;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #444;
    background-color: #171A21;
    color: white;
    margin: 15px 0;
    display: block;
}

.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.filter-btn {
    background-color: #171A21;
    color: #A0A0A0;
    border: 1px solid #444;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
}

.filter-btn.active {
    background-color: #8A5CF6;
    color: white;
    border-color: #8A5CF6;
}
.game-detail {
    display: flex;
    gap: 30px;
    padding: 40px 30px;
}

.game-detail-thumb {
    background-color: #171A21;
    width: 280px;
    height: 280px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    flex-shrink: 0;
}

.game-detail-info h1 {
    margin: 0 0 10px 0;
}

.game-detail-info .game-stats {
    margin-bottom: 20px;
    font-size: 16px;
}

.game-detail-info .btn-primary {
    display: block;
    margin-bottom: 20px;
}

.game-description {
    color: #A0A0A0;
    max-width: 500px;
    line-height: 1.5;
}
.game-detail {
    display: flex;
    gap: 30px;
    padding: 40px 30px;
}

.game-detail-thumb {
    background-color: #171A21;
    width: 280px;
    height: 280px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    flex-shrink: 0;
}

.game-detail-info h1 {
    margin: 0 0 10px 0;
}

.game-detail-info .game-stats {
    margin-bottom: 20px;
    font-size: 16px;
}

.game-detail-info .btn-primary {
    display: block;
    margin-bottom: 20px;
}

.game-description {
    color: #A0A0A0;
    max-width: 500px;
    line-height: 1.5;
}
.game-detail {
    display: flex;
    gap: 30px;
    padding: 40px 30px;
}

.game-detail-thumb {
    background-color: #171A21;
    width: 280px;
    height: 280px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    flex-shrink: 0;
}

.game-detail-info h1 {
    margin: 0 0 10px 0;
}

.game-detail-info .game-stats {
    margin-bottom: 20px;
    font-size: 16px;
}

.game-detail-info .btn-primary {
    display: block;
    margin-bottom: 20px;
}

.game-description {
    color: #A0A0A0;
    max-width: 500px;
    line-height: 1.5;
}
.game-detail {
    display: flex;
    gap: 30px;
    padding: 40px 30px;
}

.game-detail-thumb {
    background-color: #171A21;
    width: 280px;
    height: 280px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    flex-shrink: 0;
}

.game-detail-info h1 {
    margin: 0 0 10px 0;
}

.game-detail-info .game-stats {
    margin-bottom: 20px;
    font-size: 16px;
}

.game-detail-info .btn-primary {
    display: block;
    margin-bottom: 20px;
}

.game-description {
    color: #A0A0A0;
    max-width: 500px;
    line-height: 1.5;
}

.game-tags {
    color: #8A5CF6;
    margin-bottom: 20px;
}
.game-card-link {
    text-decoration: none;
    color: inherit;
}
.sort-select {
    background-color: #171A21;
    color: white;
    border: 1px solid #444;
    padding: 8px 14px;
    border-radius: 6px;
    margin-top: 15px;
    cursor: pointer;
}
.auth-form {
    max-width: 360px;
    margin: 60px auto;
    padding: 30px;
    background-color: #171A21;
    border-radius: 10px;
    text-align: center;
}

.auth-form h1 {
    margin-bottom: 20px;
    font-size: 22px;
}

.auth-form input {
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 12px;
    border-radius: 6px;
    border: 1px solid #444;
    background-color: #0D0F14;
    color: white;
    box-sizing: border-box;
}

.auth-form .btn-primary {
    width: 100%;
    margin-top: 8px;
}

.auth-switch {
    margin-top: 16px;
    color: #A0A0A0;
    font-size: 14px;
}

.auth-switch a {
    color: #8A5CF6;
}
.rating-widget {
    margin: 15px 0;
    font-size: 28px;
}

.rating-widget .star {
    cursor: pointer;
    color: #444;
}

.rating-widget .star.filled {
    color: #FFD700;
}
.comments-section {
    margin-top: 30px;
    max-width: 500px;
}

.comments-section h2 {
    font-size: 18px;
    margin-bottom: 15px;
}

.comment {
    background-color: #171A21;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: bold;
    margin: 0 0 4px 0;
    font-size: 14px;
}

.comment-text {
    color: #A0A0A0;
    margin: 0;
    font-size: 14px;
}

}
.hamburger-btn {
    display: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid #8A5CF6;
    outline-offset: 2px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.logo {
    text-decoration: none;
    color: white;
}