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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: #0a0a0a;
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #1a1a1a;
}

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

.logo-section {
    display: flex;
    align-items: center;
}

.logo-main {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 18px;
}

.logo-text {
    color: #fff;
}

.logo-subtext {
    color: #fff;
    margin-left: 5px;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn-cadastrar, .btn-entrar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-cadastrar {
    background: transparent;
    color: #fff;
    border: 1px solid #333;
}

.btn-entrar {
    background: #00ff88;
    color: #000;
}

.btn-cadastrar:hover {
    background: #333;
}

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

/* WhatsApp Banner */
.whatsapp-banner {
    margin-top: 80px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    position: relative;
}

.banner-text h1 {
    font-size: 48px;
    font-weight: 900;
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    line-height: 1.1;
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 30px;
}

.genie-character {
    position: absolute;
    right: 20%;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
}

.genie-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #4a90e2, #7b68ee);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.genie-body::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 40%;
    background: #fff;
    border-radius: 50%;
    opacity: 0.1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.whatsapp-icons {
    position: absolute;
    right: 10%;
    top: 20%;
}

.whatsapp-icon {
    width: 80px;
    height: 80px;
    background: #25d366;
    border-radius: 20px;
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon::before {
    content: '💬';
    font-size: 40px;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.whatsapp-btn {
    background: #00ff88;
    color: #000;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.whatsapp-btn:hover {
    background: #00cc6a;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

.whatsapp-small-icon {
    background: #25d366;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.whatsapp-small-icon::before {
    content: '💬';
    font-size: 16px;
}

.notification-mini {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* Categories Navigation */
.categories-nav {
    background: #111;
    padding: 20px 0;
    border-bottom: 1px solid #222;
}

.categories-nav .container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.category-btn {
    background: transparent;
    color: #888;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 14px;
}

.category-btn.active {
    background: #00ff88;
    color: #000;
}

.category-btn:hover:not(.active) {
    background: #222;
    color: #fff;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

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

.scratch-card {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.scratch-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.price-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #00ff88;
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 16px;
    z-index: 2;
}

.card-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.pix-bg {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    position: relative;
}

.pix-bg::before {
    content: '💰';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    opacity: 0.7;
}

.electronics-bg {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    position: relative;
}

.electronics-bg::before {
    content: '📱';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    opacity: 0.7;
}

.cosmetics-bg {
    background: linear-gradient(135deg, #e056fd 0%, #f093fb 100%);
    position: relative;
}

.cosmetics-bg::before {
    content: '💄';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    opacity: 0.7;
}

.vehicle-bg {
    background: linear-gradient(135deg, #00c851 0%, #007e33 100%);
    position: relative;
}

.vehicle-bg::before {
    content: '🏍️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    opacity: 0.7;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.prize-info {
    color: #00ff88;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.card-content p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.play-btn {
    background: #00ff88;
    color: #000;
    border: none;
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.play-btn:hover {
    background: #00cc6a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    border-top: 1px solid #333;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #888;
    transition: all 0.3s ease;
}

.nav-item:hover {
    color: #00ff88;
}

.nav-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.home-icon::before { content: '🏠'; }
.cart-icon::before { content: '🛒'; }
.deposit-icon::before { content: '💳'; }
.login-icon::before { content: '🔓'; }
.register-icon::before { content: '👤'; }

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 30px 0;
    margin-bottom: 80px;
    border-top: 1px solid #222;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00ff88;
}

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

.modal-content {
    background: #1a1a1a;
    margin: 10% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    border: 1px solid #333;
}

.close {
    color: #888;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #fff;
}

.modal h2 {
    margin-bottom: 25px;
    color: #fff;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-form input {
    background: #333;
    border: 1px solid #555;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
}

.auth-form input:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.submit-btn {
    background: #00ff88;
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Game Modal */
.game-modal {
    max-width: 500px;
    text-align: center;
}

.scratch-area {
    position: relative;
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

#scratchCanvas {
    border: 2px solid #00ff88;
    border-radius: 15px;
    cursor: crosshair;
    background: #333;
}

.prize-reveal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    padding: 20px;
    border-radius: 15px;
    display: none;
}

.prize-reveal.show {
    display: block;
    animation: prizeReveal 0.5s ease-out;
}

@keyframes prizeReveal {
    0% { transform: translate(-50%, -50%) scale(0); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

.play-again-btn {
    background: #00ff88;
    color: #000;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .banner-text h1 {
        font-size: 32px;
    }
    
    .banner-text p {
        font-size: 18px;
    }
    
    .genie-character {
        display: none;
    }
    
    .whatsapp-icons {
        position: static;
        margin-top: 20px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .auth-buttons {
        gap: 10px;
    }
    
    .btn-cadastrar, .btn-entrar {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .categories-nav .container {
        gap: 10px;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .banner-text h1 {
        font-size: 24px;
    }
    
    .banner-text p {
        font-size: 16px;
    }
    
    .whatsapp-banner {
        padding: 30px 15px;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 20px;
    }
}
