/* Game Cards */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 2rem;
}

.game-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.game-card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-card-image img {
    transform: scale(1.05);
}

.game-card-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.game-card-tag.free {
    background-color: var(--secondary-color);
}

.game-card-tag.paid {
    background-color: var(--accent-color);
}

.game-card-content {
    padding: 15px;
}

.game-card-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.game-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--gray-color);
}

.game-card-content p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.4;
}

.game-card-actions {
    display: flex;
    gap: 10px;
}

/* Featured Game */
.featured-game {
    padding: 3rem 0;
}

.game-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.game-image {
    height: 100%;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-details {
    padding: 2rem;
}

.game-details h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.game-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.game-info span {
    display: flex;
    align-items: center;
}

.game-info i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.game-description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.game-actions {
    display: flex;
    gap: 1rem;
}

/* Game Detail Page */
.game-detail-wrapper {
    background-color: #f9f9f9;
}

.game-hero {
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    position: relative;
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../images/hero-bg.jpg');
}


.game-hero-content {
    position: relative;
    color: white;
    max-width: 800px;
}

.game-hero-content h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.game-detail {
    padding: 3rem 0;
}

.game-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.game-main-info {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.game-screenshots {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.game-screenshots h2 {
    margin-bottom: 1.5rem;
}

.screenshot-slider {
    position: relative;
}

.screenshot {
    margin-bottom: 1rem;
}

.screenshot img {
    //width: 400px;
    border-radius: var(--border-radius);
}

.screenshot-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
}

.nav-dot.active {
    background-color: var(--primary-color);
}

.game-description {
    padding: 2rem;
}

.game-description h2, .game-description h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.game-description ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.system-requirements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.system-requirements h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.system-requirements ul {
    list-style: none;
    margin-left: 0;
}

.system-requirements li {
    margin-bottom: 0.5rem;
}

.game-sidebar > div {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.download-card {
    text-align: center;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.download-btn {
    margin-bottom: 1rem;
}

.download-info {
    text-align: left;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.info-item i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.developer {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.developer-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.developer-name {
    font-weight: 600;
}

.developer-games span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.developer-games ul {
    border-top: 1px solid var(--border-color);
    padding-top: 0.5rem;
}

.developer-games li {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Game Reviews */
.game-reviews {
    padding: 3rem 0;
    background-color: var(--gray-light);
}

.review-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.review-average {
    text-align: center;
}

.score {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stars {
    color: #f39c12;
    margin: 0.5rem 0;
}

.review-count {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.review-bars {
    display: flex;
    flex-direction: column;
}

.review-bar {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-bar .stars {
    width: 40px;
    text-align: left;
    margin: 0;
}

.bar-container {
    flex: 1;
    height: 10px;
    background-color: var(--gray-light);
    border-radius: 5px;
    margin: 0 10px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background-color: var(--primary-color);
}

.percent {
    width: 40px;
    text-align: right;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.user-reviews {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.user {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.user-name {
    font-weight: 600;
}

.review-date {
    font-size: 0.85rem;
    color: var(--gray-color);
}

.user-rating {
    color: #f39c12;
}

.more-reviews {
    text-align: center;
    margin-top: 1rem;
}

/* Related Games */
.related-games {
    padding: 3rem 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
}

.pagination-item:hover,
.pagination-item.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
} 