/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #333; /* Dark background for contrast */
    color: #fff; /* White text for all content */
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section {
    margin-bottom: 40px;
}

/* Left-aligned section headers with white text */
.section-header {
    font-size: 2rem;
    text-align: left; /* Left-aligned */
    margin-bottom: 20px;
    color: #fff; /* White text */
    padding-left: 20px; /* Add some padding for better alignment */
}

/* Centered profile grid */
.profile-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the profiles horizontally */
    gap: 20px;
}

/* Centered profile content */
.profile {
    text-align: center; /* Center the image, name, and role */
    width: 150px;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #007BFF;
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.1);
}

.profile-name {
    font-size: 1.1rem;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #fff; /* White text */
}

.profile-role {
    font-size: 0.9rem;
    color: #bbb; /* Light gray for roles */
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #00ff88;
    border-radius: 10px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #1a1a1a;
    position: relative;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color */
}

.logo a:hover {
    opacity: 0.8; /* Optional: Add hover effect */
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.8rem;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.search-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 400px;
}

.search-bar {
    width: 100%;
    max-width: 350px;
    padding: 14px;
    border-radius: 25px;
    border: 2px solid #444;
    outline: none;
    font-size: 1.2rem;
    background: #111;
    color: white;
    text-align: center;
    transition: 0.3s;
}

.settings-button-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-button {
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-button img {
    width: 24px;
    height: 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

.game-sections {
    padding: 20px;
    max-width: 1400px;
    margin: auto;
}

.game-section {
    margin-bottom: 40px;
}

.game-section h2 {
    text-align: left;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.game-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
}

.game-card {
    width: calc(20% - 12px);
    height: 180px;
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(40%);
    transition: 0.3s;
}

.game-card:hover img {
    filter: brightness(25%);
}

.game-title {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    font-weight: bold;
    font-size: 1.4rem;
}

.play-button {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #00ff88;
    color: black;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
}

.play-button:hover {
    background: #00cc66;
}

.see-more-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
}

.see-more-card .game-title {
    position: static;
    font-size: 1.5rem;
}

.see-more-card .play-button {
    position: static;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .game-card {
        width: calc(50% - 12px);
    }
}

@media (max-width: 480px) {
    .game-card {
        width: 100%;
    }
}

/* General Styles */
body {
    background-color: #0d0d0d;
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #1a1a1a;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.8rem;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}



/* Settings Container */
.settings-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
}

/* Settings Section */
.settings-section {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.settings-section h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #00ff88;
}

.settings-section .description {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
}

/* Input Group */
.input-group {
    display: flex;
    gap: 10px;
}

.input-group input {
    flex: 1;
    padding: 10px;
    border-radius: 25px; /* Rounded corners */
    border: 1px solid #444;
    background: #111;
    color: white;
    font-size: 1rem;
    outline: none;
}

.input-group input::placeholder {
    color: #666;
}

/* Buttons */
.buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.save-button, .reset-button {
    padding: 10px 20px;
    border: none;
    border-radius: 25px; /* Rounded corners */
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.save-button {
    background: #00ff88;
    color: black;
}

.save-button:hover {
    background: #00cc66;
}

.reset-button {
    background: #ff4444;
    color: white;
}

.reset-button:hover {
    background: #cc0000;
}

/* Tab Presets Section */
.preset-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.preset-button {
    display: flex;
    align-items: center;
    background: #333;
    border: none;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.preset-button:hover {
    background: #444;
}

.preset-button img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.preset-button span {
    font-size: 0.9rem;
    color: white;
}

.custom-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #00ff88;
    color: black;
    padding: 10px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.custom-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.custom-popup svg {
    width: 20px;
    height: 20px;
}

.notification-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #FFA500;
    color: black;
    padding: 10px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.notification-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.notification-popup svg {
    width: 20px;
    height: 20px;
}