/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Fundo com símbolos de dinheiro */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" opacity="0.05"><path d="M50,20 L70,20 L80,40 L60,40 Z" fill="%23FFD700"/><circle cx="150" cy="50" r="15" fill="%23FFD700"/><path d="M30,120 L50,100 L70,120 L50,140 Z" fill="%23FFD700"/><circle cx="120" cy="150" r="12" fill="%23FFD700"/></svg>');
    background-size: 200px 200px;
    z-index: -1;
    transform: rotate(15deg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.main-header {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(26,26,26,0.9) 100%);
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 3px solid #FFD700;
    border-radius: 0 0 10px 10px;
    text-align: center;
}

.logo h1 {
    font-size: 2.5rem;
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

.logo p {
    color: #bbb;
    font-size: 1.1rem;
}

/* Banners */
.banner-container {
    margin: 20px auto;
    text-align: center;
}

.responsive-banner {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.responsive-banner:hover {
    transform: scale(1.02);
}

.top-banner {
    margin-top: 20px;
}

/* Seção de Jogos */
.games-section {
    background: rgba(26, 26, 26, 0.85);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
}

.section-title {
    color: #FFD700;
    font-size: 1.8rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Cards de Jogos */
.game-card {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
}

.game-number {
    position: absolute;
    top: -10px;
    left: -10px;
    background: #FFD700;
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.game-image {
    text-align: center;
    margin-bottom: 15px;
    position: relative;
}

.game-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #444;
}

.game-icon-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #333, #444);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 2px solid #444;
}

.game-icon-placeholder i {
    font-size: 3rem;
    color: #FFD700;
}

.featured-badge {
    position: absolute;
    top: -5px;
    right: 20px;
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.game-title {
    color: #FFD700;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.game-category {
    display: inline-block;
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.game-description {
    color: #bbb;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.game-stats {
    margin-bottom: 15px;
}

.stat {
    color: #95a5a6;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.game-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-play {
    flex: 1;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-play:hover {
    background: linear-gradient(135deg, #FFA500, #FF8C00);
    transform: scale(1.05);
}

.btn-copy {
    background: #3498db;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-copy:hover {
    background: #2980b9;
}

/* Seção de FAQs */
.faq-section {
    background: rgba(26, 26, 26, 0.85);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
}

.faq-container {
    margin-top: 20px;
}

.faq-item {
    background: rgba(40, 40, 40, 0.8);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #333;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background: rgba(255, 215, 0, 0.1);
}

.faq-question h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

.faq-toggle {
    color: #FFD700;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(50, 50, 50, 0.8);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px;
    color: #bbb;
    line-height: 1.6;
    border-top: 1px solid #333;
}

/* Boxes Informativos */
.info-boxes-section {
    background: rgba(26, 26, 26, 0.85);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
}

.info-boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-box {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid;
    border-bottom: 4px solid;
    border-right: 1px dashed #444;
    border-top: 1px dashed #444;
    height: 125px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
}

.info-box-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.info-box-header i {
    font-size: 1.5rem;
    color: inherit;
}

.info-box-header h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

.info-box-content p {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(26,26,26,0.95) 100%);
    padding: 30px 0;
    margin-top: 50px;
    border-top: 3px solid #FFD700;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.telegram-section {
    margin-bottom: 20px;
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0088cc;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.telegram-link:hover {
    background: #006699;
    transform: scale(1.05);
}

.telegram-link i {
    font-size: 1.5rem;
}

.copyright p {
    color: #bbb;
    text-align: center;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #95a5a6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #FFD700;
}

/* Alertas */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 500;
}

.alert-success {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.alert-error {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.alert-warning {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 1px solid #f1c40f;
}

.alert-info {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid #3498db;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .info-boxes-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .game-actions {
        flex-direction: column;
    }
    
    .btn-play, .btn-copy {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 15px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .games-section,
    .faq-section,
    .info-boxes-section {
        padding: 20px;
    }
    
    .game-card {
        padding: 15px;
    }
}

/* Admin menu no frontend */
.admin-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.btn-admin, .btn-logout {
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-admin {
    background: #3498db;
    color: white;
}

.btn-logout {
    background: #e74c3c;
    color: white;
}

.btn-admin:hover {
    background: #2980b9;
}

.btn-logout:hover {
    background: #c0392b;
}

/* No results */
.no-results {
    text-align: center;
    padding: 50px 20px;
    color: #95a5a6;
}

.no-results i {
    margin-bottom: 20px;
    color: #7f8c8d;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.game-card, .faq-item, .info-box {
    animation: fadeIn 0.5s ease forwards;
}