body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #121212;
    color: #e0e0e0;
}

.top-bar {
    position: relative;
    background: #1e1e1e;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.nav-links a:hover {
    color: #f39c12;
    text-decoration: underline;
}

.right-buttons {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 12px;
}

.social-button {
    display: inline-block;
}

.social-icon {
    width: 28px;
    height: 28px;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.2);
    filter: brightness(1.2);
}

.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 15px;
}

.item-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.item-card {
    background: #1e1e1e;
    color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    width: 220px;
    padding: 16px;
    box-sizing: border-box;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.3s;
}

.item-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.1);
}

.item-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
}

.item-card h3 {
    margin-top: 10px;
    font-size: 16px;
}

.item-card p {
    font-size: 16px;
    margin: 6px 0;
}

.in-stock {
    color: #27ae60;
    font-weight: bold;
}

.out-stock {
    color: #e74c3c;
    font-weight: bold;
}

.hero-section {
    background: linear-gradient(to right, #2c3e50, #34495e);
    color: white;
    padding: 40px 15px;
    text-align: center;
}

.hero-section h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.hero-section p {
    font-size: 16px;
}

.game-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
}

.game-card {
    text-decoration: none;
    color: #ffffff;
    width: 200px;
    transition: transform 0.2s, box-shadow 0.3s;
}

.game-card-inner {
    position: relative;
    background: #1e1e1e;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
    transition: transform 0.2s, box-shadow 0.3s;
    text-align: center;
}

.game-card-inner:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.game-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.game-card h3 {
    font-size: 16px;
    margin: 0;
}

.trending-stamp,
.best-selling-stamp {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    font-weight: bold;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    pointer-events: none;
    user-select: none;
    font-family: 'Arial', sans-serif;
}

.best-selling-stamp {
    background: #f39c12;
}

.vouches-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 25px;
    background: #1a1a1a;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.vouches-section h2 {
    margin-bottom: 16px;
    font-size: 22px;
    color: white;
}

.vouches-carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 16px;
}

.vouches-carousel {
    display: flex;
    gap: 16px;
    animation: scroll-left 30s linear infinite;
}

.vouches-carousel img {
    width: 180px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 99;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
}

/* Responsive font scaling */
@media (min-width: 1024px) {
    .top-bar {
        padding: 12px 60px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .item-card, .game-card {
        width: 180px;
    }

    .item-card p, .item-card h3, .game-card h3 {
        font-size: 14px;
    }
}
