:root {
    --bg-deep: #020202;
    --card-base: #080808;
    --accent-red: #e61919;
    --accent-glow: rgba(230, 25, 25, 0.4);
    --text-main: #ffffff;
    --text-sub: rgba(255, 255, 255, 0.6);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gaming-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(283px, 1fr));
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    justify-items: center;
    transition: var(--transition-smooth);
    margin: 0 auto;
}

.gaming-card {
    position: relative;
    width: 283px;
    height: 315px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.card-bg-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.card-bg-svg path {
    fill: var(--card-base);
    stroke: #1a1a1a;
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
    transition: var(--transition-smooth);
}

.gaming-card:hover {
    transform: translateY(-12px);
}

.gaming-card:hover .card-bg-svg path {
    stroke: var(--accent-red);
}

.card-content {
    position: relative;
    z-index: 1;
    padding: 25px 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--accent-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    box-shadow: 0 8px 15px rgba(230, 25, 25, 0.3);
    transition: var(--transition-smooth);
}

.gaming-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(8deg);
}

.icon-wrapper svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.card-content h2 {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: -5px;
}

.card-content p {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-sub);
    font-weight: 300;
    flex-grow: 1;
}

.cta-link {
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.cta-link svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 3;
    transition: var(--transition-smooth);
}

.gaming-card:hover .cta-link {
    gap: 18px;
}

/* Carousel Styles */
.carousel-active {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 40px;
    gap: 25px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.carousel-active::-webkit-scrollbar {
    display: none;
}

.carousel-active .gaming-card {
    flex: 0 0 283px;
    scroll-snap-align: center;
}

.carousel-nav {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    user-select: none;
}

.carousel-active + .carousel-nav {
    display: flex;
}

.nav-symbol {
    font-size: 24px;
    color: var(--accent-red);
    font-weight: 900;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 10px;
}

.nav-symbol:hover {
    transform: scale(1.2);
    text-shadow: 0 0 10px var(--accent-glow);
}

.nav-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-red);
    border-radius: 50%;
    display: inline-block;
}
