/* General Body and Container Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #1b2838;
    color: #c7d5e0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    width: 100%;
}

/* Navigation Bar */
.navbar {
    background-color: #171a21;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo h2 {
    color: #66c0f4;
    font-size: 24px;
}

.nav-logo span {
    text-decoration: line-through;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: #c7d5e0;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #66c0f4;
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.nav-actions button {
    background: none;
    border: none;
    color: #c7d5e0;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
}

.nav-actions button:hover {
    color: #66c0f4;
}

.cart-count {
    background-color: #e62e00;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    position: absolute;
    top: -5px;
    right: -10px;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 600px;
    /* Or a suitable height for your hero section */
    overflow: hidden;
    margin-top: 70px;
    /* Adjust based on navbar height */
}

.hero-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    transition: opacity 1s ease-in-out;
    opacity: 0;
}

.slide-item.active {
    opacity: 1;
}

.slide-text {
    max-width: 600px;
    margin-left: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
}

.slide-text h1 {
    font-size: 48px;
    margin-bottom: 10px;
    color: #66c0f4;
}

.slide-text p {
    font-size: 18px;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.buy-now-btn,
.wishlist-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.buy-now-btn {
    background-color: #66c0f4;
    color: white;
}

.buy-now-btn:hover {
    background-color: #4fc3f7;
}

.wishlist-btn {
    background-color: #334756;
    color: #c7d5e0;
    border: 1px solid #66c0f4;
}

.wishlist-btn:hover {
    background-color: #66c0f4;
    color: white;
}

/* Game Description */
.game-description {
    padding: 50px 0;
    background-color: #1a2a3a;
    margin-top: 20px;
    border-radius: 8px;
}

.game-description h2 {
    text-align: center;
    color: #66c0f4;
    margin-bottom: 30px;
    font-size: 32px;
}

.game-description p {
    margin-bottom: 15px;
    text-align: justify;
}

/* System Requirements */
.system-requirements {
    padding: 50px 0;
    background-color: #1a2a3a;
    margin-top: 20px;
    border-radius: 8px;
}

.system-requirements h2 {
    text-align: center;
    color: #66c0f4;
    margin-bottom: 30px;
    font-size: 32px;
}

.requirements-table {
    overflow-x: auto;
}

.requirements-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.requirements-table th,
.requirements-table td {
    padding: 12px 15px;
    border: 1px solid #2a475e;
    text-align: left;
}

.requirements-table th {
    background-color: #2a475e;
    color: #c7d5e0;
    font-weight: bold;
}

.requirements-table tr:nth-child(even) {
    background-color: #1b2838;
}

.requirements-table tr:hover {
    background-color: #2a475e;
}

/* Game Gallery */
.game-gallery {
    padding: 50px 0;
    background-color: #1a2a3a;
    margin-top: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.game-gallery h2 {
    text-align: center;
    color: #66c0f4;
    margin-bottom: 30px;
    font-size: 32px;
}

.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-images img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.gallery-images img:hover {
    transform: scale(1.02);
}

/* Footer */
.footer {
    background-color: #171a21;
    padding: 40px 0 20px;
    color: #c7d5e0;
    font-size: 15px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 180px;
}

.footer-section h3,
.footer-section h4 {
    color: #66c0f4;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section h3 span {
    text-decoration: line-through;
}

.footer-section p {
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #c7d5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #66c0f4;
}

.social-links a {
    color: #c7d5e0;
    font-size: 20px;
    margin-right: 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #66c0f4;
}

.social-links>a, .social-links>a>img {
    width: 25px;
}

.footer-bottom {
    border-top: 1px solid #2a475e;
    padding-top: 20px;
    text-align: center;
    color: #78909c;
}

.footer-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: #78909c;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #66c0f4;
}

/* Support Button */
.support-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.support-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #66c0f4;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.support-button:hover {
    background-color: #4fc3f7;
}

.slide-item {
    background-image: url(../../assets/image/eldenring-bg.png);
    background-position: top;
    width: 100%;
}

/* Tablet Styles */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .slide-text {
        margin-left: 30px;
        max-width: 500px;
        padding: 25px;
    }

    .slide-text h1 {
        font-size: 40px;
    }

    .slide-text p {
        font-size: 16px;
    }

    .gallery-images {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    .footer-content {
        gap: 20px;
    }

    .footer-section {
        min-width: 150px;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #171a21;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-actions {
        gap: 10px;
    }

    .nav-actions button {
        font-size: 16px;
    }

    .hero {
        height: 500px;
        margin-top: 60px;
    }

    .slide-text {
        margin-left: 15px;
        margin-right: 15px;
        max-width: none;
        padding: 20px;
    }

    .slide-text h1 {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .slide-text p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .buy-now-btn,
    .wishlist-btn {
        width: 100%;
        padding: 15px;
    }

    .game-description,
    .system-requirements,
    .game-gallery {
        padding: 30px 0;
    }

    .game-description h2,
    .system-requirements h2,
    .game-gallery h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .game-description p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .requirements-table {
        margin: 0 -15px;
        padding: 0 15px;
    }

    .requirements-table th,
    .requirements-table td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .requirements-table th {
        font-size: 13px;
    }

    .gallery-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer {
        padding: 30px 0 15px;
    }

    .footer-content {
        flex-direction: column;
        gap: 25px;
    }

    .footer-section {
        min-width: auto;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .support-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .support-btn {
        bottom: 15px;
        right: 15px;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .nav-container {
        padding: 0 10px;
    }

    .nav-logo h2 {
        font-size: 20px;
    }

    .hero {
        height: 400px;
    }

    .slide-text {
        margin: 10px;
        padding: 15px;
    }

    .slide-text h1 {
        font-size: 24px;
    }

    .slide-text p {
        font-size: 13px;
    }

    .buy-now-btn,
    .wishlist-btn {
        font-size: 14px;
        padding: 12px;
    }

    .game-description h2,
    .system-requirements h2,
    .game-gallery h2 {
        font-size: 20px;
    }

    .requirements-table table {
        min-width: 400px;
    }

    .requirements-table th,
    .requirements-table td {
        padding: 8px 6px;
        font-size: 11px;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 16px;
    }

    .social-links a {
        font-size: 18px;
        margin-right: 10px;
    }
}

/* Extra Small Screens */
@media screen and (max-width: 320px) {
    .slide-text h1 {
        font-size: 20px;
    }

    .slide-text p {
        font-size: 12px;
    }

    .requirements-table table {
        min-width: 300px;
    }

    .requirements-table th,
    .requirements-table td {
        font-size: 10px;
        padding: 6px 4px;
    }
}