:root {
    --primary-color: #7289da;
    --secondary-color: #43b581;
    --dark-bg: #1a1a1a;
    --card-bg: #2f3136;
    --text-primary: #ffffff;
    --text-secondary: #b9bbbe;
    --accent: #ff73fa;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

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

header {
    background: rgba(27, 27, 27, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    text-decoration: none;
}

.logo h1 {
    color: #00ff88;
    font-size: 1.3rem !important;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a:hover {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
}

.nav-links .register-btn {
    background: #00ff88;
    color: #1b1b1b;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

.nav-links .register-btn:hover {
    background: #00cc6a;
    color: #1b1b1b;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    padding: 6rem 2rem 3rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.39) 0%, rgba(27,27,27,0.95) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover;
    opacity: 0.2;
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.highlight {
    background: linear-gradient(45deg, #00ff88, #ff73fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 5px;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, #00ff88, #ff73fa);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin: 1.5rem auto;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 200px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Garantir que todos os botões hero tenham o mesmo design base */
.hero-btn.btn-primary,
.hero-btn.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 200px;
    border: none;
}

.btn-primary {
    background: #25D366;
    color: #1a1b1e;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    background: #25D366;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.3);
}

.btn-whatsapp {
    background: #25D366;
    color: #1a1b1e;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.btn-whatsapp:hover {
    background: #25D366;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.3);
}

.btn-whatsapp,
.btn-whatsapp:visited,
.btn-whatsapp:active,
.btn-whatsapp:focus {
    background: #25D366;
    color: #1a1b1e !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero-btn {
        width: 100%;
        padding: 1rem 2rem;
    }
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
    background: #00e67a;
}

/* Removido definição duplicada do btn-whatsapp */

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,255,136,0.4);
}

.btn-primary:hover {
    background: #00cc6a;
}

.btn-secondary:hover {
    background: rgba(0,255,136,0.1);
}

/* Removido hover duplicado do btn-whatsapp */

.features {
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.623);
}

.features .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(6, 102, 57, 0.349);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
}

.feature-card i {
    font-size: 2rem;
    color: #00ff88;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.featured-games {
    padding-top: 1rem;
    background: rgba(0, 0, 0, 0.3);
}

.games-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    gap: 20px;
    padding: 20px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.games-grid.few-items {
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .games-grid.single-item {
        grid-template-columns: minmax(320px, 400px);
        justify-content: center;
    }
    .games-grid.two-items {
        grid-template-columns: repeat(2, minmax(320px, 400px));
        justify-content: center;
    }
    .games-grid.three-items {
        grid-template-columns: repeat(3, minmax(320px, 400px));
        justify-content: center;
    }
}

@media (max-width: 1023px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.game-card {
    background: rgba(47, 49, 54, 0.7);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.game-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-title {
    padding: 15px;
    text-align: center;
}

.game-title h3 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
}

.btn-view {
    padding: 10px 20px;
    background: #00ff88;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: #00cc6a;
    transform: translateY(-2px);
}

.product-count {
    color: #fff;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

footer {
    background: rgba(26, 27, 30, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 3rem 6rem;
    justify-content: center;
    margin: 0 auto 2rem auto; 
    width: auto; 
    max-width: 100%;
}

.footer-section h4 {
    text-align: left;
    color: var(--accent);
    margin-bottom: 1rem;
}

.footer-section ul {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li a,
.footer-section ul li a:visited {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: var(--text-primary);
}

@media (max-width: 600px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem 0;
        justify-items: center;
    }
    .footer-section h4,
    .footer-section ul {
        text-align: center;
    }
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 3rem 6rem;
    justify-content: center;
    margin: 0 auto 2rem auto;
    width: auto;
    max-width: 100%;
}

.footer-section h4 {
    text-align: left;
    color: var(--accent);
    margin-bottom: 1rem;
}

.footer-section ul {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-page {
    min-height: 100vh;
    padding: 100px 20px 40px;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(27,27,27,0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.auth-box {
    background: rgba(47, 49, 54, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.auth-box h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.auth-form .form-group {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.auth-form .form-group i {
    font-size: 1.1rem;
    color: #00ff88;
    margin-right: 10px;
    min-width: 24px;
    position: static;
}

.auth-form input {
    flex: 1 1 auto;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1.5px solid #00ff88;
    background: #18191c;
    color: #fff;
    font-size: 1rem;
    margin: 0;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}

.auth-form input:focus {
    border-color: #00ff88;
    outline: none;
}

.auth-form input::placeholder {
    color: #aaa;
    opacity: 1;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a0a0a0;
}

.forgot-password {
    color: #00ff88;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-auth {
    width: 100%;
    padding: 12px;
    background: #00ff88;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-auth:hover {
    background: #00cc6a;
    transform: translateY(-2px);
}

.auth-separator {
    position: relative;
    text-align: center;
    margin: 25px 0;
    color: #a0a0a0;
}

.auth-separator::before,
.auth-separator::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-separator::before {
    left: 0;
}

.auth-separator::after {
    right: 0;
}

.social-login {
    margin-bottom: 20px;
}

.btn-social {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-social.discord {
    background: #7289DA;
    color: #fff;
}

.btn-social:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.auth-redirect {
    text-align: center;
    color: #a0a0a0;
    margin-top: 20px;
}

.auth-redirect a {
    color: #00ff88;
    text-decoration: none;
}

.auth-description {
    color: #a0a0a0;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.5;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.alert-error {
    background: rgba(255, 51, 51, 0.1);
    color: #ff3333;
    border: 1px solid rgba(255, 51, 51, 0.3);
}

.alert-info {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.terms {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a0a0a0;
    font-size: 0.9rem;
}

.terms a {
    color: #00ff88;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

.auth-form .error-message {
    color: #ff3333;
    background: rgba(255, 51, 51, 0.1);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.auth-form .success-message {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.profile-page {
    min-height: 100vh;
    padding: 100px 20px 40px;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(27,27,27,0.95) 100%);
}

.profile-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(47, 49, 54, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.profile-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px 20px;
    text-align: center;
    color: #fff;
}

.profile-avatar {
    font-size: 80px;
    color: #00ff88;
    margin-bottom: 20px;
}

.profile-header h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.member-since {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.profile-content {
    padding: 30px;
}

.profile-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.profile-section h3 {
    color: #00ff88;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.transactions-container {
    background: rgba(47, 49, 54, 0.7);
    border-radius: 12px;
    padding: 25px 20px 20px 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.transactions-filter {
    text-align: right;
    margin-bottom: 18px;
}

.transactions-filter select {
    background: #23272a;
    color: #00ff88;
    border: 1.5px solid #00ff88;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 1rem;
    font-weight: 500;
    outline: none;
    transition: border 0.2s;
}

.transactions-filter select:focus {
    border-color: #43b581;
}

.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.transaction-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: rgba(26, 27, 30, 0.85);
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 2px 10px rgba(0,255,136,0.04);
    border-left: 5px solid #00ff88;
    transition: box-shadow 0.2s, border-color 0.2s;
    position: relative;
}

.transaction-item:hover {
    box-shadow: 0 6px 24px rgba(0,255,136,0.10);
    border-left: 5px solid #43b581;
}

.transaction-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #23272a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-top: 2px;
    flex-shrink: 0;
    transition: background 0.2s;
}
.transaction-icon.status-approved { background: #1e2e26; color: #00ff88; }
.transaction-icon.status-pending { background: #2f3136; color: #ffc107; }
.transaction-icon.status-rejected, .transaction-icon.status-cancelled { background: #2f2323; color: #ff3333; }

.transaction-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.transaction-header h4 {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 600;
    margin: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 60vw;
}

.transaction-amount {
    color: #00ff88;
    font-weight: 700;
    font-size: 1.1rem;
}

.transaction-meta {
    display: flex;
    gap: 18px;
    align-items: center;
    font-size: 0.98rem;
    color: #b9bbbe;
}

.transaction-date {
    font-size: 0.97rem;
    color: #b9bbbe;
}

.transaction-status {
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 0.93rem;
    font-weight: 600;
    text-transform: capitalize;
    margin-left: 0;
    margin-right: 0;
    letter-spacing: 0.5px;
    display: inline-block;
}
.transaction-status.status-approved { background: rgba(0,255,136,0.13); color: #00ff88; }
.transaction-status.status-pending { background: rgba(255,193,7,0.13); color: #ffc107; }
.transaction-status.status-rejected,
.transaction-status.status-cancelled { background: rgba(255,51,51,0.13); color: #ff3333; }

.btn-view-details {
    background: #23272a;
    color: #ffc107da;
    border: 1.5px solid #ffc107da;
    border-radius: 8px;
    padding: 7px 18px;
    font-size: 0.98rem;
    font-weight: 500;
    margin-top: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.btn-view-details:hover {
    background: #00ff88;
    color: #18191c;
    border-color: #43b581;
}

.no-transactions {
    color: #b9bbbe;
    text-align: center;
    padding: 25px 0 10px 0;
    font-size: 1.05rem;
}

.loading-spinner {
    color: #00ff88;
    text-align: center;
    padding: 20px 0;
    font-size: 1.1rem;
}

.transactions-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.page-btn {
    background: #23272a;
    color: #00ff88;
    border: 1.5px solid #00ff88;
    border-radius: 7px;
    padding: 6px 14px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
}
.page-btn.active,
.page-btn:hover {
    background: #00ff88;
    color: #18191c;
    border-color: #43b581;
}

@media (max-width: 600px) {
    .transactions-container {
        padding: 12px 4px 10px 4px;
    }
    .transaction-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px 8px;
    }
    .transaction-header h4 {
        max-width: 100vw;
        font-size: 1rem;
    }
    .transaction-meta {
        flex-direction: column;
        gap: 4px;
        font-size: 0.95rem;
    }
    .btn-view-details {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    .transactions-pagination {
        gap: 4px;
    }
}

#transaction-details-modal.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(24, 25, 28, 0.85);
    align-items: center;
    justify-content: center;
}

#transaction-details-modal .modal-content {
    background: #23272a;
    border-radius: 14px;
    max-width: 420px;
    width: 95vw;
    margin: 60px auto;
    padding: 0;
    box-shadow: 0 8px 40px rgba(0,255,136,0.10);
    animation: fadeInModal 0.25s;
    position: relative;
}

@keyframes fadeInModal {
    from { transform: translateY(40px) scale(0.97); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

#transaction-details-modal .modal-header {
    background: #18191c;
    border-radius: 14px 14px 0 0;
    padding: 33px 29px 18px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #23272a;
}

#transaction-details-modal .modal-header h3 {
    color: #00ff88;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

#transaction-details-modal .close {
    color: #b9bbbe;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
    margin-left: 18px;
}
#transaction-details-modal .close:hover {
    color: #ff3333;
}

#transaction-details-modal .modal-body {
    padding: 22px 26px 24px 26px;
    color: #fff;
}

.transaction-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 10px;
}
.transaction-detail-header .detail-title {
    font-size: 1.08rem;
    font-weight: 600;
    color: #fff;
}
.transaction-detail-header .detail-amount {
    font-size: 1.15rem;
    font-weight: 700;
    color: #00ff88;
}

.transaction-detail-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}
.transaction-detail-content .detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.01rem;
    color: #b9bbbe;
    padding: 2px 0;
}
.transaction-detail-content .detail-row strong {
    color: #fff;
    font-weight: 500;
    min-width: 110px;
    display: inline-block;
}

.qr-code-section {
    margin: 18px 0 0 0;
    text-align: center;
}
.qr-code-section img {
    width: 140px;
    height: 140px;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 8px;
    box-shadow: 0 2px 12px rgba(0,255,136,0.08);
}
.qr-code-section p {
    color: #b9bbbe;
    font-size: 0.98rem;
    margin: 0;
}

@media (max-width: 600px) {
    #transaction-details-modal .modal-content {
        max-width: 98vw;
        padding: 0;
    }
    #transaction-details-modal .modal-header,
    #transaction-details-modal .modal-body {
        padding-left: 10px;
        padding-right: 10px;
    }
    .qr-code-section img {
        width: 100px;
        height: 100px;
    }
}
/* fim */

.info-group {
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.info-group label {
    color: #a0a0a0;
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.info-group span {
    color: #fff;
    font-size: 1.1rem;
}

.btn-edit {
    background: #00ff88;
    color: #000;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-edit:hover {
    background: #00cc6a;
    transform: translateY(-2px);
}

.transactions {
    color: #fff;
}

.no-transactions {
    text-align: center;
    color: #a0a0a0;
    padding: 20px;
}

.alert-error {
    background: rgba(255, 51, 51, 0.1);
    color: #ff3333;
    border: 1px solid rgba(255, 51, 51, 0.2);
}

.alert {
    padding: 15px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 8px;
    text-align: center;
    animation: fadeOut 5s forwards;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

.admin-page {
    min-height: 100vh;
    padding: 100px 20px 40px;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(27,27,27,0.95) 100%);
}

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

.admin-container h1 {
    color: #fff;
    margin-bottom: 40px;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.admin-card {
    background: rgba(47, 49, 54, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-card:hover {
    transform: translateY(-5px);
    border-color: #00ff88;
    box-shadow: 0 8px 32px rgba(0, 255, 136, 0.2);
}

.admin-card i {
    font-size: 48px;
    color: #00ff88;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.admin-card:hover i {
    transform: scale(1.1);
}

.admin-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.admin-card p {
    color: #a0a0a0;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.5;
}

.admin-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #00ff88;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.admin-btn:hover {
    background: #00cc6a;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.users-search {
    margin-bottom: 30px;
}

.search-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.search-group input {
    flex: 1;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px 0 0 8px;
    color: #fff;
    font-size: 1rem;
}

.search-group button {
    padding: 12px 20px;
    background: #00ff88;
    border: none;
    border-radius: 0 8px 8px 0;
    color: #000;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-group button:hover {
    background: #00cc6a;
}

.users-table {
    overflow-x: auto;
    background: rgba(47, 49, 54, 0.7);
    border-radius: 15px;
    padding: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    background: rgba(0, 0, 0, 0.2);
    font-weight: 600;
    color: #00ff88;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge.active {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.status-badge.banned {
    background: rgba(255, 51, 51, 0.2);
    color: #ff3333;
}

.actions {
    display: flex;
    gap: 10px;
}

.inline-form {
    margin: 0;
}

.btn-action {
    padding: 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-action:hover {
    transform: translateY(-2px);
}

.btn-action.promote {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.btn-action.demote {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.btn-action.ban {
    background: rgba(255, 51, 51, 0.2);
    color: #ff3333;
}

.btn-action.unban {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.btn-action.delete {
    background: rgba(255, 51, 51, 0.2);
    color: #ff3333;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(47, 49, 54, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        flex-direction: column;
        align-items: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .users-table {
        padding: 10px;
    }

    th, td {
        padding: 10px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero-btn {
        width: 100%;
        padding: 1rem 2rem;
        min-width: auto;
    }
}

@media (max-width: 600px) {
    body, html {
        font-size: 14px;
    }
    h1, .hero h1 {
        font-size: 2.3rem !important;
    }
    h2, .section-title {
        font-size: 1.1rem !important;
    }
    h3 {
        font-size: 1rem !important;
    }
    .container {
        padding: 0 8px;
    }
    .games-grid,
    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 8px !important;
    }
    .game-card,
    .category-card,
    .product-card {
        margin: 0 !important;
        padding: 10px !important;
    }
    .feature-card {
        padding: 1rem !important;
    }
    .footer-section h4 {
        font-size: 0.95rem !important;
    }
}

.product-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    background: #222;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.product-image::-webkit-scrollbar,
.product-image img::-webkit-scrollbar {
    display: none;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(47, 49, 54, 0.7);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card h4 {
    color: #a0a0a0;
    font-size: 1rem;
    margin-bottom: 10px;
}

.stat-card .number {
    color: #00ff88;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-card .trend {
    color: #00ff88;
    font-size: 0.9rem;
}

.stat-card .trend.down {
    color: #ff3333;
}

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

.modal-content {
    background: rgba(47, 49, 54, 0.95);
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(45deg, #1a1a1a, #2f3136);
    margin: -25px -18px 30px -22px;
    padding: 20px 30px;
    border-radius: 15px 15px 0 0;
    border-bottom: 2px solid #00ff88;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal-header h2 {
    color: #00ff88;
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    animation: fadeIn 0.3s ease;
}

.modal-header .close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-header .close:hover {
    background: rgba(255, 51, 51, 0.2);
    color: #ff3333;
    transform: translateY(-50%) rotate(90deg);
}

.products-list {
    margin-top: 30px;
    background: rgba(47, 49, 54, 0.7);
    border-radius: 12px;
    overflow: hidden;
}

.product-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 20px;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
    transition: all 0.3s ease;
}

.product-item:hover {
    background: rgba(0, 255, 136, 0.1);
}

.product-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-info h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
}

.product-info .price {
    color: #00ff88;
    font-weight: 500;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-description {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 10px 0;
    text-align: left;
    padding: 10px;
    background:rgb(26 27 29);
    border-radius: 6px;
}

.product-image {
    position: relative;
    cursor: pointer;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    color: white;
    font-size: 2rem;
}

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.image-modal .modal-content {
    background: rgba(47, 49, 54, 0.7);
    padding: 20px;
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: fit-content;
}

.image-modal img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.image-modal h3 {
    color: white;
    text-align: center;
    margin: 15px 0;
    font-size: 1.2rem;
    width: 100%;
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(75, 74, 74, 0.226);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 24px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.close-modal:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
}

@media (max-width: 600px) {
    .close-modal {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}

a.btn-whatsapp,
a.btn-whatsapp:visited,
a.btn-whatsapp:active,
a.btn-whatsapp:focus,
a.btn-whatsapp:hover {
    background: #25D366 !important;
    color: #fff !important;
    text-decoration: none !important;
}

a.btn-view,
a.btn-view:visited,
a.btn-view:active,
a.btn-view:focus,
a.btn-view:hover {
    background: #00ff88 !important;
    color: #000 !important;
    text-decoration: none !important;
}

a.btn-buy,
a.btn-buy:visited,
a.btn-buy:active,
a.btn-buy:focus,
a.btn-buy:hover {
    background: #25D366 !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    min-width: 120px;
    gap: 6px;
}

a.btn-buy:hover {
    background: #22c35e !important;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.form-group select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.2);
}

.form-group select option {
    background-color: #2f3136;
    color: #fff;
}

.settings-section {
    background: rgba(47, 49, 54, 0.7);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    color: #00ff88;
    font-size: 1.5rem;
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
}

.category-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 15px;
    background: rgba(0, 0, 0, 0.1);
}

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

.category-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
}

.category-image .no-image i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.3);
}

.category-info {
    flex: 1;
}

.category-actions {
    display: flex;
    gap: 10px;
}

#current_image {
    margin: 10px 0;
}

#current_image img {
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.game-page {
    padding-top: 80px;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}

.game-header {
    position: relative;
    height: 400px;
    margin-bottom: 40px;
    background-color: rgba(0, 0, 0, 0.5);
}

.game-banner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.game-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

.game-info {
    position: relative;
    z-index: 2;
    padding: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.game-info h1 {
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-info p {
    color: #fff;
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.6;
}

.categories-section {
    flex: 1;
    padding: 40px 0;
    background: rgba(26, 27, 30, 0.95);
}

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

.categories-section h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

@media (min-width: 1024px) {
    .categories-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 400px));
        justify-content: center;
        gap: 2rem;
        max-width: 1400px;
        margin: 0 auto 40px auto;
        padding: 20px 0;
    }
}

@media (max-width: 1023px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
        margin-bottom: 40px;
        justify-content: stretch;
        padding: 0;
    }
}

.category-card {
    background: rgba(47, 49, 54, 0.7);
    border-radius: 12px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.category-card .category-image {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
}

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

.category-card .category-icon {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
}

footer {
    background: rgba(26, 27, 30, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
    margin-top: auto;
}

.products-header {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 20px 0;
}

.close-products {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.close-products:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, max-content));
    justify-content: center;
    gap: 25px;
    padding: 15px;
    background: rgba(26, 27, 30, 0.95);
    border-radius: 15px;
    margin: 15px auto;
    max-width: 1200px;
}


.product-card {
    background: rgba(47, 49, 54, 0.7);
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.product-info {
    padding: 20px;
    text-align: center;
}

.product-description {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 10px 0;
    text-align: left;
    padding: 10px;
    background: rgb(26 27 29);
    border-radius: 6px;
}

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.image-modal .modal-content {
    background: rgba(47, 49, 54, 0.7);
    padding: 20px;
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: fit-content;
}

.image-modal img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.image-modal h3 {
    color: white;
    text-align: center;
    margin: 15px 0;
    font-size: 1.2rem;
    width: 100%;
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(75, 74, 74, 0.226);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 24px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.close-modal:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
}

@media (max-width: 600px) {
    .close-modal {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}

a.btn-whatsapp,
a.btn-whatsapp:visited,
a.btn-whatsapp:active,
a.btn-whatsapp:focus,
a.btn-whatsapp:hover {
    background: #25D366 !important;
    color: #fff !important;
    text-decoration: none !important;
}

a.btn-view,
a.btn-view:visited,
a.btn-view:active,
a.btn-view:focus,
a.btn-view:hover {
    background: #00ff88 !important;
    color: #000 !important;
    text-decoration: none !important;
}

a.btn-buy,
a.btn-buy:visited,
a.btn-buy:active,
a.btn-buy:focus,
a.btn-buy:hover {
    background: #25D366 !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    min-width: 120px;
    gap: 6px;
}

a.btn-buy:hover {
    background: #22c35e !important;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.form-group select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.2);
}

.form-group select option {
    background-color: #2f3136;
    color: #fff;
}

.settings-section {
    background: rgba(47, 49, 54, 0.7);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    color: #00ff88;
    font-size: 1.5rem;
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
}

.category-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 15px;
    background: rgba(0, 0, 0, 0.1);
}

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

.category-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
}

.category-image .no-image i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.3);
}

.category-info {
    flex: 1;
}

.category-actions {
    display: flex;
    gap: 10px;
}

#current_image {
    margin: 10px 0;
}

#current_image img {
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.game-page {
    padding-top: 80px;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}

.game-header {
    position: relative;
    height: 400px;
    margin-bottom: 40px;
    background-color: rgba(0, 0, 0, 0.5);
}

.game-banner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.game-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

.game-info {
    position: relative;
    z-index: 2;
    padding: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.game-info h1 {
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-info p {
    color: #fff;
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.6;
}

.categories-section {
    flex: 1;
    padding: 40px 0;
    background: rgba(26, 27, 30, 0.95);
}

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

.categories-section h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

@media (min-width: 1024px) {
    .categories-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 400px));
        justify-content: center;
        gap: 2rem;
        max-width: 1400px;
        margin: 0 auto 40px auto;
        padding: 20px 0;
    }
}

@media (max-width: 1023px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
        margin-bottom: 40px;
        justify-content: center;
        padding: 0;
    }
}

.category-card {
    background: rgba(47, 49, 54, 0.7);
    border-radius: 12px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.category-card .category-image {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
}

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

.category-card .category-icon {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
}

footer {
    background: rgba(26, 27, 30, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
    margin-top: auto;
}

.products-header {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 20px 0;
}

.close-products {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.close-products:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, max-content));
    justify-content: center;
    gap: 25px;
    padding: 15px;
    background: rgba(26, 27, 30, 0.95);
    border-radius: 15px;
    margin: 15px auto;
    max-width: 1200px;
}


.product-card {
    background: rgba(47, 49, 54, 0.7);
    border-radius: 12px;
    display: grid;
    justify-content: center;
    align-content: center; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.product-info {
    padding: 20px;
    text-align: center;
}

.product-description {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 10px 0;
    text-align: left;
    padding: 10px;
    background: rgb(26 27 29);
    border-radius: 6px;
}

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.image-modal .modal-content {
    background: rgba(47, 49, 54, 0.7);
    padding: 20px;
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: fit-content;
}

.image-modal img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.image-modal h3 {
    color: white;
    text-align: center;
    margin: 15px 0;
    font-size: 1.2rem;
    width: 100%;
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(75, 74, 74, 0.226);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 24px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.close-modal:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
}

@media (max-width: 600px) {
    .close-modal {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}

#pix-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

#pix-modal .modal-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#pix-modal .modal-content {
    background: var(--card-bg);
    border-radius: 15px;
    max-width: 450px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

#pix-modal .modal-header {
    background: linear-gradient(45deg, #1a1a1a, #2f3136);
    padding: 20px 30px;
    border-radius: 15px 15px 0 0;
    border-bottom: 2px solid #32bcad;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#pix-modal .modal-header h3 {
    color: #32bcad;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

#pix-modal .close-modal {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

#pix-modal .close-modal:hover {
    background: rgba(255, 51, 51, 0.2);
    color: #ff3333;
    transform: rotate(90deg);
}

#pix-modal .modal-body {
    padding: 30px;
}

.pix-info {
    text-align: center;
    margin-bottom: 25px;
}

.pix-info h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.pix-amount {
    color: #32bcad;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.qr-code-container {
    text-align: center;
    margin-bottom: 25px;
}

.qr-code-container img {
    max-width: 250px;
    width: 100%;
    height: auto;
    border: 10px solid white;
    border-radius: 15px;
    margin-bottom: 15px;
}

.qr-code-container p {
    color: #a0a0a0;
    font-size: 1rem;
    margin: 0;
}

.pix-instructions {
    background: rgba(50, 188, 173, 0.1);
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #32bcad;
}

.pix-instructions p {
    color: #32bcad;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1rem;
}

.pix-instructions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pix-instructions li {
    color: #fff;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.pix-instructions li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #32bcad;
    font-weight: bold;
}

@media (max-width: 600px) {
    #pix-modal .modal-content {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    #pix-modal .modal-header {
        padding: 15px 20px;
    }
    
    #pix-modal .modal-body {
        padding: 20px;
    }
    
    .qr-code-container img {
        max-width: 200px;
    }
    
    .pix-amount {
        font-size: 1.3rem;
    }
}

#pix-modal {
    animation: fadeIn 0.3s ease;
}

#pix-modal .modal-content {
    animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.btn-pix {
    background: linear-gradient(90deg, #32bcad 0%, #00e1d6 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(50, 188, 173, 0.2);
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    margin-top: 12px;
}

.btn-pix img {
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

.btn-pix:hover,
.btn-pix:focus {
    background: linear-gradient(90deg, #00e1d6 0%, #32bcad 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(50, 188, 173, 0.3);
    text-decoration: none;
    outline: none;
}

.btn-pix:active {
    transform: scale(0.98);
}

@media (max-width: 600px) {
    .btn-pix {
        width: 100%;
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }
}

/* Regra específica para garantir que os botões hero tenham o mesmo design */
.hero-buttons .hero-btn.btn-whatsapp {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem 2.5rem !important;
    border-radius: 50px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    min-width: 200px !important;
    border: none !important;
    background: #25D366 !important;
    color: #1a1b1e !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
}

.hero-buttons .hero-btn.btn-whatsapp:hover {
    background: #22c35e !important;
    color: #fff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
}

.hero-buttons .hero-btn.btn-whatsapp i {
    margin-right: 10px !important;
    font-size: 1.2rem !important;
}