:root {
    --text-muted: #94a3b8;
}

body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

/* Header Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background-color: #1a1a1e;
    border-bottom: 1px solid #2c2c2e;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #007aff;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: #ffffff;
}

.brand-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.nav-btn {
    background-color: #25d366;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: bold;
    transition: background 0.2s ease;
}

.nav-btn:hover {
    background-color: #1da851;
}

/* Main Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Trust Bar */
.trust-bar {
    display: flex;
    justify-content: space-around;
    background: #1c1c1e;
    border: 1px solid #2c2c2e;
    padding: 12px 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-item {
    font-size: 0.85rem;
    color: #007aff;
    font-weight: bold;
}

/* Game Cards Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

.game-card {
    background: #1c1c1e;
    border: 1px solid #2c2c2e;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #007aff;
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
}

.game-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.game-details {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.game-details h3 {
    margin: 8px 0;
    font-size: 1.1rem;
}

.game-details p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.category-tag {
    color: #ff9500;
    font-size: 0.8rem;
    font-weight: bold;
}

.card-action {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
}

.price {
    font-weight: bold;
    color: #ffffff;
    font-size: 1.1rem;
}

.btn-download {
    background: #25d366;
    color: #fff;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: bold;
}

.btn-download:hover {
    background: #1da851;
}

.footer-note {
    text-align: center;
    margin-top: 30px;
    color: var(--text-muted);
    font-size: 0.85rem;
}
:root {
    --text-muted: #94a3b8;
}

body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

/* Header Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background-color: #1a1a1e;
    border-bottom: 1px solid #2c2c2e;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #007aff;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: #ffffff;
}

.brand-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.nav-btn {
    background-color: #25d366;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: bold;
    transition: background 0.2s ease;
}

.nav-btn:hover {
    background-color: #1da851;
}

/* Main Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Trust Bar */
.trust-bar {
    display: flex;
    justify-content: space-around;
    background: #1c1c1e;
    border: 1px solid #2c2c2e;
    padding: 12px 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-item {
    font-size: 0.85rem;
    color: #007aff;
    font-weight: bold;
}

/* Game Cards Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

.game-card {
    background: #1c1c1e;
    border: 1px solid #2c2c2e;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #007aff;
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
}

.game-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.game-details {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.game-details h3 {
    margin: 8px 0;
    font-size: 1.1rem;
}

.game-details p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.category-tag {
    color: #ff9500;
    font-size: 0.8rem;
    font-weight: bold;
}

.card-action {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
}

.price {
    font-weight: bold;
    color: #ffffff;
    font-size: 1.1rem;
}

.btn-download {
    background: #25d366;
    color: #fff;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: bold;
}

.btn-download:hover {
    background: #1da851;
}

.footer-note {
    text-align: center;
    margin-top: 30px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Additional Button & Modal Styles for Details Popup */
.action-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-details {
    background: #2c2c2e;
    color: #ffffff;
    border: 1px solid #3a3a3c;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-details:hover {
    background: #3a3a3c;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #1c1c1e;
    border: 1px solid #2c2c2e;
    border-radius: 12px;
    padding: 20px;
    max-width: 520px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    color: #ffffff;
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.close-modal:hover {
    color: #ffffff;
}

.req-box {
    background: #121212;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #cbd5e1;
    margin: 12px 0;
    border-left: 3px solid #007aff;
}

.gallery-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 8px 0;
}

.gallery-grid img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #2c2c2e;
}