* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.header {
    background-color: #1e3a8a;
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    height: 40px;
    background: white;
    padding: 5px;
    border-radius: 5px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #60a5fa;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-menu {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-icon {
    cursor: pointer;
    position: relative;
    font-size: 1.2rem;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #1e3a8a;
    color: white;
}

.btn-primary:hover {
    background-color: #1e40af;
}

.btn-secondary {
    background-color: white;
    color: #1e3a8a;
}

.btn-secondary:hover {
    background-color: #f1f5f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.featured-products {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.featured-products h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1e3a8a;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #fbbf24, #92400e);
    position: relative;
}

.product-info {
    padding: 1rem;
}

.product-name {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #374151;
}

.product-price {
    color: #1e3a8a;
    font-size: 1.1rem;
    font-weight: bold;
}

.footer {
    background-color: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.payment-icons,
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.payment-icons img {
    height: 30px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.modalProduct {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modalProduct-content {
    font-size: small;
    background-color: white;
    margin: 0% 15% 0% 15%;
    padding: 0.5rem;
    border-radius: 10px;
    width: 90%;
    max-width: 900px;
    position: relative;
}

.modalCart {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 10%;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modalCart-content{
    justify-self: center;
    min-width: 400px;
    max-width: 800px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
}

.modalCart-contentIn{
    justify-self: center;
    justify-content: left;
    min-width: 400px;
    max-width: 800px;
    padding: 10px;
    background-color: white;
    border-radius: 10px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    width: 300px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.cart-item-details {
    width: 200px;
    font-size: 0.875rem;
    color: #6b7280;
}

.cart-item-price {
    width: 100px;
    font-weight: 600;
    color: #1e3a8a;
}

.cart-total {
    text-align: right;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a8a;
}

.cart-item-controls {
    width: 150px;
}


.close {
    top: 10px;
    margin-left: 95%;
    font-size: 2rem;
    cursor: pointer;
}
/* Melhorar produtos em destaque */
.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #fbbf24, #92400e);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #1e3a8a;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
}

.product-badge.featured {
    background: #dc2626;
}

.stock-indicator {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
}

.stock-indicator.in-stock {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.stock-indicator.low-stock {
    background: rgba(245, 158, 11, 0.9);
    color: white;
}

.stock-indicator.out-of-stock {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.product-info {
    padding: 1.5rem;
}

.product-game {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    color: #1e3a8a;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.price-range {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-quick-add {
    flex: 1;
    padding: 0.5rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.3s;
}

.btn-quick-add:hover {
    background: #2563eb;
}

.btn-view {
    padding: 0.5rem 1rem;
    background: transparent;
    color: #1e3a8a;
    border: 1px solid #1e3a8a;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.btn-view:hover {
    background: #1e3a8a;
    color: white;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}