:root {
    --primary-purple: #8b5cf6 !important;
    --secondary-purple: #a855f7 !important;
    --dark-purple: #6d28d9 !important;
    --accent-purple: #c084fc !important;
    --bg-primary: #0f0f1a !important;
    --bg-secondary: #1a1a2e !important;
    --bg-tertiary: #2a2a3e !important;
    --text-primary: #f8fafc !important;
    --text-secondary: #cbd5e1 !important;
    --text-muted: #94a3b8 !important;
    --border-color: #374151 !important;
    --success-color: #10b981 !important;
    --glow-color: rgba(139, 92, 246, 0.3) !important;
}

.rlc-container {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%) !important;
    color: var(--text-primary) !important;
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif !important;
    border-radius: 20px !important;
    padding: 32px !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(139, 92, 246, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    overflow: hidden !important;
    margin: 24px 0 !important;
    position: relative !important;
}

.rlc-container::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, var(--primary-purple), transparent) !important;
}

.rlc-tabs {
    display: flex !important;
    gap: 4px !important;
    border-bottom: 1px solid var(--border-color) !important;
    margin-bottom: 24px !important;
    padding-bottom: 0 !important;
    position: relative !important;
}

.rlc-tabs::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, var(--primary-purple), transparent) !important;
    opacity: 0.3 !important;
}

.rlc-tab-button {
    padding: 14px 24px !important;
    cursor: pointer !important;
    background: transparent !important;
    border: none !important;
    color: var(--text-secondary) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 12px 12px 0 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.rlc-tab-button::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple)) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.rlc-tab-button:hover::before {
    opacity: 0.1 !important;
}

.rlc-tab-button:hover {
    color: var(--text-primary) !important;
    transform: translateY(-2px) !important;
}

.rlc-tab-button.active {
    color: var(--text-primary) !important;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple)) !important;
    box-shadow: 0 4px 12px var(--glow-color) !important;
}

.rlc-tab-button.active::before {
    opacity: 0 !important;
}

.rlc-tab-content {
    display: none !important;
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.rlc-tab-content.active {
    display: block !important;
}

.rlc-tab-content h3 {
    color: var(--primary-purple) !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    font-weight: 600 !important;
    font-size: 1.5rem !important;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.rlc-date {
    font-size: 0.9em !important;
    color: var(--text-muted) !important;
    margin-bottom: 28px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.rlc-date::before {
    content: '📅' !important;
    font-size: 1.1em !important;
}

.rlc-draw-title {
    color: var(--text-primary) !important;
    margin-top: 32px !important;
    margin-bottom: 16px !important;
    padding: 16px 20px !important;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary)) !important;
    border-left: 4px solid var(--success-color) !important;
    border-radius: 8px !important;
    text-align: center !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    position: relative !important;
    overflow: hidden !important;
}

.rlc-draw-title::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent) !important;
    animation: shimmer 2s infinite !important;
}

.rlc-draw-title:first-of-type {
    margin-top: 16px !important;
}

.rlc-balls-container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-bottom: 32px !important;
    padding: 24px !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(168, 85, 247, 0.05)) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(139, 92, 246, 0.1) !important;
    position: relative !important;
}

.rlc-balls-container::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 16px !important;
    padding: 1px !important;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple)) !important;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
    mask-composite: exclude !important;
    opacity: 0.3 !important;
}

.rlc-lotto-ball {
    width: 52px !important;
    height: 52px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0) !important;
    color: #1e293b !important;
    font-size: 1.2em !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.8), inset 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.rlc-lotto-ball::before {
    content: '' !important;
    position: absolute !important;
    top: 15% !important;
    left: 15% !important;
    width: 30% !important;
    height: 30% !important;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent) !important;
    border-radius: 50% !important;
    filter: blur(2px) !important;
}

.rlc-lotto-ball:hover {
    transform: scale(1.15) rotate(5deg) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-color), inset 0 2px 4px rgba(255, 255, 255, 0.8) !important;
}

.rlc-extra-info {
    margin-top: 24px !important;
    padding: 20px !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(168, 85, 247, 0.08)) !important;
    border-left: 4px solid var(--primary-purple) !important;
    border-radius: 12px !important;
    position: relative !important;
    overflow: hidden !important;
    color: var(--text-secondary) !important;
}

.rlc-extra-info strong {
    color: var(--accent-purple) !important;
    font-weight: 600 !important;
}

.rlc-extra-info::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-purple)) !important;
}

.rlc-awards {
    margin-top: 24px !important;
}

.rlc-awards h4 {
    color: var(--text-primary) !important;
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    margin-bottom: 16px !important;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.rlc-awards ul {
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.rlc-awards li {
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1) !important;
    transition: all 0.3s ease !important;
    color: var(--text-secondary) !important;
}

.rlc-awards li strong {
    color: var(--accent-purple) !important;
    font-weight: 600 !important;
}

.rlc-awards li:hover {
    background: rgba(139, 92, 246, 0.05) !important;
    padding-left: 8px !important;
    border-radius: 8px !important;
}

.rlc-awards li:last-child {
    border-bottom: none !important;
}

.rlc-awards-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 20px 0 !important;
    background: var(--bg-tertiary) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.rlc-awards-table th,
.rlc-awards-table td {
    padding: 16px 20px !important;
    text-align: left !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.rlc-awards-table th {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple)) !important;
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 0.9em !important;
}

.rlc-awards-table tr:hover {
    background: rgba(139, 92, 246, 0.05) !important;
}

.rlc-awards-table tr:last-child td {
    border-bottom: none !important;
}

.rlc-next-contest {
    margin-top: 32px !important;
    padding: 24px !important;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary)) !important;
    border-radius: 16px !important;
    text-align: center !important;
    font-size: 1.1em !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
}

.rlc-next-contest::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg, var(--primary-purple), var(--success-color), var(--primary-purple)) !important;
}

.rlc-next-contest strong {
    display: block !important;
    font-size: 1.6em !important;
    background: linear-gradient(135deg, var(--success-color), #34d399) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-top: 8px !important;
    font-weight: 700 !important;
}

@keyframes slideIn {
    from {
        opacity: 0 !important;
        transform: translateY(20px) !important;
    }
    to {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

@keyframes shimmer {
    0% {
        left: -100% !important;
    }
    100% {
        left: 100% !important;
    }
}

.rlc-compact-container {
    padding: 20px !important;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%) !important;
    border-radius: 16px !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(139, 92, 246, 0.1) !important;
}

.rlc-compact-container .rlc-tabs {
    justify-content: space-around !important;
    border-bottom: 1px solid var(--border-color) !important;
    margin-bottom: 16px !important;
}

.rlc-compact-container .rlc-tab-button {
    padding: 12px 16px !important;
    border-radius: 10px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.rlc-compact-container .rlc-tab-button i {
    font-size: 1.8em !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
}

.rlc-compact-container .rlc-tab-button:hover i {
    transform: scale(1.15) rotate(5deg) !important;
    filter: drop-shadow(0 4px 8px var(--glow-color)) !important;
}

.rlc-compact-container .rlc-tab-button.active i {
    color: var(--text-primary) !important;
    transform: scale(1.1) !important;
}

.rlc-compact-container .rlc-content {
    text-align: center !important;
}

.rlc-compact-container .rlc-lotto-ball {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.95em !important;
    font-weight: 600 !important;
    margin: 3px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.7) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.rlc-compact-container .rlc-lotto-ball:hover {
    transform: scale(1.2) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35), 0 0 12px var(--glow-color) !important;
}

.rlc-compact-container .rlc-balls-container {
    padding: 16px !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.04), rgba(168, 85, 247, 0.04)) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(139, 92, 246, 0.08) !important;
}

.rlc-compact-container .rlc-draw-title {
    margin-top: 20px !important;
    margin-bottom: 12px !important;
    font-size: 1.1em !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    padding: 8px 0 !important;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3) !important;
    text-align: center !important;
}

.rlc-compact-container .rlc-draw-title:first-of-type {
    margin-top: 0 !important;
}

.rlc-compact-container .rlc-next-contest {
    font-size: 0.95em !important;
    padding: 16px !important;
    margin-top: 20px !important;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary)) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(139, 92, 246, 0.15) !important;
    position: relative !important;
}

.rlc-compact-container .rlc-next-contest::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg, var(--primary-purple), var(--success-color)) !important;
    border-radius: 12px 12px 0 0 !important;
}

.rlc-compact-container .rlc-next-contest strong {
    font-size: 1.4em !important;
    background: linear-gradient(135deg, var(--success-color), #34d399) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 700 !important;
}

.rlc-compact-container .rlc-date {
    font-size: 0.85em !important;
    color: var(--text-muted) !important;
    margin-bottom: 16px !important;
}

.rlc-compact-container .rlc-awards {
    margin-top: 16px !important;
}

.rlc-compact-container .rlc-awards h4 {
    font-size: 1.1em !important;
    margin-bottom: 12px !important;
}

.rlc-compact-container .rlc-awards li {
    padding: 8px 0 !important;
    font-size: 0.9em !important;
}

.rlc-compact-container .rlc-extra-info {
    margin-top: 16px !important;
    padding: 12px !important;
    font-size: 0.9em !important;
}

@media (max-width: 480px) {
    .rlc-compact-container {
        padding: 16px !important;
    }

    .rlc-compact-container .rlc-lotto-ball {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9em !important;
    }

    .rlc-compact-container .rlc-tab-button i {
        font-size: 1.6em !important;
    }
}

@media (max-width: 768px) {
    .rlc-container {
        padding: 20px !important;
        margin: 16px 0 !important;
        border-radius: 16px !important;
    }

    .rlc-tabs {
        flex-wrap: wrap !important;
        gap: 2px !important;
    }

    .rlc-tab-button {
        padding: 12px 16px !important;
        font-size: 14px !important;
    }

    .rlc-balls-container {
        gap: 12px !important;
        padding: 20px !important;
    }

    .rlc-lotto-ball {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.1em !important;
    }

    .rlc-awards-table th,
    .rlc-awards-table td {
        padding: 12px 16px !important;
        font-size: 0.9em !important;
    }
}

@media (max-width: 480px) {
    .rlc-container {
        padding: 16px !important;
    }

    .rlc-lotto-ball {
        width: 44px !important;
        height: 44px !important;
        font-size: 1em !important;
    }

    .rlc-balls-container {
        gap: 10px !important;
        padding: 16px !important;
    }
}



/* --- Estilos para a Etiqueta de Jogo no Modo Compacto --- */

.rlc-compact-container .rlc-tab-content {
    position: relative !important;
    padding-top: 20px !important; /* Cria espaço para a etiqueta não sobrepor o conteúdo */
}

.rlc-game-tag {
    position: absolute !important;
    top: -1px !important; /* Alinha com a borda superior do container */
   /* right: 20px !important; /* Distância da borda direita */
    
    background: var(--primary-purple) !important;
    color: var(--text-primary) !important;
    padding: 4px 12px !important;
	margin:0auto;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 8px 8px 8px 8px !important; /* Arredonda cantos inferiores */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    z-index: 5 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Ajusta o padding para o conteúdo começar abaixo da etiqueta */
.rlc-compact-container .rlc-balls-container,
.rlc-compact-container .rlc-draw-title:first-of-type {
    margin-top: 15px !important;
}