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

body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
}

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

header {
    background-color: #1a1a1a;
    border-bottom: 2px solid #00aaff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #00aaff;
    text-transform: uppercase;
}

.logo img {
    height: 40px;
    max-width: 100%;
}

.logo-desktop {
    display: block;
}

.logo-mobile {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #00aaff;
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

nav a:hover {
    color: #00aaff;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.btn-login {
    background-color: transparent;
    color: #00aaff;
    border: 2px solid #00aaff;
}

.btn-login:hover {
    background-color: #00aaff;
    color: #fff;
}

.btn-cart {
    background-color: #00aaff;
    color: #fff;
    position: relative;
}

.btn-cart:hover {
    background-color: #0088cc;
}

.banner {
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background: #020024;
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 41%, rgba(2, 0, 36, 1) 100%);
    animation: gradientShift 15s ease infinite;
}

.banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: rgba(0, 20, 40, 0.3);
}

@keyframes gradientShift {
    0%, 100% { background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 41%, rgba(2, 0, 36, 1) 100%); }
    50% { background: linear-gradient(90deg, rgba(9, 9, 121, 1) 0%, rgba(2, 0, 36, 1) 59%, rgba(9, 9, 121, 1) 100%); }
}

@keyframes moveGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.banner h2 {
    font-size: 24px;
    color: #00aaff;
    margin-bottom: 40px;
}

.about {
    background-color: #1a1a1a;
    padding: 60px 20px;
    text-align: center;
}

.about h3 {
    font-size: 32px;
    color: #00aaff;
    margin-bottom: 20px;
}

.about p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.categories {
    padding: 60px 20px;
}

.categories h2 {
    text-align: center;
    font-size: 36px;
    color: #00aaff;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.category-grid {
    display: flex;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
}

.category-card {
    background-color: #1e1e1e;
    padding: 20px 25px;
    text-align: center;
    border-radius: 10px;
    border: 2px solid #333;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.category-card:hover {
    border-color: #00aaff;
    transform: translateY(-5px);
}

.category-card .icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.category-card h3 {
    font-size: 16px;
    color: #fff;
    white-space: nowrap;
}

.products-section {
    padding: 60px 20px;
    background-color: #0d0d0d;
}

.products-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #00aaff;
    text-transform: uppercase;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: #1e1e1e;
    border: 2px solid #333;
    border-radius: 10px;
    overflow: visible;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #00aaff;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #2a2a2a;
    border-radius: 10px 10px 0 0;
    display: block;
}

.product-info {
    padding: 20px;
}

.product-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.product-card .price {
    font-size: 24px;
    font-weight: bold;
    color: #00aaff;
    margin-bottom: 15px;
}

.btn-add-cart {
    display: inline-block;
    background-color: #00aaff;
    color: #ffffff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    width: 100%;
}

.btn-add-cart:hover {
    background-color: #0088cc;
}

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

.modal-content {
    background-color: #1e1e1e;
    padding: 40px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    border: 2px solid #00aaff;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #00aaff;
}

.modal-content input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background-color: #2a2a2a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 5px;
}

.modal-content .btn-steam {
    background-color: #171a21;
    color: #fff;
    width: 100%;
    margin-top: 10px;
}

.close-modal {
    float: right;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.close-modal:hover {
    color: #fff;
}

footer {
    background-color: #0d0d0d;
    border-top: 2px solid #00aaff;
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section p {
    margin: 5px 0;
    color: #999;
}

.footer-section strong {
    color: #00aaff;
}

.footer-section label {
    margin-right: 10px;
    color: #999;
}

.footer-section select {
    padding: 8px 15px;
    background-color: #1e1e1e;
    color: #fff;
    border: 1px solid #333;
    border-radius: 5px;
    cursor: pointer;
}

.cookie-notice {
    text-align: center;
    padding: 15px;
    background-color: #1a1a1a;
    border-radius: 5px;
    border: 1px solid #333;
}

.cookie-notice p {
    margin: 0;
    color: #999;
    font-size: 14px;
}

.page-header {
    background-color: #1a1a1a;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 2px solid #00aaff;
}

.page-header h1 {
    font-size: 42px;
    color: #00aaff;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    color: #999;
}

.donation-page {
    padding: 60px 20px;
    background-color: #121212;
}

.filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 15px 20px;
    background-color: #1e1e1e;
    color: #fff;
    border: 2px solid #333;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.filter-icon {
    font-size: 28px;
}

.filter-btn:hover {
    border-color: #00aaff;
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: #00aaff;
    border-color: #00aaff;
    color: #fff;
}


/* Modal de Produto */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1a1a1a;
    padding: 0;
    border: 1px solid rgba(0, 170, 255, 0.3);
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
    background: none;
    border: none;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 100%;
}

.modal-image {
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-category {
    color: #00aaff;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.modal-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-price {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-price .price-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-price .price-current {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00aaff;
}

.btn-buy-modal {
    background: linear-gradient(135deg, #00aaff 0%, #0088cc 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-buy-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 170, 255, 0.4);
}

@media (max-width: 768px) {
    header .container {
        padding: 10px 15px;
    }
    
    .logo img {
        height: 28px;
    }
    
    .logo-desktop {
        display: none !important;
    }
    
    .logo-mobile {
        display: block !important;
        height: 35px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 60px);
        background: #1a1a1a;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transition: left 0.3s;
        border-right: 2px solid #00aaff;
        z-index: 999;
    }
    
    nav.active {
        left: 0;
    }
    
    nav a {
        padding: 15px 0;
        border-bottom: 1px solid #333;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .header-actions .btn {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .banner {
        padding: 40px 15px;
        min-height: 300px;
    }
    
    .banner h1 {
        font-size: 28px;
    }
    
    .banner h2 {
        font-size: 18px;
    }
    
    .categories {
        padding: 40px 15px;
    }
    
    .categories h2 {
        font-size: 24px;
    }
    
    .category-grid {
        gap: 10px;
    }
    
    .category-card {
        padding: 15px 20px;
    }
    
    .products-section {
        padding: 40px 15px;
    }
    
    .products-section h2 {
        font-size: 24px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .container {
        padding: 15px;
    }
    
    .page-header {
        padding: 40px 15px;
        min-height: 200px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    .filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 12px 15px;
        font-size: 12px;
    }
    
    .filter-icon {
        font-size: 24px;
    }
    
    footer {
        padding: 30px 15px 15px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-section {
        min-width: 100%;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .leaderboard-table {
        font-size: 12px;
        display: block;
        overflow-x: auto;
    }
    
    .leaderboard-table thead,
    .leaderboard-table tbody,
    .leaderboard-table tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }
    
    .leaderboard-table tbody {
        display: block;
        max-height: 400px;
        overflow-y: auto;
    }
    
    .leaderboard-table th,
    .leaderboard-table td {
        padding: 8px 5px;
    }
    
    .leaderboard-table th:nth-child(3),
    .leaderboard-table td:nth-child(3),
    .leaderboard-table th:nth-child(4),
    .leaderboard-table td:nth-child(4) {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .leaderboard-controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .leaderboard-tabs,
    .leaderboard-actions,
    .leaderboard-filters {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .leaderboard-tabs button,
    .leaderboard-actions button,
    .leaderboard-filters button {
        padding: 8px 12px;
        font-size: 12px;
        flex: 1;
        min-width: auto;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
        font-size: 14px;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-image {
        min-height: 250px;
    }
    
    .modal-info {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 1.4rem;
    }
    
    .modal-price .price-current {
        font-size: 1.4rem;
    }
}

.page-header {
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background: #020024;
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 41%, rgba(2, 0, 36, 1) 100%);
    animation: gradientShift 15s ease infinite;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: rgba(0, 20, 40, 0.3);
}

/* Estilos para preços em oferta */
.price-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.price-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.product-card .price-container .price {
    font-size: 24px;
    font-weight: bold;
    color: #00aaff;
    margin-bottom: 0;
}

/* Tag de oferta para todos os temas */
/*.product-card.has-offer::before {*/
/*    content: '🔥 OFERTA 🔥';*/
/*    position: absolute;*/
/*    top: 10px;*/
/*    right: 10px;*/
/*    background: linear-gradient(135deg, #ff0000, #ffd700);*/
/*    color: #000;*/
/*    padding: 5px 15px;*/
/*    border-radius: 20px;*/
/*    font-weight: bold;*/
/*    font-size: 0.8rem;*/
/*    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);*/
/*    animation: shake-offer 1s ease-in-out infinite;*/
/*    z-index: 10;*/
/*}*/

@keyframes shake-offer {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}
