/* Cart Icon in Navbar */
.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: #ff2d2d;
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Store Main Container */
.store-container {
    padding: 130px 5% 60px; /* Switched fixed 80px side padding to 5% */
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Section */
.store-hero {
    display: flex;
    gap: 30px;
    height: 400px;
    max-width: 1060px; /* Matched to discover section */
    margin: 0 auto 80px; /* Centers the hero and keeps the bottom gap */
}

/* Main Feature Banner */
.feature-banner {
    flex: 3;
    position: relative;
    background-color: #1a1a1a; 
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
}

.feature-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Gradient to make text readable over the image */
.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    z-index: 2;
}

.feature-content {
    position: relative;
    z-index: 3;
    max-width: 320px;
    color: #fff;
}

.feature-content h2 {
    font-size: 32px;
    margin: 0 0 10px;
    line-height: 1.1;
    letter-spacing: 2px;
    font-family: serif; 
}

.release-date {
    font-size: 11px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    margin: 30px 0 10px;
    letter-spacing: 1px;
}

.desc {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
}

.add-to-cart-btn {
    background: white;
    color: black;
    border: none;
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #e0e0e0;
}

/* Right Sidebar Mini Games */
.sidebar-games {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

.side-game {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.side-game:hover {
    background: rgba(255, 255, 255, 0.1);
}

.side-game.active {
    background: rgba(255, 255, 255, 0.15);
}

.side-game img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.side-game span {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    line-height: 1.3;
}

/* Discover Section */
.discover-section {
    max-width: 1060px; 
    margin: 0 auto;
}

.section-header h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.section-header .arrow {
    font-size: 20px;
    color: #ff2d2d;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 45px;
    row-gap: 50px;
}

.game-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.game-card h4 {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

.game-card p {
    margin: 0;
    font-size: 13px;
    color: #a0a0a0;
    font-weight: bold;
}
